/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');

/* Bootstrap Icons */
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===========================================
   COMMON ANIMATIONS
   =========================================== */

/* Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Page Load Animations */
.animate-fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.animate-fade-in.delay-1 { animation-delay: 0.15s; }
.animate-fade-in.delay-2 { animation-delay: 0.3s; }
.animate-fade-in.delay-3 { animation-delay: 0.45s; }
.animate-fade-in.delay-4 { animation-delay: 0.6s; }
.animate-fade-in.delay-5 { animation-delay: 0.75s; }

/* Scroll-triggered Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.75s cubic-bezier(0.25, 0.1, 0.25, 1), 
                transform 0.75s cubic-bezier(0.25, 0.1, 0.25, 1);
    will-change: opacity, transform;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
    will-change: auto;
}

/* Staggered children animations */
.animate-on-scroll.visible > *:nth-child(1) { transition-delay: 0.05s; }
.animate-on-scroll.visible > *:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll.visible > *:nth-child(3) { transition-delay: 0.15s; }
.animate-on-scroll.visible > *:nth-child(4) { transition-delay: 0.2s; }
.animate-on-scroll.visible > *:nth-child(5) { transition-delay: 0.25s; }
.animate-on-scroll.visible > *:nth-child(6) { transition-delay: 0.3s; }

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .animate-fade-in,
    .animate-on-scroll {
        animation: none;
        transition: none;
        opacity: 1;
        transform: none;
    }
}

html {
    font-size: 16px;
    background-color: #f4f1ed;
}

body {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #e8e6e3;
    background-color: transparent;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #f5f3f0;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* Responsive Typography */
@media screen and (max-width: 768px) {
    html {
        font-size: 14px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.75rem;
    }
}

@media screen and (max-width: 480px) {
    html {
        font-size: 13px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }
}

/* Buttons */
button, .btn {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #d4af37 0%, #c9a961 100%);
    color: #1c1e26;
    border: none;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e5c158 0%, #d4af37 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}



/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    height: 10vh;
    position: sticky;
    top: 0;
    z-index: 100000;
    background: linear-gradient(180deg, rgba(26, 29, 40, 0.98) 0%, rgba(26, 29, 40, 0.95) 100%);
    backdrop-filter: blur(10px);
    box-shadow: none;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #e8e6e3;
    position: relative;
    font-size: 1.15rem;
    font-weight: 300;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.nav-menu a:hover {
    color: #d4af37;
    transform: translateY(-1px);
}

.navbar .icon {
    display: none;
}

.navbar button.icon {
    position: relative;
    z-index: 100001;
}



.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(180deg, rgba(26, 29, 40, 0.98) 0%, rgba(26, 29, 40, 0.95) 100%);
    backdrop-filter: blur(10px);
    transition: right 0.3s ease;
    z-index: 99990;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.4);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 2rem;
}

.mobile-menu a {
    text-decoration: none;
    color: #e8e6e3;
    font-size: 1.5rem;
    font-weight: 300;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.mobile-menu a:hover {
    color: #d4af37;
}

@media screen and (min-width: 993px) {
    .mobile-menu {
        display: none;
    }
}

@media screen and (max-width: 992px) {
    .nav-menu a {
        display: none;
    }

    .navbar button.icon {
        display: block;
    }
}

/* Footer */
.footer {
    background: linear-gradient(180deg, rgba(26, 29, 40, 0.98) 0%, rgba(26, 29, 40, 1) 100%);
    padding: 3rem 2rem 1.5rem;
    margin-top: 4rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column h4 {
    color: #d4af37;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 400;
}

.footer-column p {
    color: #a8a5a0;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.footer-column p a {
    color: #a8a5a0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column p a:hover {
    color: #d4af37;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul a {
    color: #a8a5a0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-column ul a:hover {
    color: #d4af37;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(168, 165, 160, 0.2);
}

.footer-bottom p {
    color: #a8a5a0;
    font-size: 0.85rem;
    margin: 0;
}

.footer-legal {
    margin-top: 0.5rem !important;
}

.footer-legal a {
    color: #6a6a6a;
    text-decoration: none;
    font-size: 0.8rem;
}

.footer-legal a:hover {
    color: #d4af37;
}

@media screen and (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column {
        margin-bottom: 1.5rem;
    }
}

/* ===========================================
   PAGE HEADER (shared across inner pages)
   =========================================== */

.page-header {
    background: #f4f1ed;
    padding: 6rem 2rem 4rem;
    text-align: center;
    border-bottom: 3px solid #d4af37;
}

.page-header h1 {
    color: #2d2d2d;
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: #5a5a5a;
    font-size: 1.25rem;
    margin: 0;
}

@media screen and (max-width: 480px) {
    .page-header {
        padding: 5rem 1.5rem 3rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1d28;
    border-top: 1px solid #d4af37;
    padding: 1rem 2rem;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-content p {
    color: #a8a5a0;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

.cookie-link {
    color: #d4af37;
    text-decoration: none;
    font-size: 0.9rem;
}

.cookie-link:hover {
    text-decoration: underline;
}

.cookie-accept {
    background: #d4af37;
    color: #1a1d28;
    border: none;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cookie-accept:hover {
    background: #c9a432;
}

@media screen and (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}