:root {
    --bg-dark: #0a0a0c;
    --brand-red: #b9413a;
    --brand-red-light: #d45a4a;
    --accent-gold: #c5a059;
    --accent-gold-light: #e6c27a;
    --text-light: #f0f0f0;
    --text-muted: #a0a0a0;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.logo-text {
    font-family: 'Playfair Display', serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Star Background */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at center, #1a1a2e 0%, #0a0a0c 100%);
}

.star {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    opacity: 0.5;
    animation: twinkle 3s infinite ease-in-out;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Loader Styles (same behavior as demo2, background matches demo1) */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loader-img {
    width: 250px;
    opacity: 0;
    transition: opacity 1s ease;
    filter: drop-shadow(0 0 10px var(--accent-gold));
}

.loader-img.show {
    opacity: 1;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: 0.4s ease;
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.3s;
    opacity: 0.8;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-gold);
    opacity: 1;
}

.dropdown-menu {
    position: absolute;
    background: rgba(10, 10, 12, 0.95);
    border: 1px solid var(--glass-border);
    padding: 15px;
    list-style: none;
    display: none;
    min-width: 200px;
}

.nav-item:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    color: var(--text-light);
    text-decoration: none;
    padding: 8px 0;
    display: block;
    font-size: 0.85rem;
}

/* Hero Section – animated elements hidden until GSAP runs (avoids flash after preloader) */
.hero .falling-letter,
.hero .hero-subtitle,
.hero .hero-description,
.hero .zodiac-wheel {
    opacity: 0;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-left {
    flex: 1;
}

.hero-title-line {
    height: 2px;
    background: linear-gradient(90deg, var(--accent-gold), transparent);
    width: 0;
    margin: 15px 0;
}

.falling-letters {
    font-size: 5rem;
    font-weight: 700;
    color: var(--text-light);
}

.falling-letter {
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--accent-gold);
    margin-bottom: 10px;
    font-style: italic;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.zodiac-wheel {
    width: 450px;
    opacity: 0.6;
    animation: rotate 60s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Generic Section Styles */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 15px;
    color: var(--accent-gold);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 50px;
}

/* Contact Form */
.contact-form-container {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--accent-gold);
}

input,
select,
textarea {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 5px;
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
}

/* Buttons */
.btn {
    padding: 15px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--brand-red);
    color: white;
}

.btn-primary:hover {
    background: var(--brand-red-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(185, 65, 58, 0.3);
}

/* About Section */
.about-grid {
    background: var(--glass-bg);
    padding: 60px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
}

.about-highlights {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.highlight-item {
    font-size: 0.9rem;
    color: var(--accent-gold);
}

.highlight-item i {
    margin-right: 8px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
}

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    opacity: 0.7;
}

.service-card h3 {
    margin: 20px;
    color: var(--accent-gold);
}

.service-card p {
    margin: 0 20px 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.service-card-link {
    display: block;
    margin: 20px;
    color: var(--brand-red-light);
    text-decoration: none;
    font-weight: 600;
}

/* Footer */
.footer {
    padding: 50px 0;
    border-top: 1px solid var(--glass-border);
    background: rgba(5, 5, 7, 0.9);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        padding-top: 100px;
        text-align: center;
    }

    .hero-title-line {
        margin: 15px auto;
    }

    .falling-letters {
        font-size: 3.5rem;
    }

    .zodiac-wheel {
        width: 300px;
        margin-top: 50px;
    }

    .form-row {
        flex-direction: column;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}