/* ===== CSS Custom Properties ===== */
:root {
    --navy-950: #0a0f1e;
    --navy-900: #0d1527;
    --navy-800: #121d36;
    --navy-700: #1a2744;
    --navy-600: #243352;
    --navy-500: #2e4063;
    --gold-500: #c9a84c;
    --gold-400: #d4b760;
    --gold-300: #e0c97a;
    --gold-200: #ebd99a;
    --gold-100: #f5eabb;
    --white: #ffffff;
    --off-white: #f8f7f4;
    --gray-50: #faf9f7;
    --gray-100: #f5f4f1;
    --gray-200: #e8e6e1;
    --gray-300: #d4d2cc;
    --gray-400: #a8a59e;
    --gray-500: #78756e;
    --gray-600: #5c5953;
    --gray-700: #44413c;
    --gray-800: #2e2c28;
    --gray-900: #1a1917;
    
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--gray-800);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

ul {
    list-style: none;
}

/* ===== Loader ===== */
#loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--navy-950);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-icon {
    color: var(--gold-400);
    margin-bottom: var(--space-lg);
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-2xl);
    }
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background var(--transition-base), box-shadow var(--transition-base);
}

.navbar.scrolled {
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(201, 168, 76, 0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-lg) var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.05em;
}

.logo-icon {
    color: var(--gold-400);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
}

.nav-menu a {
    font-size: 0.8125rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-400);
    transition: width var(--transition-base);
}

.nav-menu a:hover {
    color: var(--gold-400);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-cta {
    font-size: 0.8125rem !important;
    font-weight: 500 !important;
    color: var(--navy-950) !important;
    background: var(--gold-400);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-sm);
    letter-spacing: 0.08em;
    transition: background var(--transition-fast), transform var(--transition-fast) !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--gold-300) !important;
    color: var(--navy-950) !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--white);
    transition: var(--transition-base);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

@media (max-width: 767px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--navy-950);
        flex-direction: column;
        justify-content: center;
        gap: var(--space-xl);
        transition: right var(--transition-base);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-menu a {
        font-size: 1rem;
    }
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 15, 30, 0.75) 0%,
        rgba(10, 15, 30, 0.85) 50%,
        rgba(10, 15, 30, 0.92) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: var(--space-4xl) var(--space-xl);
}

.hero-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold-400);
    border: 1px solid rgba(201, 168, 76, 0.4);
    padding: var(--space-sm) var(--space-lg);
    border-radius: 50px;
    margin-bottom: var(--space-xl);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 7vw, 5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
    margin-bottom: var(--space-3xl);
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-400);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: var(--space-xs);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold-400), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 1; height: 40px; }
    50% { opacity: 0.5; height: 25px; }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: var(--space-md) var(--space-2xl);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--gold-400);
    color: var(--navy-950);
    border-color: var(--gold-400);
}

.btn-primary:hover {
    background: var(--gold-300);
    border-color: var(--gold-300);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: var(--gold-400);
    color: var(--gold-400);
}

.btn-outline {
    background: transparent;
    color: var(--navy-950);
    border-color: var(--navy-800);
}

.btn-outline:hover {
    background: var(--navy-800);
    color: var(--white);
}

.btn-large {
    padding: var(--space-lg) var(--space-3xl);
    font-size: 0.875rem;
}

/* ===== Section Styles ===== */
.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.section-tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: var(--space-md);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--navy-900);
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1rem;
    font-weight: 300;
    color: var(--gray-500);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== Services ===== */
.services {
    padding: var(--space-4xl) 0;
    background: var(--gray-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.service-card {
    background: var(--white);
    padding: var(--space-2xl);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.service-card:hover {
    border-color: var(--gold-200);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(10, 15, 30, 0.08);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--navy-900);
    color: var(--gold-400);
    margin-bottom: var(--space-lg);
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: var(--space-sm);
}

.service-description {
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.service-features li {
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--gray-600);
    padding-left: var(--space-lg);
    position: relative;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--gold-400);
    border-radius: 50%;
}

/* ===== About ===== */
.about {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    border: 2px solid var(--gold-200);
    border-radius: var(--radius-md);
    z-index: -1;
}

.about-content {
    padding: var(--space-xl) 0;
}

.about-content .section-tag {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: var(--space-xl);
}

.about-text {
    font-size: 1rem;
    font-weight: 300;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-top: var(--space-2xl);
}

.about-feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.feature-icon {
    width: 20px;
    height: 20px;
    color: var(--gold-500);
    flex-shrink: 0;
}

.about-feature span {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--gray-700);
}

@media (max-width: 767px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .about-image-accent {
        display: none;
    }
    
    .about-content .section-tag,
    .about-content .section-title {
        text-align: center;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
}

/* ===== Gallery ===== */
.gallery {
    padding: var(--space-4xl) 0;
    background: var(--gray-50);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    aspect-ratio: auto;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 15, 30, 0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: var(--space-lg);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
}

@media (max-width: 767px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ===== Testimonials ===== */
.testimonials {
    padding: var(--space-4xl) 0;
    background: var(--navy-900);
}

.testimonials .section-title {
    color: var(--white);
}

.testimonials .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.testimonial-card {
    background: var(--navy-800);
    padding: var(--space-2xl);
    border-radius: var(--radius-md);
    border: 1px solid var(--navy-700);
    transition: border-color var(--transition-base);
}

.testimonial-card:hover {
    border-color: var(--gold-500);
}

.testimonial-quote {
    color: var(--gold-400);
    margin-bottom: var(--space-lg);
    line-height: 1;
}

.testimonial-text {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--white);
}

.author-location {
    font-size: 0.8125rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== CTA ===== */
.cta {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 100%);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content .section-title {
    color: var(--white);
    margin-bottom: var(--space-lg);
}

.cta-text {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: var(--space-2xl);
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

/* ===== Location ===== */
.location {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: start;
}

.location-info .section-tag {
    text-align: left;
}

.location-info .section-title {
    text-align: left;
    margin-bottom: var(--space-2xl);
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.location-item {
    display: flex;
    gap: var(--space-lg);
}

.location-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--navy-900);
    color: var(--gold-400);
    flex-shrink: 0;
}

.location-item strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--navy-900);
    margin-bottom: var(--space-xs);
}

.location-item p {
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--gray-500);
    line-height: 1.6;
}

.location-item a {
    color: var(--gold-500);
    transition: color var(--transition-fast);
}

.location-item a:hover {
    color: var(--gold-400);
}

.location-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 400px;
    box-shadow: 0 10px 30px rgba(10, 15, 30, 0.1);
}

@media (max-width: 767px) {
    .location-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .location-info .section-tag,
    .location-info .section-title {
        text-align: center;
    }
}

/* ===== Footer ===== */
.footer {
    background: var(--navy-950);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid var(--navy-800);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.05em;
    margin-bottom: var(--space-lg);
}

.footer-tagline {
    font-size: 0.9375rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-400);
    margin-bottom: var(--space-lg);
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-links a {
    font-size: 0.9375rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold-400);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: 0.875rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--gold-400);
}

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

.footer-contact a:hover {
    color: var(--gold-400);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-xl);
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-bottom p {
    font-size: 0.8125rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 767px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== Scroll Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ===== Responsive Utilities ===== */
@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
    }
}
