/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Custom Properties ── */
:root {
    --navy-900: #0a1628;
    --navy-800: #0f1f3d;
    --gold-500: #c9a84c;
    --gold-400: #d4af5a;
    --gold-600: #b8922e;
}

/* ── Navigation ── */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}
#navbar.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(10,22,40,0.08);
}
.nav-logo-text { transition: color 0.4s ease; }
.nav-logo-sub { transition: color 0.4s ease; }
#navbar.scrolled .nav-logo-text { color: #0a1628; }
#navbar.scrolled .nav-logo-sub { color: #6b7280; }
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-500);
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* ── Mobile Menu ── */
#mobile-menu.open { max-height: 400px; }
#menu-btn.open .menu-line:nth-child(1) { transform: rotate(45deg); top: 17px; }
#menu-btn.open .menu-line:nth-child(2) { transform: rotate(-45deg); top: 17px; }

/* ── Hero ── */
.hero-gradient {
    background: linear-gradient(135deg, #0a1628 0%, #0f1f3d 35%, #1a3a5c 60%, #0f1f3d 85%, #060f1d 100%);
}
.hero-orb-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(201,168,76,0.3) 0%, transparent 70%);
    top: -10%; right: -10%;
}
.hero-orb-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(26,58,92,0.5) 0%, transparent 70%);
    bottom: 5%; left: -5%;
}
.hero-orb-3 {
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(201,168,76,0.2) 0%, transparent 70%);
    top: 40%; left: 20%;
}
.hero-title { opacity: 0; transform: translateY(30px); animation: heroIn 0.8s 0.3s ease forwards; }
.hero-subtitle { opacity: 0; transform: translateY(20px); animation: heroIn 0.8s 0.5s ease forwards; }
.hero-badge { opacity: 0; animation: heroIn 0.8s 0.1s ease forwards; }
.hero-ctas { opacity: 0; transform: translateY(20px); animation: heroIn 0.8s 0.7s ease forwards; }
.hero-scroll { opacity: 0; animation: heroIn 0.8s 1s ease forwards; }
@keyframes heroIn {
    to { opacity: 1; transform: translateY(0); }
}

/* ── CTA Buttons ── */
.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gold-500);
    color: #0a1628;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 16px 32px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.cta-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.cta-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(201,168,76,0.35); }
.cta-primary:hover::before { opacity: 1; }
.cta-arrow { transition: transform 0.3s ease; }
.cta-primary:hover .cta-arrow { transform: translateX(4px); }

.cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 16px 32px;
    border-radius: 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}
.cta-secondary:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.35); transform: translateY(-2px); }

/* ── CTA Section Specific ── */
.cta-gradient { background: linear-gradient(135deg, #0a1628 0%, #1a3a5c 50%, #0a1628 100%); }
.cta-cta-primary { background: var(--gold-500); }
.cta-cta-secondary { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); }
.cta-cta-secondary:hover { background: rgba(255,255,255,0.15); }

/* ── Section Common ── */
.section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 16px;
}
.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: #0a1628;
    line-height: 1.15;
    margin-bottom: 20px;
}
.section-desc {
    font-size: 1.05rem;
    color: #6b7280;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}
.section-header { margin-bottom: 0; }

/* ── Services Grid ── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    padding: 36px 28px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(10,22,40,0.1); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, #f8f7f4 0%, #f1f0ec 100%);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold-500);
    margin-bottom: 20px;
    transition: all 0.4s ease;
}
.service-card:hover .service-icon { background: var(--gold-500); color: #0a1628; }
.service-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #0a1628;
    margin-bottom: 10px;
}
.service-desc { font-size: 0.9rem; color: #6b7280; line-height: 1.7; }

/* ── About ── */
.about-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold-400);
    margin-bottom: 16px;
    display: block;
}
.about-title { margin-bottom: 0; }
.about-img-main { width: 100%; aspect-ratio: 600/750; object-fit: cover; }
.about-img-float { width: 100%; aspect-ratio: 1; object-fit: cover; }
.about-stat-value { font-family: 'Playfair Display', Georgia, serif; }
.about-stat-label { line-height: 1.4; }

