@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

/* Quick Nav Bar */
.quick-nav {
    background: var(--white);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(184, 134, 11, 0.1);
    border-bottom: 1px solid rgba(184, 134, 11, 0.1);
    position: relative;
    z-index: 10;
    margin-top: 0; /* Flush with hero */
}

.quick-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 0 5%;
}

.q-link {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
    position: relative;
}

.q-link:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

.q-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: 0.3s;
}

.q-link:hover::after {
    width: 100%;
}

:root {
    --primary: #7B6699; /* Deep Amethyst */
    --secondary: #D9C5B2; /* Soft Sand */
    --accent: #B8860B; /* Dark Goldenrod / Classic Gold */
    --bg-light: #FDFBFA; /* Warm Off-White */
    --text-dark: #1F1F1F; /* Graphite */
    --text-muted: #5A5A5A;
    --white: #FFFFFF;
    --gold-gradient: linear-gradient(135deg, #B8860B 0%, #D4AF37 100%);
    --soft-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    --glass: rgba(255, 255, 255, 0.8);
}

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

a {
    text-decoration: none !important;
    color: inherit;
    transition: 0.3s ease;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, .serif {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

/* Navigation - Modern & Sticky */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
    background: var(--glass);
    backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-links {
    display: flex; gap: 2.5rem; align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.3s;
    position: relative;
}

/* Mobile Menu - Full Screen Overlay */
.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 2000;
}

@media (max-width: 968px) {
    .mobile-menu-btn { display: block; }
    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 100%; height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.6s cubic-bezier(0.85, 0, 0.15, 1);
        z-index: 1000;
        gap: 2rem;
    }
    .nav-links.active { right: 0; }
    .nav-links a { font-size: 1.5rem; font-family: 'Cormorant Garamond', serif; }
    .dropdown-content {
        position: static;
        display: block;
        box-shadow: none;
        background: transparent;
        text-align: center;
        padding: 0;
        margin-top: 0.5rem;
    }
    .dropdown-content a { font-size: 1.1rem; padding: 0.5rem; }
    .drop-trigger { pointer-events: none; opacity: 0.6; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; }
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent);
    transition: 0.3s;
}

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


/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 1rem 0;
    z-index: 1001;
    top: 100%;
    left: 0;
    border: 1px solid rgba(184, 134, 11, 0.1);
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: -30px; /* Bridge the gap between nav and dropdown */
    left: 0;
    width: 100%;
    height: 30px;
    background: transparent;
}

.dropdown-content a {
    color: var(--text-dark) !important;
    padding: 0.8rem 1.5rem;
    display: block;
    font-size: 0.9rem;
    text-decoration: none !important;
}

