/* ===================================================
   🔮 ASTROLOGY DARK BLUE + GOLD THEME (FULL CSS)
=================================================== */

/* ================= ROOT VARIABLES ================= */

:root {
    --primary-bg: #0b1c2d;
    --secondary-bg: #071420;
    --gradient-bg: linear-gradient(135deg, #071420, #0b1c2d);

    --gold: #d4af37;
    --gold-light: #f6e27a;
    --gold-glow: rgba(212, 175, 55, 0.2);

    --white: #ffffff;
    --light-text: #cccccc;
    --muted-text: #aaaaaa;

    --glass-bg: rgba(11, 28, 45, 0.4);
    --blur: blur(12px);

    --transition: all 0.4s ease;
}

/* ================= GLOBAL ================= */

body {
    margin: 0;
    font-family: "inter" !important ;
    background: var(--primary-bg);
    color: var(--white);
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    color: var(--gold-primary);
    letter-spacing: 1px;
    text-transform: capitalize;
}

html {
    scroll-behavior: smooth;
}

.main-content {
    position: relative;
    z-index: 2;
    background: var(--primary-bg);
    min-height: 100vh;
    padding-top: 90px; /* header offset */
}

/* ================= HEADER ================= */

.astro-header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 999;
    transition: var(--transition);
    background: var(--glass-bg);
    backdrop-filter: var(--blur);
}

/* Scroll state */
.astro-header.scrolled {
    background: var(--gradient-bg);
    backdrop-filter: none;
    box-shadow: 0 0 20px var(--gold-glow);
    padding: 10px 0;
}

/* Logo */
.logo-text {
    font-family: "Cinzel", serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--gold);
}

.logo-icon {
    font-size: 24px;
    color: var(--gold);
}

/* ================= NAV LINKS ================= */

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

/* Hover & Active */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active-link {
    color: var(--gold) !important;
}

/* Underline */
.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active-link::after {
    width: 100%;
}

/* ================= DROPDOWN ================= */

.services-dropdown {
    position: relative;
}

/* Hide by default */
.services-dropdown .dropdown-menu {
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
}

/* Desktop hover */
@media (min-width: 992px) {
    .services-dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* Dropdown Styling */
.dropdown-menu.astro-dropdown {
    background: #0f253a;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 10px 0;
}

.astro-dropdown .dropdown-item {
    color: var(--white);
    padding: 10px 20px;
    transition: var(--transition);
}

.astro-dropdown .dropdown-item:hover {
    background: var(--gold);
    color: #000;
}
.astro-dropdown .active-dropdown {
    background-color: gold; /* same as hover */
    color: #000;            /* text color for contrast */
}
.nav-link.active-link {
    color: #000; /* or whatever your active color */
    border-bottom: 2px solid gold; /* underline */
}
/* ================= MOBILE ACCORDION ================= */

@media (max-width: 991px) {
    .services-dropdown .dropdown-menu {
        position: static;
        background: transparent;
        border: none;
        padding-left: 15px;
        transform: none;
        opacity: 1;
        visibility: visible;
    }

    .services-dropdown.active .dropdown-menu {
        display: block;
        animation: slideDown 0.3s ease;
    }

    .dropdown-icon {
        transition: var(--transition);
        font-size: 14px;
    }

    .services-dropdown.active .dropdown-icon {
        transform: rotate(180deg);
        color: var(--gold);
    }
}

/* Animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= GOLD BUTTON ================= */

.astro-btn {
    background: linear-gradient(45deg, var(--gold), var(--gold-light));
    color: #000;
    font-weight: 600;
    border-radius: 30px;
    padding: 8px 20px;
    transition: var(--transition);
    border: none;
}

.astro-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--gold-glow);
}

/* ================= FOOTER ================= */

.astro-footer {
    position: sticky;
    bottom: 0;
    background: var(--gradient-bg);
    color: var(--white);
    padding: 80px 0 30px;
    z-index: 1;
    overflow: hidden;
}

/* Universe Glow */
.astro-footer::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(
            circle at 20% 30%,
            rgba(212, 175, 55, 0.15),
            transparent 40%
        ),
        radial-gradient(
            circle at 80% 70%,
            rgba(255, 255, 255, 0.05),
            transparent 40%
        );
    top: 0;
    left: 0;
    z-index: 0;
}

/* Floating Icons */
.zodiac-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.08;
    font-size: 40px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    animation: floatIcons 20s linear infinite;
}

@keyframes floatIcons {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-logo {
    color: var(--gold);
    font-weight: 700;
}

.astro-footer h5 {
    color: var(--gold);
    margin-bottom: 15px;
}

.astro-footer ul {
    list-style: none;
    padding: 0;
}

.astro-footer ul li {
    margin-bottom: 8px;
}

.astro-footer ul li a {
    color: var(--light-text);
    text-decoration: none;
    transition: var(--transition);
}

.astro-footer ul li a:hover {
    color: var(--gold);
    padding-left: 6px;
}

/* Social Icons */
.social-icons a {
    display: inline-block;
    margin-right: 10px;
    font-size: 18px;
    color: var(--gold);
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--white);
    transform: translateY(-4px);
}

/* Divider */
.astro-footer hr {
    border-color: rgba(212, 175, 55, 0.2);
    margin: 40px 0 20px;
}

.copy-text {
    font-size: 14px;
    color: var(--muted-text);
}
