/* Apple-Style Minimalist Design - Lekha Advertising */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Apple-inspired Palette (using Brand Colors) */
    --navy: #1C2B4A;
    --navy-dark: #0d1526;
    --terracotta: #D85C28;
    --terracotta-hover: #E6723A;
    --white: #FFFFFF;
    --off-white: #F5F5F7;
    /* Apple's classic light gray */
    --gray-text: #86868b;
    --black-text: #1d1d1f;

    /* Typography - San Francisco Style */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;

    /* Spacing */
    --container-max: 1200px;
    /* Slightly tighter for reading, but full width for sections */
    --header-height: 110px;
    /* Apple's slim header */

    /* Shadows & Depth */
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.08);

    /* Transitions */
    --ease-apple: cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-primary);
    background: var(--white);
    color: var(--black-text);
    line-height: 1.47059;
    letter-spacing: -0.022em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    color: var(--black-text);
    letter-spacing: -0.005em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s var(--ease-apple);
}

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

/* Navigation - Apple Style */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 110px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 9999;
    transition: background 0.3s var(--ease-apple);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.nav-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 22px;
}

.logo-img {
    height: 100px;
    width: auto;
    opacity: 1;
    transition: opacity 0.3s;
    display: block;
}

.logo-img:hover {
    opacity: 1;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    font-size: 14px;
    color: var(--black-text);
    opacity: 0.8;
    transition: opacity 0.3s;
}

.nav-link:hover {
    opacity: 1;
    color: var(--terracotta);
}

.btn-nav-cta {
    display: none;
    /* Apple usually doesn't have a CTA in the slim nav */
}

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

.hamburger span {
    width: 16px;
    height: 1px;
    background: var(--black-text);
}

/* Hero Section - Immersive */
.hero {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: var(--off-white);
    position: relative;
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/products/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.08;
    z-index: 0;
}

.hero-content {
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    opacity: 0;
    /* For animation */
    transform: translateY(20px);
}

.hero-title {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--navy) 0%, #4a5d82 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(20px, 4vw, 28px);
    font-weight: 400;
    color: var(--gray-text);
    margin-bottom: 30px;
}

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

.btn {
    padding: 12px 24px;
    border-radius: 980px;
    /* Pill shape */
    font-size: 17px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s var(--ease-apple);
}

.btn-primary {
    background: var(--terracotta);
    /* Using brand color as accent */
    color: var(--white);
    border: 1px solid var(--terracotta);
}

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

.btn-secondary {
    background: transparent;
    color: var(--terracotta);
    border: 1px solid transparent;
}

.btn-secondary:hover {
    text-decoration: underline;
}

/* Bento Grid Layouts */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    padding-top: 100px;
}

.section-title {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 21px;
    color: var(--gray-text);
}

/* Products - Bento Grid */
.products {
    background: var(--white);
    padding: 120px 0 80px;
}

.products-divider {
    height: 1px;
    background: #d2d2d7;
    width: 100%;
    margin: 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.product-item {
    background: var(--off-white);
    border-radius: 28px;
    /* Large Apple-style radius */
    overflow: hidden;
    position: relative;
    height: 500px;
    /* Tall cards */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    transition: transform 0.4s var(--ease-apple), box-shadow 0.4s var(--ease-apple);
    cursor: pointer;
}

.product-item:hover {
    transform: scale(1.01);
    box-shadow: var(--shadow-hover);
}

.product-text {
    padding: 30px 30px 20px;
    z-index: 2;
    flex-shrink: 0;
}

.product-text h3 {
    font-size: 32px;
    margin-bottom: 8px;
    white-space: nowrap;
}

.product-text p {
    font-size: 19px;
    color: var(--gray-text);
    line-height: 1.4;
}

.product-image-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3;
    flex: 0 0 auto;
    position: relative;
    margin-top: 0;
    overflow: hidden;
    max-height: 60%;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    min-width: 100%;
    min-height: 100%;
}

