/* 
 * ASTRA VEIL - Premium Astrology Theme 
 * Typography: Cinzel (Serif), Inter (Sans-Serif)
 */

 :root {
    --bg-dark: #07080a;
    --bg-darker: #040405;
    --bg-card: #0d0f14;
    --border-color: #1a1c23;
    
    --text-main: #ffffff;
    --text-muted: #9ba0aa;
    --gold: #e5b869;
    --gold-dim: rgba(229, 184, 105, 0.4);
    
    --font-serif: 'Cinzel', serif;
    --font-sans: 'Inter', sans-serif;
    
    --glow-color: rgba(229, 184, 105, 0.15);
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* =========================================
   TYPOGRAPHY & UTILS
========================================= */
h1, h2, h3, h4, .brand {
    font-family: var(--font-serif);
    font-weight: 400;
}

.text-gold {
    color: var(--gold);
}

.section-kicker {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-heading {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-subheading {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--gold);
    color: #000;
    border: 1px solid var(--gold);
}

.btn-primary:hover {
    background-color: #f0c982;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(229, 184, 105, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--text-main);
    background-color: rgba(255, 255, 255, 0.05);
}

/* =========================================
   NAVIGATION
========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    transition: background-color 0.3s ease, padding 0.3s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background-color: rgba(7, 8, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.star-icon {
    color: var(--gold);
    font-size: 1.2rem;
}

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

.nav-links li a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.nav-links li a:hover {
    color: var(--text-main);
}

.nav-links li a.btn {
    color: #000; /* Primary btn text */
}

/* =========================================
   HERO SECTION
========================================= */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px; /* navbar offset */
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(62, 39, 90, 0.15) 0%, rgba(7, 8, 10, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-tags {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(229, 184, 105, 0.3);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    display: inline-flex;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 90%;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Hero Portrait & Zodiac */
.hero-portrait-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.portrait-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.astrologer-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    z-index: 2;
    box-shadow: 0 0 40px rgba(0,0,0,0.5);
}

.zodiac-ring-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: rotateSlow 60s linear infinite;
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.zodiac-ring-svg {
    width: 100%;
    height: 100%;
}

.zodiac-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.z-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    background: rgba(18, 14, 25, 0.8);
    border: 1px solid rgba(189, 126, 219, 0.4);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bd7edb; /* purple tint for zodiacs */
    font-size: 1rem;
    transform: rotate(var(--angle)) translateY(-240px) rotate(calc(var(--angle) * -1));
    box-shadow: 0 0 10px rgba(189, 126, 219, 0.2);
}

/* We need to reverse the counter-rotation so icons stay upright while the ring spins */
.zodiac-ring-container .z-icon {
    animation: counterRotate 60s linear infinite;
}

@keyframes counterRotate {
    from { transform: rotate(var(--angle)) translateY(-240px) rotate(calc(-1 * var(--angle) - 0deg)); }
    to { transform: rotate(var(--angle)) translateY(-240px) rotate(calc(-1 * var(--angle) - 360deg)); }
}

.floating-label {
    position: absolute;
    background: rgba(13, 15, 20, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.6rem 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.8rem;
    color: #fff;
    z-index: 3;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    white-space: nowrap;
}

.floating-label small {
    color: var(--text-muted);
}

.label-left {
    top: 20%;
    left: -20px;
    animation: float 4s ease-in-out infinite;
}

.label-bottom {
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    animation: float 5s ease-in-out infinite 1s;
    color: var(--gold);
}

.label-right {
    bottom: 20%;
    right: -30px;
    animation: float 4.5s ease-in-out infinite 0.5s;
}

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

/* Hero Bottom Bar */
.hero-bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 2rem;
}

.hero-features {
    display: flex;
    gap: 2rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.hero-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.scroll-indicator-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.scroll-text {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold) 0%, transparent 100%);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
    50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
    51% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
    100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* =========================================
   TRUST BANNER
========================================= */
.trust-banner {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 2rem 0;
    background-color: var(--bg-darker);
}

.trust-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trust-item {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-item::before {
    content: "🛡️"; /* Placeholder for icon, ideally svg */
    font-size: 1.2rem;
    filter: sepia(1) hue-rotate(35deg) saturate(3); /* Fake gold tint */
}

/* =========================================
   ABOUT / MEET ASTROLOGER
========================================= */
.about-section {
    padding: 8rem 0;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image-wrapper {
    border-radius: 20px;
    overflow: hidden;
    height: 600px;
    position: relative;
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
}

.about-quote {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--gold);
    font-style: italic;
    margin-bottom: 2rem;
}

.about-paragraphs {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.about-paragraphs p {
    margin-bottom: 1rem;
}

.about-pills {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.pill {
    padding: 0.4rem 1rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* =========================================
   SERVICES
========================================= */
.services-section {
    padding: 8rem 0;
    background-color: var(--bg-darker);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(229, 184, 105, 0.3);
}

.card-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.planet-icon {
    font-size: 2rem;
    color: var(--gold);
}

.arrow-icon {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.card-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-price {
    font-size: 1.5rem;
    color: var(--gold);
    font-family: var(--font-serif);
}

.book-link {
    font-size: 0.9rem;
    color: var(--gold);
    font-weight: 600;
}

.book-link:hover {
    color: #fff;
}

/* =========================================
   HOW IT WORKS (TIMELINE)
========================================= */
.how-it-works-section {
    padding: 8rem 0;
}

.steps-heading {
    font-size: 3rem;
    margin-bottom: 6rem;
}

.dot {
    color: var(--gold);
    font-size: 1.5rem;
    vertical-align: middle;
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 1px;
    background-color: var(--border-color);
    z-index: 1;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

.step-node {
    width: 60px;
    height: 60px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.step-node i {
    color: var(--gold);
    font-size: 1.2rem;
}

.step-number {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    background-color: var(--gold);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.step-title {
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.step-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-buttons, .hero-tags {
        justify-content: center;
    }
    
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-bottom-bar {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .portrait-container {
        width: 300px;
        height: 300px;
    }
    
    .astrologer-img {
        width: 200px;
        height: 200px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .process-timeline {
        flex-direction: column;
        gap: 4rem;
    }
    
    .timeline-line {
        display: none;
    }
}

/* =========================================
   FOOTER
========================================= */
footer {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 6rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.footer-links h4, .footer-contact h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-family: var(--font-sans);
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links ul li a:hover {
    color: #fff;
}

.footer-contact p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.social-icons a:hover {
    background-color: var(--gold);
    color: #000;
    border-color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.8rem;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}
