/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Honeypot field (visually hidden to humans, visible to naive bots) */
.hp-field {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

h1, h2, h3 {
    font-weight: 600;
    color: #7a0e0e;
}

p {
    margin-bottom: 1rem;
}

.section {
    padding: 60px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero section */
#hero {
    position: relative;
    height: 80vh;
    background: url('../images/hero.png') center/cover no-repeat;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

#hero .hero-content {
    position: relative;
    z-index: 1;
}

#hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

#hero p {
    font-size: 1.25rem;
}

.nav-menu {
    margin-top: 20px;
}

.nav-menu a {
    color: #ffffff;
    margin: 0 15px;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.nav-menu a:hover {
    opacity: 0.8;
}

/* About section */
.about-section {
    background-color: #fef9f9;
}

/* Services section */
.services-section {
    background-color: #ffffff;
}

.services-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.service-card {
    flex: 1 1 300px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.service-card h3 {
    margin-bottom: 10px;
}

.service-card ul {
    list-style: disc;
    padding-left: 20px;
}

.service-card li {
    margin-bottom: 5px;
}

.service-card .mt {
    margin-top: 20px;
}

/* Visual image section */
.image-section img {
    width: 100%;
    height: auto;
    display: block;
}

/* Location section */
.location-section h2 {
    text-align: center;
    margin-bottom: 20px;
}

.map-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-top: 20px;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Contact section */
.contact-section h2 {
    text-align: center;
    margin-bottom: 20px;
}

.contact-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.contact-form {
    flex: 1 1 350px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
}

.contact-form button {
    background-color: #7a0e0e;
    color: #ffffff;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #a10f0f;
}

.contact-details {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
}

.contact-item .icon {
    font-size: 32px;
    color: #7a0e0e;
}

.contact-item a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #7a0e0e;
}

/* Footer */
.footer {
    background-color: #7a0e0e;
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
}

/* Legal consent under contact form */
.legal-consent {
    font-size: 12px;
    color: #555;
}
.legal-consent label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.legal-consent .legal-note {
    margin-top: 8px;
    color: #777;
}
.legal-consent a {
    color: #7a0e0e;
    text-decoration: underline;
}

/* Notices (success/error) */
.notice {
    margin: 16px 0;
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 5px solid;
}
.notice.success {
    background: #e9f7ef;
    color: #1e6b3e;
    border-color: #1e6b3e;
}
.notice.error {
    background: #fdecea;
    color: #8a1f1f;
    border-color: #8a1f1f;
}

/* Simple header for legal pages */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
}
.site-header .brand {
    font-weight: 700;
    font-size: 18px;
    color: #7a0e0e;
    text-decoration: none;
}
.site-header .header-nav a {
    color: #333;
    text-decoration: none;
    margin-left: 16px;
    font-weight: 600;
}
.site-header .header-nav a:hover {
    color: #7a0e0e;
}

/* Cookie banner */
#cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    background: #2e2e2e;
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    padding: 16px;
}
#cookie-banner .banner-content {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}
#cookie-banner p {
    margin: 0;
    max-width: 800px;
}
#cookie-banner a {
    color: #fff;
    text-decoration: underline;
}
#cookie-banner .buttons {
    display: flex;
    gap: 8px;
}
#cookie-banner .btn {
    border: none;
    border-radius: 6px;
    padding: 10px 14px;
    font-weight: 600;
    cursor: pointer;
}
#cookie-banner .btn-primary {
    background: #7a0e0e;
    color: #fff;
}
#cookie-banner .btn-secondary {
    background: #4a4a4a;
    color: #fff;
}

/* Cookie settings modal */
.cookie-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    display: none;
}
.cookie-modal {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    color: #333;
    width: min(640px, 92vw);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 9999;
    display: none;
}
.cookie-modal header {
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}
.cookie-modal .content {
    padding: 16px 20px;
}
.cookie-modal .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
}
.cookie-modal .row .label {
    font-weight: 600;
}
.cookie-modal .actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 20px;
    border-top: 1px solid #eee;
}
.cookie-toggle {
    appearance: none;
    width: 42px;
    height: 24px;
    border-radius: 999px;
    background: #ccc;
    position: relative;
    outline: none;
    cursor: pointer;
}
.cookie-toggle::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    top: 3px;
    left: 3px;
    transition: left 0.2s ease, background 0.2s ease;
}
.cookie-toggle:checked {
    background: #7a0e0e;
}
.cookie-toggle:checked::after {
    left: 21px;
    background: #fff;
}

@media (max-width: 768px) {
    #cookie-banner .banner-content {
        flex-direction: column;
        align-items: flex-start;
    }
    #cookie-banner .buttons {
        width: 100%;
        justify-content: flex-start;
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .services-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    #hero {
        height: 70vh;
    }
    #hero h1 {
        font-size: 2.5rem;
    }
    #hero p {
        font-size: 1rem;
    }
    .nav-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav-menu a {
        margin: 10px;
    }
    .services-grid {
        flex-direction: column;
    }
    .contact-flex {
        flex-direction: column;
    }
    .contact-form, .contact-details {
        flex: 1 1 100%;
    }
    .contact-details {
        align-items: flex-start;
    }
}