* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
}

.text-balance {
    text-wrap: balance;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1A1C1F;
}

::-webkit-scrollbar-thumb {
    background: #B08C4F;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9A7840;
}

/* Animation utilities */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Form validation styles */
input.invalid,
textarea.invalid,
select.invalid {
    border-color: #EF4444 !important;
}

.error-message {
    display: none;
    font-size: 0.875rem;
    color: #EF4444;
    margin-top: 0.25rem;
}

.error-message.visible {
    display: block;
}

/* Checkbox custom styles */
input[type="checkbox"] {
    accent-color: #B08C4F;
    cursor: pointer;
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #B08C4F;
    outline-offset: 2px;
}

/* Smooth transitions */
a,
button,
input,
textarea,
select {
    transition: all 0.3s ease;
}

/* Mobile menu animation */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobileMenu.active {
    max-height: 500px;
}

/* Cookie banner animation */
#cookieBanner {
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

#cookieBanner.show {
    transform: translateY(0);
}

/* Accordion styles */
.accordion-btn svg {
    transition: transform 0.3s ease;
}

.accordion-btn.active svg {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content.active {
    max-height: 500px;
}

/* Card hover effects */
.hover\:shadow-\[#B08C4F\]\/20:hover {
    box-shadow: 0 20px 25px -5px rgba(176, 140, 79, 0.2), 0 10px 10px -5px rgba(176, 140, 79, 0.1);
}

/* Image loading placeholder */
img {
    background: #2A2D31;
}

/* Responsive typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
}

/* Print styles */
@media print {
    header,
    footer,
    #cookieBanner {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
