/* =========================================
   Moksha Services - Premium Design System
   ========================================= */

:root {
    /* Colors */
    --primary: #D27D2D; /* Spiritual Saffron */
    --primary-light: #E0A96D;
    --primary-dark: #A55D1C;
    --bg-main: #FDFBF7; /* Warm white */
    --bg-alt: #F4EFE6; /* Soft cream */
    --text-main: #2C3E50; /* Charcoal */
    --text-muted: #5A6A7A;
    --white: #FFFFFF;
    
    /* Typography */
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    /* Spacing */
    --section-pad: 5rem 0;
    
    /* Shadow & Radius */
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.05);
    --shadow-hover: 0 15px 40px rgba(210, 125, 45, 0.15);
    --radius-md: 12px;
    --radius-lg: 24px;
    
    /* Transitions */
    --trans-fast: 0.2s ease;
    --trans-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================
   Reset & Base Styles
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-main);
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--trans-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: var(--section-pad);
}

.bg-light {
    background-color: var(--bg-alt);
}

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

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--trans-normal);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(210, 125, 45, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(210, 125, 45, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-block {
    display: block;
    width: 100%;
}

/* =========================================
   Navbar
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 1000;
    background-color: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: var(--trans-normal);
}

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

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 2rem;
    color: var(--primary);
}

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

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
}

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

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    transition: var(--trans-fast);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px; /* Offset for navbar */
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/manikarnika.png') center/cover no-repeat;
    z-index: -2;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(253, 251, 247, 0.95) 0%, rgba(253, 251, 247, 0.7) 50%, rgba(253, 251, 247, 0.2) 100%);
    z-index: -1;
}

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

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-main);
}

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

/* =========================================
   Trust / About Section
   ========================================= */
.trust-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary);
    margin-top: 1rem;
    border-radius: 2px;
}

.text-center .section-title::after {
    margin: 1rem auto 0;
}

.trust-badges {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    font-weight: 500;
}

.badge-icon {
    font-size: 1.5rem;
}

.trust-image img {
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* =========================================
   Services Section
   ========================================= */
.section-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

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

.service-card {
    background-color: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    transition: var(--trans-normal);
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--primary);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

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

/* =========================================
   Pricing Section
   ========================================= */
.pricing-section {
    background-color: var(--bg-main);
}

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

.pricing-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 3rem 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid #E2E8F0;
    transition: var(--trans-normal);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(210, 125, 45, 0.1);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #E2E8F0;
}

.pricing-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.pricing-header h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.package-desc {
    font-size: 0.9rem;
    min-height: 45px;
}

.price {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--primary);
    margin-top: 1rem;
}

.price span {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
    display: block;
    margin-top: 0.2rem;
}

.pricing-features {
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 0.95rem;
}

.pricing-features li.disabled {
    color: #A0AEC0;
    text-decoration: line-through;
}

.check {
    color: #2ecc71;
    font-weight: bold;
}

.cross {
    color: #e74c3c;
    font-weight: bold;
}

/* =========================================
   Contact Section
   ========================================= */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-methods {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.method-icon {
    font-size: 1.5rem;
    background-color: var(--bg-alt);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary);
}

.method h4 {
    margin-bottom: 0.2rem;
    font-family: var(--font-sans);
    font-weight: 600;
}

.contact-form-wrapper {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--trans-fast);
    background-color: var(--bg-main);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(210, 125, 45, 0.1);
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: var(--text-main);
    color: var(--white);
    padding: 4rem 0 2rem;
}

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

.footer .logo {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer .logo-icon {
    color: var(--primary-light);
}

.footer p {
    color: #A0AEC0;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-family: var(--font-sans);
}

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

.footer-links a,
.footer-legal a {
    color: #A0AEC0;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    color: #A0AEC0;
}

/* =========================================
   Animations
   ========================================= */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scale-up {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.8s; }
.delay-5 { transition-delay: 1.0s; }

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trust-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* simple mobile menu hidden by default */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-bg {
        background-position: right;
    }
    
    .hero::after {
        background: rgba(253, 251, 247, 0.85); /* More opaque overlay for mobile text readability */
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}