/* ── Gallery ── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 16px;
}
.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,22,40,0.8) 0%, transparent 60%);
    display: flex; align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-label {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}
.gallery-item:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.gallery-item:nth-child(2) { grid-column: span 4; grid-row: span 1; }
.gallery-item:nth-child(3) { grid-column: span 4; grid-row: span 1; }
.gallery-item:nth-child(4) { grid-column: span 6; grid-row: span 1; }
.gallery-item:nth-child(5) { grid-column: span 6; grid-row: span 1; }

/* ── Testimonials ── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    padding: 36px 28px;
    transition: all 0.4s ease;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(10,22,40,0.08); border-color: transparent; }
.testimonial-stars { display: flex; gap: 4px; margin-bottom: 20px; }
.testimonial-text {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.75;
    margin-bottom: 24px;
    font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #0a1628;
    flex-shrink: 0;
}
.testimonial-name { font-weight: 600; color: #0a1628; font-size: 0.95rem; }
.testimonial-location { font-size: 0.8rem; color: #9ca3af; margin-top: 2px; }

/* ── Contact ── */
.contact-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold-400);
    margin-bottom: 16px;
    display: block;
}
.contact-title { margin-bottom: 0; }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-info-icon {
    width: 48px; height: 48px;
    background: rgba(201,168,76,0.1);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.contact-info-label { margin-bottom: 2px; }
.contact-info-value { line-height: 1.6; }

/* ── Contact Form ── */
.contact-input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.9rem;
    color: #0a1628;
    background: #fff;
    transition: all 0.3s ease;
    outline: none;
    -webkit-appearance: none;
}
.contact-input:focus { border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(201,168,76,0.1); }
.contact-input::placeholder { color: #9ca3af; }
.contact-select { cursor: pointer; }
.contact-textarea { resize: vertical; min-height: 120px; }
.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--gold-500);
    color: #0a1628;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 16px 32px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}
.contact-submit:hover { background: var(--gold-600); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(201,168,76,0.3); }
.contact-submit svg { transition: transform 0.3s ease; }
.contact-submit:hover svg { transform: translate(3px, -3px); }

.form-success {
    animation: fadeIn 0.5s ease;
}
.form-success-icon { margin-top: 8px; }
.form-success-text { font-size: 1.1rem; }
.form-success-sub { margin-top: 4px; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ── Footer ── */
.footer-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}
.footer-link {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.4);
    transition: color 0.3s ease;
    display: block;
    line-height: 1.6;
}
.footer-link:hover { color: var(--gold-400); }
.social-icon {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.5);
    transition: all 0.3s ease;
}
.social-icon:hover { background: var(--gold-500); border-color: var(--gold-500); color: #0a1628; }

/* ── Scroll Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid .testimonial-card:last-child { grid-column: span 2; max-width: 50%; margin: 0 auto; }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
    .gallery-item:nth-child(2) { grid-column: span 1; }
    .gallery-item:nth-child(3) { grid-column: span 1; }
    .gallery-item:nth-child(4) { grid-column: span 1; }
    .gallery-item:nth-child(5) { grid-column: span 1; }
    .gallery-item img { aspect-ratio: 4/3; }
    .gallery-item:nth-child(1) img { aspect-ratio: 16/9; }
}

@media (max-width: 768px) {
    .services-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonials-grid .testimonial-card:last-child { grid-column: span 1; max-width: 100%; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item:nth-child(1) { grid-column: span 1; }
    .about-img-float { display: none; }
    .about-stat-value { font-size: 2.2rem; }
    .cta-title { font-size: 2rem; }
    .cta-desc { font-size: 1rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.5rem; }
    .section-title { font-size: 1.75rem; }
    .cta-primary, .cta-secondary { width: 100%; justify-content: center; }
    #navbar .max-w-7xl { padding-left: 1rem; padding-right: 1rem; }
}
