/* css/style.css - Astrotalk Inspired Light Theme */

:root {
    --primary-color: #ffffff;
    --secondary-color: #F8AB08; /* Astrotalk Golden Orange */
    --accent-color: #FF7B00; 
    --text-main: #222222;
    --text-muted: #666666;
    --bg-light: #ffffff;
    --bg-section: #F8F9FA; /* Very light gray for alternate sections */
    --card-bg: #ffffff;
    --border-color: #EAEAEA;
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: 'Mukta', 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================================================
   Google Translate Overrides
   ========================================================================== */
.goog-te-banner-frame.skiptranslate, 
.goog-te-gadget-icon, 
.goog-logo-link {
    display: none !important;
}

body {
    top: 0px !important;
}

.goog-te-gadget {
    display: none !important;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
header {
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
}

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

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary-color);
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* ==========================================================================
   Custom Language Selector & Menu Toggle
   ========================================================================== */
.lang-selector {
    position: relative;
    display: inline-block;
}

.lang-toggle {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-family: 'Mukta', sans-serif;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.lang-toggle:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.lang-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 10px;
    background-color: var(--primary-color);
    min-width: 150px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    z-index: 1001;
    list-style: none;
    overflow: hidden;
}

.lang-menu.show {
    display: block;
    animation: fadeIn 0.2s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.lang-menu li a {
    color: var(--text-main);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    transition: var(--transition);
}

.lang-menu li a:hover {
    background-color: rgba(248, 171, 8, 0.1);
    color: var(--secondary-color);
}

.menu-toggle {
    display: none;
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 22px;
    cursor: pointer;
    transition: var(--transition);
}

.menu-toggle:hover {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    padding: 80px 20px;
    text-align: center;
    background-color: var(--bg-section);
    border-bottom: 1px solid var(--border-color);
}

.hero h1 {
    font-size: 3rem;
    color: var(--text-main);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: var(--text-muted);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(248, 171, 8, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(248, 171, 8, 0.5);
    background-color: var(--accent-color);
}

/* ==========================================================================
   Sections & Cards
   ========================================================================== */
.section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--text-main);
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.card p {
    color: var(--text-muted);
}

/* ==========================================================================
   Contact Form
   ========================================================================== */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #dddddd;
    background-color: #fcfcfc;
    color: var(--text-main);
    font-family: 'Mukta', sans-serif;
    font-size: 16px;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--secondary-color);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(248, 171, 8, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background-color: var(--bg-section);
    padding: 50px 20px 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--text-main);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col p {
    color: var(--text-muted);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

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

.footer-col ul li a:hover {
    color: var(--secondary-color);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .header-controls {
        gap: 8px;
    }
    
    .lang-toggle {
        font-size: 13px;
        padding: 5px 10px;
    }
    
    .logo {
        font-size: 18px;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 15px;
        background-color: var(--primary-color);
        padding: 20px;
        border-radius: var(--border-radius);
        border: 1px solid var(--border-color);
        box-shadow: var(--shadow);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
}
/* NEW CSS APPENDED FOR ASTROTALK STRUCTURE */

.bg-light-gray {
    background-color: #FAFAFA;
}

/* Hero Section Updates */
.hero-section {
    background: linear-gradient(135deg, #FFFDF8 0%, #FFF5E0 100%);
    padding: 60px 20px 40px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    color: #222;
    margin-bottom: 25px;
}

.hero-features {
    list-style: none;
    margin-bottom: 35px;
}

.hero-features li {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-icon {
    background: #F8AB08;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

.hero-images {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 350px;
    min-width: 300px;
}

.circle-img {
    width: 180px;
    height: 180px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(248, 171, 8, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
    border: 3px solid #F8AB08;
    position: absolute;
    color: #F8AB08;
}

.img-1 { left: 0; top: 80px; width: 140px; height: 140px; font-size: 4rem; z-index: 1; }
.img-2 { left: 50%; transform: translateX(-50%); top: 10px; width: 220px; height: 220px; font-size: 6rem; z-index: 2; border-width: 5px; }
.img-3 { right: 0; top: 80px; width: 140px; height: 140px; font-size: 4rem; z-index: 1; }

.stats-container {
    max-width: 1200px;
    margin: 60px auto 0;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #EAEAEA;
    padding-top: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item h3 {
    font-size: 2rem;
    color: #222;
}

.stat-item p {
    color: #777;
    font-size: 0.9rem;
}

/* Services Row */
.services-row {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
}

.service-box {
    flex: 1;
    min-width: 240px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 25px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
    position: relative;
}

.service-box:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(-5px);
    border-color: #F8AB08;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.service-box h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #222;
}

.service-box p {
    font-size: 0.9rem;
    color: #777;
}

.arrow-icon {
    position: absolute;
    right: 25px;
    bottom: 25px;
    color: #F8AB08;
    background: #FFF9E6;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
}

/* Horoscope Section */
.rashi-selector-container {
    width: 100%;
    overflow-x: auto;
    padding: 20px 0;
    margin-bottom: 30px;
}

.rashi-scroll {
    display: flex;
    gap: 15px;
    min-width: max-content;
}

.rashi-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #EAEAEA;
    border-radius: 12px;
    padding: 15px 25px;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 100px;
}

.rashi-btn:hover {
    border-color: #F8AB08;
    box-shadow: 0 4px 12px rgba(248, 171, 8, 0.15);
}

.rashi-btn.active {
    background: #F8AB08;
    color: #fff;
    border-color: #F8AB08;
}

.rashi-btn.active .rashi-icon {
    background: #fff;
}

.rashi-btn.active span {
    color: rgba(255,255,255,0.8);
}

.rashi-icon {
    width: 50px;
    height: 50px;
    background: #F8F9FA;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.rashi-btn strong {
    font-size: 1rem;
    margin-bottom: 2px;
}

.rashi-btn span {
    font-size: 0.8rem;
    color: #888;
}

.horoscope-display-card {
    background: #fff;
    border: 1px solid #EAEAEA;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.horoscope-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #EAEAEA;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.horoscope-title-area {
    display: flex;
    align-items: center;
    gap: 20px;
}

.h-icon {
    width: 70px;
    height: 70px;
    background: #FFF9E6;
    border: 2px solid #F8AB08;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    color: #F8AB08;
}

.date-badge {
    padding: 8px 15px;
    background: #F8F9FA;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #555;
}

.horoscope-body {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.h-text {
    flex: 2;
    min-width: 300px;
}

.h-stats {
    flex: 1;
    min-width: 250px;
    background: #FAFAFA;
    padding: 20px;
    border-radius: 12px;
}

.stat-bar {
    margin-bottom: 15px;
}

.stat-label {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 5px;
    font-weight: 600;
}

.bar-bg {
    width: 100%;
    height: 6px;
    background: #E0E0E0;
    border-radius: 3px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s ease-in-out;
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.2rem; }
    .hero-images { height: 250px; }
    .img-2 { width: 160px; height: 160px; font-size: 4rem; top: 30px; }
    .img-1, .img-3 { width: 100px; height: 100px; font-size: 2.5rem; top: 70px; }
    .img-1 { left: 10%; }
    .img-3 { right: 10%; }
    .horoscope-display-card { padding: 20px; }
    .horoscope-body { flex-direction: column; }
}
/* Slider Button CSS */
.slider-btn {
    background: #fff;
    border: 1px solid #EAEAEA;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: #F8AB08;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
    z-index: 10;
}

.slider-btn:hover {
    background: #F8AB08;
    color: #fff;
    border-color: #F8AB08;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.rashi-selector-container::-webkit-scrollbar {
    display: none;
}
/* Contact Form 2-Column Layout */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
}

.form-grid .full-width {
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}