.product-label {
    display: none;
}

/* Dark Mode Section (About) */
.about {
    background: #1a1a2e;
    /* Deep blue background */
    color: var(--off-white);
    padding: 80px 0 120px;
    overflow: hidden;
}

.about .section-title {
    color: var(--off-white);
}

.about .container {
    overflow: visible;
}

.about-content {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 50px 60px;
    margin: 0;
    scroll-behavior: smooth;
}

@media (max-width: 768px) {
    .about-content {
        padding: 0 24px 60px;
    }
}

.about-content::-webkit-scrollbar {
    display: none;
}

.about-card {
    background: #16213e;
    /* Dark blue */
    border-radius: 28px;
    padding: 0;
    min-height: 400px;
    min-width: calc(100vw - 100px);
    max-width: calc(100vw - 100px);
    width: calc(100vw - 100px);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    scroll-snap-align: center;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .about-card {
        min-width: 600px;
        max-width: 600px;
        width: 600px;
    }
}

@media (min-width: 1024px) {
    .about-card {
        min-width: 700px;
        max-width: 700px;
        width: 700px;
    }
}

.about-header {
    position: relative;
    z-index: 3;
    padding: 40px 50px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.about-header h3 {
    color: var(--off-white);
    font-size: 28px;
    margin: 0;
    font-weight: 600;
    flex: 1;
}

.about-text {
    position: relative;
    z-index: 2;
    padding: 0 50px 40px;
    opacity: 1;
}

.about-text p {
    color: #86868b;
    font-size: 19px;
    line-height: 1.6;
    margin: 0;
}

.about-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    padding: 0 24px;
}

.about-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    padding: 0;
}

.about-dot.active {
    width: 24px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.8);
}

.about-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.about-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    background-size: cover;
    background-position: center;
    transition: transform 1s ease;
}

.about-card:hover .about-bg-image {
    transform: scale(1.05);
    opacity: 0.3;
}

/* Process - Minimalist Icons */
.process {
    padding: 80px 0 120px;
    background: var(--white);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

.process-step {
    text-align: center;
    flex: 1;
    padding: 0 10px;
}

.process-icon {
    font-size: 40px;
    margin-bottom: 20px;
    background: var(--off-white);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--navy);
}

.process-step h3 {
    font-size: 17px;
    margin-bottom: 5px;
}

.process-step p {
    font-size: 14px;
    color: var(--gray-text);
}

/* Footer - Apple Style */
.footer {
    background: var(--off-white);
    padding: 40px 0 20px;
    font-size: 14px;
    color: var(--gray-text);
}

.footer-content {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 22px;
    border-bottom: 1px solid #d2d2d7;
    padding-bottom: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
}

