Kontakt – Dworek Fantazja
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: ‘Georgia’, serif;
background-color: #f5f2f0;
color: #2d1b14;
line-height: 1.6;
padding-top: 0 !important; /* Reset dla WordPress */
}
/* Reset dla nagłówka WordPress */
body.admin-bar .navbar {
top: 32px; /* Dla admin bar */
}
@media screen and (max-width: 782px) {
body.admin-bar .navbar {
top: 46px;
}
}
.navbar {
background-color: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
padding: 15px 0;
position: fixed;
width: 100%;
top: 0;
z-index: 1000;
box-shadow: 0 2px 20px rgba(0,0,0,0.1);
border-bottom: 1px solid #eaeaea;
}
.nav-container {
max-width: 1200px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 20px;
}
.logo-container {
height: 60px;
display: flex;
align-items: center;
}
.logo-image {
height: 100%;
max-width: 200px;
object-fit: contain;
}
.nav-links {
display: flex;
list-style: none;
gap: 30px;
}
.nav-links a {
text-decoration: none;
color: #2d1b14;
font-weight: 500;
transition: color 0.3s ease;
font-size: 16px;
}
.nav-links a:hover {
color: #d4a574;
}
/* Naprawiony baner – bez fixed background dla WordPress */
.header-container {
width: 100%;
position: relative;
margin-top: 80px; /* Odstęp od navbar */
}
.header-image {
width: 100%;
height: 400px;
overflow: hidden;
position: relative;
}
.header-image img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.header-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4));
display: flex;
align-items: center;
justify-content: center;
text-align: center;
color: white;
}
.header-overlay h1 {
font-size: 48px;
margin-bottom: 20px;
text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
/* Styl dla wp-content w WordPress */
.wp-block-image,
.wp-block-cover,
.wp-site-blocks > .wp-block-group:first-child,
.wp-site-blocks > .wp-block-cover:first-child {
display: none !important; /* Ukrywa duplikujące się elementy WordPress */
}
/* Ukrywanie nagłówka WordPress jeśli istnieje */
header.wp-block-template-part,
header.site-header,
.wp-block-template-part.site-header {
display: none !important;
}
.contact-container {
max-width: 1200px;
margin: 0 auto;
padding: 80px 20px;
}
.contact-intro {
text-align: center;
margin-bottom: 60px;
}
.contact-intro h2 {
color: #d4a574;
font-size: 36px;
margin-bottom: 20px;
}
.contact-intro p {
font-size: 18px;
color: #666;
max-width: 600px;
margin: 0 auto;
}
.contact-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 60px;
margin-bottom: 60px;
}
.contact-info {
background: white;
padding: 50px;
border-radius: 20px;
box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.contact-info h3 {
color: #d4a574;
font-size: 28px;
margin-bottom: 30px;
}
.contact-item {
display: flex;
align-items: center;
margin-bottom: 25px;
padding: 20px;
background: #f8f5f2;
border-radius: 15px;
transition: all 0.3s ease;
}
.contact-item:hover {
background: #d4a574;
color: #2d1b14;
transform: translateX(10px);
}
.contact-icon {
width: 50px;
height: 50px;
background: #d4a574;
color: #2d1b14;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-right: 20px;
font-size: 20px;
transition: all 0.3s ease;
}
.contact-item:hover .contact-icon {
background: white;
color: #d4a574;
}
.contact-details h4 {
font-size: 18px;
margin-bottom: 5px;
}
.contact-details p {
color: #666;
font-size: 16px;
transition: color 0.3s ease;
}
.contact-item:hover .contact-details p {
color: white;
}
/* Kontener na formularz Forminator */
.forminator-container {
background: white;
padding: 50px;
border-radius: 20px;
box-shadow: 0 15px 35px rgba(0,0,0,0.1);
min-height: 700px;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
.forminator-placeholder {
text-align: center;
color: #d4a574;
font-size: 24px;
margin-bottom: 30px;
font-style: italic;
}
.forminator-instructions {
color: #666;
font-size: 16px;
text-align: center;
max-width: 500px;
margin: 0 auto;
line-height: 1.8;
}
.forminator-instructions code {
background: #f8f5f2;
padding: 2px 6px;
border-radius: 4px;
font-family: monospace;
color: #2d1b14;
}
.map-section {
background: white;
padding: 50px;
border-radius: 20px;
box-shadow: 0 15px 35px rgba(0,0,0,0.1);
text-align: center;
}
.map-section h3 {
color: #d4a574;
font-size: 28px;
margin-bottom: 30px;
}
.map-container {
width: 100%;
height: 400px;
border-radius: 15px;
overflow: hidden;
box-shadow: 0 10px 25px rgba(0,0,0,0.1);
margin-bottom: 20px;
}
.map-container iframe {
width: 100%;
height: 100%;
border: none;
}
.opening-hours {
background: #d4a574;
color: #2d1b14;
padding: 40px;
border-radius: 15px;
margin-top: 30px;
}
.opening-hours h4 {
font-size: 24px;
margin-bottom: 20px;
text-align: center;
}
.hours-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
}
.hours-item {
text-align: center;
padding: 15px;
background: rgba(255,255,255,0.1);
border-radius: 10px;
}
.hours-item strong {
display: block;
margin-bottom: 5px;
}
.footer {
background-color: #2d1b14;
color: #f5f2f0;
text-align: center;
padding: 40px 20px;
margin-top: 60px;
}
.footer-logo {
font-size: 24px;
color: #d4a574;
margin-bottom: 20px;
font-weight: bold;
}
@media (max-width: 768px) {
.header-overlay h1 {
font-size: 36px;
}
.header-image {
height: 300px;
}
.contact-grid {
grid-template-columns: 1fr;
gap: 40px;
}
.contact-info,
.forminator-container {
padding: 30px 20px;
}
.contact-intro h2 {
font-size: 28px;
}
.hours-grid {
grid-template-columns: 1fr;
}
.nav-links {
gap: 15px;
}
.logo-container {
height: 50px;
}
.forminator-container {
min-height: 500px;
}
.header-container {
margin-top: 60px;
}
}
@media (max-width: 480px) {
.header-image {
height: 250px;
}
.nav-links {
gap: 10px;
}
.nav-links a {
font-size: 14px;
}
.forminator-container {
min-height: 400px;
padding: 20px 15px;
}
.contact-info {
padding: 20px 15px;
}
.map-container {
height: 300px;
}
}
<!–

–>