/* Main variables */
:root {
    /* Colors */
    --primary: #4CAF50;
    --primary-light: #E8F5E9;
    --primary-dark: #2E7D32;
    --accent: #FF9800;
    --background: #ffffff;
    --background-alt: #f8f9fa;
    --text: #333333;
    --text-light: #666666;
    --border: #e0e0e0;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;

    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Mulish', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header styles */
.header {
    background-color: var(--background);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text);
    cursor: pointer;
}

.nav-menu {
    display: flex;
    gap: var(--space-lg);
}

.nav-link {
    color: var(--text);
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}

/* Contact page styles */
.contact-page {
    background-color: var(--background-alt);
    min-height: 60vh;
    position: relative;
    overflow: hidden;
    padding: var(--space-xl) 0;
}

.contact-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.05;
    background: radial-gradient(circle at 30% 40%,
            var(--primary) 0%,
            transparent 40%),
        radial-gradient(circle at 70% 60%, var(--accent) 0%, transparent 40%);
}

/* Section title */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    text-align: center;
    color: var(--text);
    position: relative;
}

.text-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-xl);
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-light);
}

/* Contact container */
.contact-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    padding: var(--space-xl) 0;
}

/* Contact info section */
.contact-info {
    padding: var(--space-lg);
    background-color: var(--background);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: var(--space-lg);
    color: var(--text);
}

.map-container {
    width: 100%;
    height: 300px;
    margin-bottom: var(--space-lg);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Contact methods */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-md);
}

.contact-method-icon {
    background-color: var(--primary-light);
    color: var(--primary-dark);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--space-md);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-method-info h3 {
    margin-bottom: var(--space-xs);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
}

.contact-method-info p {
    margin-bottom: 0;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.4;
}

/* Contact form section */
.contact-form-container {
    background-color: var(--background);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--space-lg);
    position: relative;
    overflow: hidden;
}

.contact-form-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    z-index: 0;
    background: url('https://images.unsplash.com/photo-1562690868-60bbe7293e94?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1000&q=80') center/cover no-repeat;
}

.contact-form {
    position: relative;
    z-index: 1;
}

.contact-form h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: var(--space-lg);
    color: var(--text);
}

/* Form elements */
.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-md);
    font-family: 'Mulish', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.1);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.form-checkbox input {
    margin-top: 0.2rem;
}

.form-checkbox label {
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-light);
}

.form-checkbox a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.form-checkbox a:hover {
    text-decoration: underline;
}

/* Button styles */
.btn {
    display: inline-block;
    padding: 1rem 1.5rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-family: 'Mulish', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
}

.btn i {
    margin-right: 0.5rem;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-outline {
    background-color: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--text);
    transform: translateY(-2px);
}

/* FAQ Section */
.faq-section {
    padding: var(--space-xl) 0;
    background-color: var(--background);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: var(--space-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: var(--space-md);
    background-color: var(--background);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-icon {
    font-size: 1.25rem;
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: var(--background-alt);
}

.faq-item.active .faq-answer {
    padding: var(--space-md);
    max-height: 500px;
}

/* Footer styles */
.footer {
    background-color: #2c3e50;
    color: white;
    padding-top: var(--space-xl);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    padding-bottom: var(--space-xl);
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-sm);
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.social-link:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.footer-links h3 {
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
    color: white;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    padding: var(--space-md) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-methods img {
    height: 30px;
}

/* Cookies popup */
.cookies-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--background);
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    padding: var(--space-md) 0;
    transform: translateY(100%);
    transition: transform 0.5s ease;
    z-index: 1000;
}

.cookies-popup.active {
    transform: translateY(0);
}

.cookies-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
}

.cookies-text {
    flex: 1;
}

.cookies-buttons {
    display: flex;
    gap: var(--space-sm);
}

/* Animation */
.animated-element {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animated-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive styles */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg);
    }

    .footer-info {
        grid-column: span 2;
    }

    .contact-container {
        gap: var(--space-lg);
        padding: var(--space-lg) 0;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .contact-info,
    .contact-form-container {
        padding: var(--space-md);
    }
}

@media (max-width: 768px) {

    /* Header mobile styles */
    .nav-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background-color: var(--background);
        box-shadow: var(--shadow-lg);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 200;
    }

    .nav.active {
        transform: translateX(0);
    }

    .nav-menu {
        flex-direction: column;
        padding: var(--space-xl) var(--space-lg);
        gap: var(--space-lg);
    }

    .nav-link {
        display: block;
        font-size: 1.2rem;
    }

    /* General adjustments */
    .contact-page {
        padding: var(--space-md) 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: var(--space-md);
    }

    .text-center {
        margin-bottom: var(--space-lg);
        font-size: 1rem;
    }

    /* Container adjustments */
    .contact-container {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        padding: var(--space-md) 0;
    }

    .contact-info,
    .contact-form-container {
        padding: var(--space-md);
    }

    .contact-info h2,
    .contact-form h2 {
        font-size: 1.6rem;
        margin-bottom: var(--space-md);
    }

    /* Map adjustments */
    .map-container {
        height: 250px;
        margin-bottom: var(--space-md);
    }

    /* Contact method adjustments */
    .contact-method {
        margin-bottom: var(--space-md);
    }

    .contact-methods {
        gap: var(--space-sm);
    }

    /* Cookies popup */
    .cookies-container {
        flex-direction: column;
        text-align: center;
    }

    .cookies-buttons {
        width: 100%;
        justify-content: center;
    }

    /* Footer adjustments */
    .footer-container {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .footer-info {
        grid-column: span 1;
    }

    .copyright {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
}

@media (max-width: 480px) {

    /* Fine-tuning for smaller screens */
    .section-title {
        font-size: 1.8rem;
    }

    .text-center {
        font-size: 0.95rem;
    }

    .contact-info,
    .contact-form-container {
        padding: var(--space-sm);
    }

    .contact-info h2,
    .contact-form h2 {
        font-size: 1.4rem;
        margin-bottom: var(--space-md);
    }

    /* Contact method icons */
    .contact-method-icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.2rem;
        margin-right: var(--space-sm);
    }

    .contact-method-info h3 {
        font-size: 1rem;
    }

    .contact-method-info p {
        font-size: 0.9rem;
    }

    /* Map size */
    .map-container {
        height: 200px;
        margin-bottom: var(--space-sm);
    }

    /* Form elements */
    .form-group {
        margin-bottom: var(--space-sm);
    }

    .form-label {
        font-size: 0.95rem;
    }

    .form-input,
    .form-textarea,
    .form-select {
        padding: 0.8rem;
        font-size: 0.95rem;
    }

    .form-textarea {
        min-height: 120px;
    }

    .form-checkbox label {
        font-size: 0.8rem;
    }

    /* Button */
    .btn {
        width: 100%;
        padding: 0.9rem;
    }

    /* FAQ items */
    .faq-question {
        padding: var(--space-sm);
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-item.active .faq-answer {
        padding: var(--space-sm);
    }
}