.footer-brand h3 {
    color: var(--black-text);
    font-size: 14px;
    margin-bottom: 5px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--black-text);
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-bottom {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    justify-content: space-between;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stats Section - Minimalist */
.stats {
    padding: 80px 0;
    background: var(--white);
    border-bottom: 1px solid #d2d2d7;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--black-text);
    margin-bottom: 5px;
    background: linear-gradient(135deg, var(--navy) 0%, #4a5d82 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Testimonials - Apple Style Cards */
.testimonials {
    padding: 80px 0 120px;
    background: var(--off-white);
    overflow: hidden;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.testimonial-card {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s var(--ease-apple);
}

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

.testimonial-text {
    font-size: 19px;
    line-height: 1.4;
    color: var(--black-text);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author strong {
    display: block;
    font-size: 15px;
    color: var(--black-text);
}

.testimonial-author span {
    font-size: 13px;
    color: var(--gray-text);
}

/* Contact Section - Clean Form */
.contact {
    padding: 80px 0 120px;
    background: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form-wrapper {
    background: var(--off-white);
    padding: 40px 40px 20px;
    border-radius: 28px;
}

.contact-form-wrapper .btn-primary {
    margin-top: 0;
    margin-bottom: 0;
    width: 100%;
}

.form-message {
    margin-top: 12px;
    margin-bottom: 0;
    min-height: 0;
}

#submitBtn {
    margin-top: 0;
    margin-bottom: 0;
}

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

.form-group:last-of-type {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-text);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--white);
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    font-size: 17px;
    font-family: var(--font-primary);
    color: var(--black-text);
    transition: all 0.2s var(--ease-apple);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--terracotta);
    box-shadow: 0 0 0 4px rgba(216, 92, 40, 0.1);
}

.contact-info {
    padding-top: 20px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--off-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.contact-details h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.contact-details p,
.contact-details a {
    font-size: 15px;
    color: var(--gray-text);
    line-height: 1.4;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 5px;
}

.social-link {
    font-size: 14px;
    color: var(--terracotta);
    font-weight: 500;
}

.map-container {
    margin-top: 30px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

/* Floating Elements */
.mobile-cta,
.whatsapp-cta,
.back-to-top {
    position: fixed;
    z-index: 100;
    transition: all 0.3s var(--ease-apple);
}

.mobile-cta {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--navy);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 980px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: none;
    /* Hidden on desktop */
}

.whatsapp-cta {
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-cta:hover {
    transform: scale(1.1);
}

.back-to-top {
    bottom: 30px;
    right: 100px;
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 1px solid #d2d2d7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: all;
}

/* Responsive */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    /* Navigation */
    .navbar {
        height: 70px;
    }

    .logo-img {
        height: 50px;
    }

    .nav-link {
        font-size: 16px;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: saturate(180%) blur(20px);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid #d2d2d7;
    }

    .hamburger {
        display: flex;
    }

    /* Hero */
    .hero {
        padding-top: 70px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .btn {
        width: 100%;
    }

    /* Products */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 16px;
    }

    .product-item {
        height: auto;
        min-height: 400px;
    }

    .product-text h3 {
        font-size: 24px;
        white-space: normal;
    }

    .product-text p {
        font-size: 16px;
    }

    /* Section Headers */
    .section-header {
        padding-top: 60px;
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 36px;
    }

    .section-subtitle {
        font-size: 18px;
    }

    /* Stats */
    .stats {
        padding: 60px 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 0 16px;
    }

    .stat-number {
        font-size: 36px;
    }

    /* Process */
    .process {
        padding: 60px 0 80px;
    }

    .process-steps {
        flex-direction: column;
        gap: 40px;
        padding: 0 16px;
    }

    /* Testimonials */
    .testimonials {
        padding: 60px 0 80px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }

    /* About */
    .about {
        padding: 60px 0 80px;
    }

    .about-content {
        padding: 0 16px 60px;
    }

    .about-card {
        min-width: calc(100vw - 32px);
        max-width: calc(100vw - 32px);
        width: calc(100vw - 32px);
    }

    .about-header {
        padding: 30px 24px 15px;
        min-height: 100px;
    }

    .about-header h3 {
        font-size: 22px;
    }

    .about-text {
        padding: 0 24px 30px;
    }

    .about-text p {
        font-size: 16px;
    }

    .about-dots {
        padding: 0 16px;
    }

    /* Contact */
    .contact {
        padding: 60px 0 80px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 16px;
    }

    .contact-form-wrapper {
        padding: 30px 24px 20px;
    }

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

    .contact-info {
        padding-top: 0;
    }

    /* Footer */
    .footer {
        padding: 30px 0 15px;
        font-size: 12px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        padding: 0 16px;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }

    /* Divider */
    .products-divider {
        margin: 0;
    }

    /* Back to top */
    .back-to-top {
        right: 20px;
        bottom: 90px;
    }

    .whatsapp-cta {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
    }

    /* Touch-friendly buttons */
    .btn {
        min-height: 44px;
        padding: 14px 24px;
    }

    /* Prevent text overflow */
    * {
        word-wrap: break-word;
    }

    /* Better spacing for small screens */
    .container {
        padding: 0 16px;
    }
}