.dropdown-content a:hover {
    background-color: var(--bg-light);
    color: var(--primary) !important;
    padding-left: 1.8rem;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: menuFadeIn 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes menuFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Magical Scroll Indicator - Enlarged */
.scroll-magic {
    position: fixed;
    right: 60px;
    bottom: 50%;
    transform: translateY(50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    z-index: 1002;
    cursor: pointer;
    transition: 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.scroll-line {
    width: 2px;
    height: 120px; /* Bigger line */
    background: rgba(184, 134, 11, 0.2);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent);
    animation: lineAnim 2.5s infinite cubic-bezier(0.77, 0, 0.175, 1);
}

.scroll-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.9rem; /* Bigger text */
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 6px;
    writing-mode: vertical-rl;
    font-weight: 700;
    opacity: 0.8;
    transition: 0.5s;
}

.scroll-magic:hover .scroll-text {
    opacity: 1;
    letter-spacing: 12px;
}

@keyframes lineAnim {
    0% { transform: translateY(0); }
    100% { transform: translateY(200%); }
}

@media (max-width: 968px) {
    .scroll-magic {
        right: 30px;
        bottom: 30px;
        transform: none;
    }
    .scroll-line { height: 70px; }
    .scroll-text { font-size: 0.7rem; }
}

/* Animations & Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

/* Hero Section */
.hero {
    min-height: 80vh; /* Reduced height to minimize white transition gap */
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 140px 8% 60px; /* Reduced bottom padding */
    background: linear-gradient(rgba(250, 247, 240, 0.7), rgba(250, 247, 240, 0.7)), url('../assets/celestial-bg.jpg');
    background-size: cover;
    background-position: center;
    margin-bottom: 0px; 
}

.hero-content {
    max-width: 600px;
}

.hero-tagline {
    font-size: 1rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 2rem;
    display: block;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    line-height: 1.1;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.cta-button {
    background: var(--gold-gradient);
    color: var(--white);
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: 0.5s;
    box-shadow: 0 10px 20px rgba(184, 134, 11, 0.2);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(184, 134, 11, 0.4);
    letter-spacing: 2px;
}

/* Featured Section - Tightened */
.featured {
    display: flex;
    align-items: center;
    gap: 5rem;
    padding: 4rem 8% 6rem; /* Standardized for a clean transition */
}

.featured-img {
    flex: 1;
    position: relative;
}

.featured-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--soft-shadow);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

img {
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

img:hover {
    transform: scale(1.03);
}

.featured-content {
    flex: 1;
}

.featured-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.featured-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Services */
.services {
    padding: 8rem 8%;
    background-color: var(--white);
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 3rem;
    display: block;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.service-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 30px;
    box-shadow: var(--soft-shadow);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(184, 134, 11, 0.05);
}

.service-card span {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.8rem 1.5rem;
    background: rgba(184, 134, 11, 0.05);
    border-radius: 50px;
    transition: 0.3s;
}

.service-card:hover span {
    background: var(--gold-gradient);
    color: white !important;
    transform: scale(1.05);
}

@media (max-width: 480px) {
    .service-card { padding: 2.5rem 1.5rem; }
    .service-card h3 { font-size: 1.5rem; }
    .service-card p { font-size: 0.95rem; }
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    border-color: var(--accent);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 5px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transition: 0.5s;
    transform-origin: left;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 2rem;
    display: block;
    transition: 0.3s;
}

.service-card:hover i {
    transform: scale(1.1) rotate(5deg);
}
    color: var(--accent);
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

/* Footer */
footer {
    background-color: #1A1A1A;
    color: var(--white);
    padding: 3rem 8% 2rem;
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: block;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

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

.social-links {
    margin-top: 1rem;
}

/* Alphabetical Search Buttons */
.alpha-btn {
    padding: 10px 15px;
    background: white;
    border: 1px solid rgba(184, 134, 11, 0.2);
    border-radius: 8px;
    color: var(--primary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.alpha-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(123, 102, 153, 0.2);
    border-color: var(--primary);
}

/* Link-in-Bio Specific Styles */
.bio-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    text-align: center;
}

.bio-card {
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    margin-bottom: 1.2rem;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    border: 1px solid rgba(184, 134, 11, 0.1);
    transition: 0.3s;
    display: block;
    box-shadow: var(--soft-shadow);
}

.bio-card:hover {
    transform: scale(1.02);
    border-color: var(--accent);
    background: var(--bg-light);
}
/* Star-Dust Effect */
.star-dust {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%);
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0.5;
    animation: twinkle var(--duration) infinite ease-in-out;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.service-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Responsive */
@media (max-width: 968px) {
    nav { height: 75px; padding: 0 5%; }
    .hero { flex-direction: column-reverse; text-align: center; padding-top: 120px; height: auto; padding-bottom: 50px; }
    .hero h1 { font-size: 2.5rem; }
    .featured { flex-direction: column; gap: 2rem; padding: 4rem 8%; text-align: center; }
    .featured-content .cta-button { margin-top: 2rem; width: 100%; }
    .section-title { font-size: 2rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.1rem; }
    .cta-button { padding: 1.1rem 2rem; font-size: 0.95rem; width: 100%; display: block; text-align: center; margin-bottom: 0.5rem; }
    .featured-content { padding-bottom: 2rem; }
}
