/* index.css - Version 2.0 (Creative Redesign) */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap');

:root {
    /* New Color Palette */
    --color-primary: #0F172A;
    /* Deep Midnight Blue */
    --color-accent: #C6A75E;
    /* Warm Champagne Gold */
    --color-bg: #FAFAF9;
    /* Off-White */
    --color-text: #1E293B;
    /* Anthracite */
    --color-white: #FFFFFF;

    /* Gradients & Shadows for Premium Feel */
    --gradient-primary: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    --gradient-accent: linear-gradient(135deg, #C6A75E 0%, #E3C886 100%);
    --shadow-soft: 0 10px 30px -10px rgba(15, 23, 42, 0.1);
    --shadow-hover: 0 20px 40px -10px rgba(15, 23, 42, 0.2);

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;

    /* Spacing & Layout */
    --container-max-width: 1400px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 5rem;
    --spacing-xl: 8rem;

    /* Styling */
    --border-radius: 0px;
    /* Sharp, modern edges */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Smooth Scroll */
html {
    scroll-behavior: smooth;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Typography Enhancements */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 600;
    line-height: 1.1;
}

h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.01em;
    margin-bottom: 2rem;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Buttons - Cooler & Premium - Redesigned */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.15rem 3.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-radius: 5px;
    /* Sleek rectangle with slightly soft edges */
    text-decoration: none;
    border: 1px solid transparent;
}

/* Base Primary Button */
.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(120deg, var(--color-primary) 0%, #1e293b 100%);
    z-index: -2;
}

/* Subtle inner glow / border effect using pseudo element */
.btn-primary::after {
    content: '';
    position: absolute;
    inset: 1px;
    /* 1px border */
    border-radius: 4px;
    /* match inner slightly smaller */
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: -1;
    pointer-events: none;
}

/* Primary Button Hover */
.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.4);
    letter-spacing: 0.2em;
    color: var(--color-accent);
}

.btn-primary:hover::after {
    background: linear-gradient(to bottom right, rgba(198, 167, 94, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
}

.btn-primary:active {
    transform: translateY(1px);
    box-shadow: 0 5px 15px rgba(15, 23, 42, 0.3);
}

/* Base Accent Button */
.btn-accent {
    background: var(--color-accent);
    color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(198, 167, 94, 0.3);
}

.btn-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(120deg, var(--color-accent) 0%, #e3c886 100%);
    z-index: -2;
}

/* Subtle inner glow / border effect */
.btn-accent::after {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: 4px;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: -1;
    pointer-events: none;
}

/* Accent Button Hover */
.btn-accent:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px -5px rgba(198, 167, 94, 0.6);
    letter-spacing: 0.2em;
    color: var(--color-primary);
}

.btn-accent:hover::after {
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 100%);
}

.btn-accent:active {
    transform: translateY(1px);
    box-shadow: 0 5px 15px rgba(198, 167, 94, 0.4);
}

/* Outline Button */
.btn-outline {
    background: transparent;
    border: 1px solid rgba(198, 167, 94, 0.5);
    color: var(--color-accent);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    border-color: var(--color-accent);
    box-shadow: inset 0 0 0 1px var(--color-accent), 0 10px 25px rgba(198, 167, 94, 0.15);
    transform: translateY(-3px);
    letter-spacing: 0.2em;
    background: rgba(198, 167, 94, 0.05);
}

/* Modern Creative Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
}

/* Glassmorphism Solid State on Scroll */
.site-header.scrolled {
    background: rgba(250, 250, 249, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    padding: 1rem 0;
}

/* Specific logic for dark heroes */
.site-header.dark-mode {
    color: var(--color-white);
}

.site-header.dark-mode .nav-link,
.site-header.dark-mode .logo {
    color: var(--color-white);
}

.site-header.dark-mode .nav-link::before {
    background-color: var(--color-accent);
}

/* Revert to dark text when scrolled */
.site-header.scrolled.dark-mode .nav-link,
.site-header.scrolled.dark-mode .logo {
    color: var(--color-primary);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    display: flex;
    flex-direction: column;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 1001;
}

.logo span {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    color: var(--color-accent);
    margin-top: 0.4rem;
}

/* Nav */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 3rem;
}

.nav-link {
    color: var(--color-primary);
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

/* Creative hover state: Small gold dot appears */
.nav-link::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--color-accent);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: var(--transition);
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 1;
    transform: scale(1);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-accent) !important;
}

/* Mobile Menu Toggle - Creative Cross */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--color-accent);
    /* Make it accent color always */
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.mobile-menu-btn span:nth-child(1) {
    top: 0px;
}

.mobile-menu-btn span:nth-child(2) {
    top: 10px;
    width: 70%;
    right: 0;
    left: auto;
}

.mobile-menu-btn span:nth-child(3) {
    top: 20px;
}

.mobile-menu-btn.open span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
}

.mobile-menu-btn.open span:nth-child(2) {
    opacity: 0;
    right: -60px;
}

.mobile-menu-btn.open span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
}

/* Layout Utilities */
section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-bg-light {
    background-color: var(--color-white);
}

.section-bg-dark {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.section-bg-dark h2,
.section-bg-dark h3,
.section-bg-dark p {
    color: var(--color-white);
}

.section-subtitle {
    color: var(--color-accent);
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* Decorative line next to subtitles */
.section-subtitle::before {
    content: '';
    width: 40px;
    height: 1px;
    background-color: var(--color-accent);
}

/* Creative Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal.delay-1 {
    transition-delay: 0.2s;
}

.reveal.delay-2 {
    transition-delay: 0.4s;
}

/* Footer - Fixing hover issue */
.site-footer {
    background-color: var(--color-primary);
    color: rgba(255, 255, 255, 0.6);
    padding: var(--spacing-xl) 0 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.footer-col h4 {
    color: var(--color-accent);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
    font-family: var(--font-body);
}

/* Here is the fix for the footer logo */
.site-footer .logo {
    color: var(--color-white);
    /* Ensure it's white to contrast deep blue/black */
    margin-bottom: 1.5rem;
}

.site-footer .logo:hover {
    color: var(--color-accent);
    /* Turns gold on hover instead of black */
}

.footer-nav {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 1rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--color-accent);
    padding-left: 8px;
    /* Cool hover slide effect */
}

.footer-contact p {
    margin-bottom: 1rem;
    font-weight: 300;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
}

/* Form Styles Global */
.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-control {
    width: 100%;
    padding: 1rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(30, 41, 59, 0.2);
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--color-text);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-bottom-color: var(--color-accent);
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 0;
    font-size: 1.1rem;
    color: rgba(30, 41, 59, 0.5);
    transition: var(--transition);
    pointer-events: none;
}

.form-control:focus~label,
.form-control:valid~label {
    top: -10px;
    font-size: 0.85rem;
    color: var(--color-accent);
}

/* Media Queries */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    h1 {
        font-size: clamp(2.5rem, 5vw, 4rem);
    }

    h2 {
        font-size: clamp(2rem, 4vw, 3rem);
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--color-primary);
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
    }

    .main-nav.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }

    .nav-link {
        color: var(--color-white) !important;
        font-size: 1.5rem;
    }

    .nav-link:hover {
        color: var(--color-accent) !important;
    }

    section {
        padding: var(--spacing-lg) 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: clamp(2rem, 4vw, 2.5rem);
    }

    h2 {
        font-size: clamp(1.75rem, 3.5vw, 2rem);
    }

    .btn {
        width: 100%;
        /* Full width buttons on mobile */
        padding: 1rem 2rem;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    section {
        padding: 3rem 0;
    }
}