/* =========================================
   Ashoka Photography - Master Stylesheet
   ========================================= */

:root {
    /* Color Palette - Ashoka Theme */
    --primary: #E59873; /* Light Ashoka Orange */
    --primary-light: #FDF3ED;
    --secondary: #222222;
    --text-dark: #333333;
    --text-muted: #666666;
    --bg-light: #F9F7F5;
    --bg-white: #FFFFFF;
    --white: #FFFFFF;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Layout */
    --container-width: 1200px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

ul {
    list-style: none;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--secondary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }

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

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

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

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

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mt-3 {
    margin-top: 1.5rem;
}

.me-2 {
    margin-right: 0.5rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.divider {
    height: 2px;
    width: 60px;
    background-color: var(--primary);
    margin-bottom: 1.5rem;
}

.subtitle {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 10px;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-primary-outline {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}

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

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
    border: 2px solid var(--secondary);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--secondary);
}

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

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

/* Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
    background-color: transparent;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    padding: 15px 0;
}

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

.logo h2 {
    margin: 0;
    font-size: 1.8rem;
    font-family: var(--font-heading);
    color: var(--secondary);
}

.logo-img {
    max-height: 90px;
    width: auto;
    transition: var(--transition);
}

.header.scrolled .logo-img {
    max-height: 70px;
}

.logo h2 span {
    color: var(--primary);
    font-family: var(--font-body);
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-top: -5px;
}

.header:not(.scrolled) .logo h2 {
    color: var(--white);
}
.header:not(.scrolled) .logo h2 span {
    color: var(--primary-light);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.header:not(.scrolled) .nav-link {
    color: var(--white);
}

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

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

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary);
}

.header:not(.scrolled) .mobile-toggle {
    color: var(--white);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img, .hero-img-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: kenBurns 20s infinite alternate linear;
}

@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.6));
}

.hero-content {
    width: 100%;
}

.hero-text {
    max-width: 600px;
    color: var(--white);
    margin: 0 auto;
    text-align: center;
}

.hero-text .subtitle {
    color: var(--primary-light);
}

.hero-text h1 {
    color: var(--white);
    margin-bottom: 20px;
}

.hero-text h1 em {
    font-style: italic;
    color: var(--primary-light);
}

.hero-text p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.service-img {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.05);
}

.img-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--primary-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.2rem;
}

.img-placeholder i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.service-info {
    padding: 30px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 500;
    margin-top: 15px;
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-image-main {
    border-radius: 10px 100px 10px 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-experience {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-experience .years {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1;
}

.about-experience .text {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.2;
}

.about-features {
    margin: 20px 0;
}

.about-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.about-features li i {
    color: var(--primary);
}

/* CTA */
.cta {
    background: linear-gradient(rgba(181, 155, 142, 0.9), rgba(181, 155, 142, 0.9)), url('../assets/images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
}

.cta h2 {
    color: var(--white);
}

.cta p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background-color: var(--secondary);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer h2, .footer h3 {
    color: var(--white);
}

.footer p {
    color: rgba(255,255,255,0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin-right: 10px;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

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

.footer-links ul li a {
    color: rgba(255,255,255,0.7);
}

.footer-links ul li a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.7);
}

.contact-info li i {
    margin-top: 5px;
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

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

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image-wrap {
        margin-bottom: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
    }
    
    .nav-menu.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .nav-link {
        color: var(--text-dark) !important;
    }
    
    .header:not(.scrolled) .nav-menu {
        background: var(--secondary);
    }
    
    .header:not(.scrolled) .nav-link {
        color: var(--white) !important;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* NEW DETAILED SECTIONS CSS */

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: transform 0.3s ease;
}
.floating-whatsapp:hover {
    transform: scale(1.1);
    color: white;
}

/* Punchline Banner */
.punchline-banner {
    padding: 60px 0;
}
.bg-primary-light {
    background-color: var(--primary-light);
}
.punchline-banner h3 {
    font-style: italic;
    color: var(--primary);
    font-size: 2rem;
}

/* Max Width Helper */
.max-w-700 {
    max-width: 700px;
}

/* Why Us & Process */
.why-us-content p {
    font-size: 1.1rem;
}
.features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.feature-icon {
    background-color: var(--primary-light);
    color: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.feature-text h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
    font-family: var(--font-body);
    font-weight: 600;
}

.process-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.process-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}
.step-num {
    position: absolute;
    top: -10px;
    right: 10px;
    font-size: 5rem;
    font-weight: 800;
    color: rgba(0,0,0,0.03);
    font-family: var(--font-heading);
}

/* Gallery Masonry */
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 250px;
    gap: 20px;
    margin-top: 40px;
}
.gallery-item {
    border-radius: 10px;
    overflow: hidden;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}
.placeholder-gallery {
    background-color: var(--primary-light);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    font-size: 3rem;
    opacity: 0.5;
}
.gallery-item:nth-child(1) { grid-row: span 2; }
.gallery-item:nth-child(4) { grid-row: span 2; }

/* Testimonials */
.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
}
.stars {
    color: #FFD700;
    margin-bottom: 20px;
}
.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-dark);
}
.testimonial-card h5 {
    color: var(--primary);
    font-family: var(--font-body);
    font-weight: 600;
    margin: 0;
}

/* MORE RICH ANIMATIONS */

/* Service Card Hover */
.service-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}
.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(229, 152, 115, 0.2);
}
.service-card:hover h3 {
    color: var(--primary);
}

/* Button Pulse Animation */
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(229, 152, 115, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(229, 152, 115, 0); }
    100% { box-shadow: 0 0 0 0 rgba(229, 152, 115, 0); }
}
.btn-primary {
    animation: pulseGlow 2.5s infinite;
}
.btn-primary:hover {
    animation: none;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(229, 152, 115, 0.3);
}

/* Floating Elements (Continuous) */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}
.feature-icon {
    animation: float 4s ease-in-out infinite;
}
.about-experience {
    animation: float 5s ease-in-out infinite 1s;
}

/* Testimonial Hover */
.testimonial-card {
    transition: transform 0.4s ease, border-color 0.4s ease;
    border: 2px solid transparent;
}
.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary);
}

/* Logo Spin slightly on Hover */
.logo-img:hover {
    transform: rotate(-3deg) scale(1.05);
}

/* Swiper Carousel Customizations */
.swiper {
    width: 100%;
    padding-bottom: 50px !important;
}
.swiper-pagination-bullet {
    background: var(--primary) !important;
    opacity: 0.5 !important;
}
.swiper-pagination-bullet-active {
    opacity: 1 !important;
    width: 25px !important;
    border-radius: 5px !important;
    transition: width 0.3s ease;
}
.portfolio-swiper .gallery-item {
    height: 300px; /* fixed height for slider */
    border-radius: 10px;
    overflow: hidden;
}
.portfolio-swiper .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mouse Scroll Indicator */
.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
    text-decoration: none;
    z-index: 10;
    opacity: 0.8;
    transition: opacity 0.3s;
}
.scroll-down-indicator:hover {
    opacity: 1;
    color: var(--white);
}
.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 13px;
    position: relative;
    margin-bottom: 8px;
}
.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s infinite;
}
.arrow-bounce {
    animation: bounce 2s infinite;
    font-size: 14px;
}
@keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(5px); }
    60% { transform: translateY(3px); }
}
