/*
Theme Name: FreshCart Child Theme
Theme URI: https://freshcartlaundry.co.za
Description: Custom child theme for FreshCart Laundry & Cleaning - Built by Under Bridges Entity
Author: Under Bridges Entity (Pty) Ltd
Author URI: https://underbridges.co.za
Template: astra
Version: 1.0.0
*/

/* ============================================
   FreshCart Brand Colors & Variables
   ============================================ */
:root {
    --freshcart-emerald: #0F6B4F;
    --freshcart-navy: #0B1F3B;
    --freshcart-charcoal: #1C1F24;
    --freshcart-white: #FFFFFF;
    --freshcart-light-gray: #F8F9FA;
    --freshcart-emerald-dark: #0A5439;
    --freshcart-emerald-light: #14876A;
}

/* ============================================
   Global Styles & Typography
   ============================================ */
body {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    color: var(--freshcart-charcoal);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--freshcart-navy);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1.5rem;
    color: var(--freshcart-charcoal);
}

/* ============================================
   Header & Navigation
   ============================================ */
.site-header {
    background: white;
    box-shadow: 0 2px 15px rgba(11, 31, 59, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.custom-logo {
    max-height: 80px;
    width: auto;
}

.main-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    color: var(--freshcart-navy);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.main-navigation a:hover {
    color: var(--freshcart-emerald);
}

/* Dropdown Menu */
.main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 5px 20px rgba(11, 31, 59, 0.15);
    min-width: 220px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.main-navigation li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-navigation .sub-menu li {
    display: block;
}

.main-navigation .sub-menu a {
    padding: 12px 20px;
    display: block;
}

/* CTA Button in Nav */
.nav-cta-button {
    background: var(--freshcart-emerald);
    color: white !important;
    padding: 12px 30px !important;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-cta-button:hover {
    background: var(--freshcart-emerald-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(15, 107, 79, 0.3);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, rgba(11, 31, 59, 0.95), rgba(15, 107, 79, 0.9)),
                url('hero-laundry.jpg') center/cover no-repeat;
    padding: 120px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-tagline {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.95);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
    color: white;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 35px;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-cta {
    background: var(--freshcart-emerald);
    color: white;
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin: 0 10px 10px 10px;
}

.hero-cta:hover {
    background: var(--freshcart-emerald-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    color: white;
}

.hero-cta.secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.hero-cta.secondary:hover {
    background: white;
    color: var(--freshcart-navy);
}

/* ============================================
   Highlights Section
   ============================================ */
.highlights-section {
    padding: 60px 0;
    background: var(--freshcart-emerald);
    color: white;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.highlight-icon {
    font-size: 2rem;
}

.highlight-text {
    font-size: 1rem;
    line-height: 1.5;
}

/* ============================================
   How It Works Section
   ============================================ */
.how-it-works {
    padding: 80px 0;
    background: var(--freshcart-light-gray);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
    color: var(--freshcart-navy);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--freshcart-emerald);
    margin: 20px auto 0;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.step-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(11, 31, 59, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border-top: 4px solid var(--freshcart-emerald);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(11, 31, 59, 0.15);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--freshcart-emerald);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 25px;
}

.step-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--freshcart-navy);
}

.step-description {
    color: var(--freshcart-charcoal);
    line-height: 1.7;
}

/* ============================================
   Service Packages
   ============================================ */
.service-packages {
    padding: 80px 0;
    background: white;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.package-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(11, 31, 59, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(11, 31, 59, 0.2);
    border-color: var(--freshcart-emerald);
}

.package-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.package-content {
    padding: 30px;
}

.package-name {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--freshcart-navy);
}

.package-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--freshcart-emerald);
    margin-bottom: 20px;
}

.package-description {
    color: var(--freshcart-charcoal);
    margin-bottom: 25px;
    line-height: 1.7;
}

.package-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.package-features li {
    padding: 8px 0;
    color: var(--freshcart-charcoal);
    display: flex;
    align-items: center;
    gap: 10px;
}

.package-features li::before {
    content: "✓";
    color: var(--freshcart-emerald);
    font-weight: bold;
    font-size: 1.2rem;
}

.package-button {
    background: var(--freshcart-emerald);
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.package-button:hover {
    background: var(--freshcart-emerald-dark);
    transform: scale(1.02);
    color: white;
}

/* ============================================
   Benefits Section
   ============================================ */
.benefits-section {
    padding: 80px 0;
    background: var(--freshcart-light-gray);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.benefit-card {
    background: white;
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(11, 31, 59, 0.08);
    transition: all 0.3s ease;
    border-left: 5px solid var(--freshcart-emerald);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(11, 31, 59, 0.12);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.benefit-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--freshcart-navy);
}

.benefit-description {
    color: var(--freshcart-charcoal);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ============================================
   Testimonial Section
   ============================================ */
.testimonial-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--freshcart-navy), var(--freshcart-emerald));
    color: white;
    text-align: center;
}

.testimonial-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonial-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 25px;
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.testimonial-quote {
    font-size: 1.4rem;
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.8;
}

.testimonial-author {
    font-size: 1.2rem;
    font-weight: 600;
}

/* ============================================
   Gallery/Before After Section
   ============================================ */
.gallery-section {
    padding: 80px 0;
    background: white;
}

.before-after-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.ba-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(11, 31, 59, 0.1);
}

.ba-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.ba-item:hover .ba-image {
    transform: scale(1.1);
}

.ba-label {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--freshcart-emerald);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.ba-label.after {
    background: var(--freshcart-navy);
}

/* ============================================
   Contact Form
   ============================================ */
.contact-section {
    padding: 80px 0;
    background: var(--freshcart-light-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-info {
    padding: 40px;
}

.info-item {
    margin-bottom: 30px;
}

.info-label {
    font-weight: 600;
    color: var(--freshcart-navy);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.info-value {
    color: var(--freshcart-charcoal);
    line-height: 1.8;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(11, 31, 59, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--freshcart-navy);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--freshcart-emerald);
    outline: none;
    box-shadow: 0 0 0 3px rgba(15, 107, 79, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-button {
    background: var(--freshcart-emerald);
    color: white;
    padding: 15px 50px;
    border: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: var(--freshcart-emerald-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(15, 107, 79, 0.3);
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: var(--freshcart-navy);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.footer-logo {
    max-width: 150px;
    margin-bottom: 20px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    line-height: 1.7;
}

.footer-heading {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--freshcart-emerald);
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--freshcart-emerald);
    padding-left: 5px;
}

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

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--freshcart-emerald);
    transform: translateY(-3px);
}

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

/* Newsletter Signup */
.newsletter-signup {
    margin-top: 30px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
}

.newsletter-button {
    background: var(--freshcart-emerald);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-button:hover {
    background: var(--freshcart-emerald-dark);
    transform: scale(1.05);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .steps-container,
    .packages-grid,
    .benefits-grid,
    .before-after-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }

.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* WhatsApp Button (Floating) */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #1ebe57;
    transform: scale(1.1);
}
