/* ========================================
   Pure Apparel Website Stylesheet
   ======================================== */

/* Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Colors */
    --primary-green: #039645;
    --primary-green-dark: #027335;
    --accent-clay: #C77250;
    --accent-clay-dark: #B8785A;
    --neutral-light: #EBEBEB;
    --neutral-dark: #444444;
    --text-charcoal: #444444;
    --text-grey: #777777;
    --text-light: #999999;
    --white: #ffffff;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Typography */
    --font-primary: 'Nunito', system-ui, -apple-system, sans-serif;
    --font-secondary: 'Quicksand', system-ui, -apple-system, sans-serif;

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.875rem;
    --text-3xl: 2.5rem;
    --text-4xl: 3rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);

    /* Container */
    --container-max-width: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-charcoal);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--space-md) var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: var(--text-lg);
    color: var(--text-charcoal);
    text-decoration: none;
}

.nav-logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-xl);
}

.nav-menu a {
    color: var(--text-charcoal);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-green);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-charcoal);
    margin: 3px 0;
    transition: 0.3s;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, #027335 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3xl) var(--space-lg);
    margin-top: 70px;
    position: relative;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    color: var(--white);
}

.hero-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--space-xl);
    background: var(--accent-clay);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: clamp(var(--text-3xl), 6vw, var(--text-4xl));
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.hero-tagline {
    font-size: clamp(var(--text-lg), 3vw, var(--text-2xl));
    margin-bottom: var(--space-xl);
    opacity: 0.95;
}

.hero-description {
    font-size: var(--text-lg);
    line-height: 1.8;
    margin-bottom: var(--space-2xl);
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border: none;
    border-radius: 8px;
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: var(--text-base);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: var(--accent-clay);
    color: var(--neutral-light);
}

.btn-primary:hover {
    background: var(--accent-clay-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   SECTIONS
   ======================================== */

section {
    padding: var(--space-3xl) 0;
}

.section-title {
    font-family: var(--font-secondary);
    font-size: clamp(var(--text-2xl), 4vw, var(--text-3xl));
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-lg);
    color: var(--text-charcoal);
}

.section-intro {
    text-align: center;
    font-size: var(--text-lg);
    max-width: 800px;
    margin: 0 auto var(--space-2xl);
    color: var(--text-grey);
    line-height: 1.8;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about-section {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    grid-auto-rows: minmax(280px, auto);
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.about-card {
    background: var(--neutral-light);
    padding: var(--space-xl);
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.about-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-lg);
    color: var(--primary-green);
}

.about-icon svg {
    width: 100%;
    height: 100%;
}

.about-card h3 {
    font-family: var(--font-secondary);
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--text-charcoal);
}

.about-card p {
    color: var(--text-grey);
    line-height: 1.7;
}

/* ========================================
   PRODUCTS SECTION
   ======================================== */

.products-section {
    background: var(--neutral-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    background: var(--neutral-light);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-name {
    font-family: var(--font-secondary);
    font-size: var(--text-lg);
    font-weight: 600;
    padding: var(--space-lg);
    text-align: center;
    color: var(--text-charcoal);
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-section {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-3xl);
    margin-top: var(--space-2xl);
}

.business-card-display {
    width: 100%;
    max-width: 500px;
    margin: 0 auto var(--space-xl);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.business-card-display img {
    width: 100%;
    height: auto;
    display: block;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    color: var(--primary-green);
    flex-shrink: 0;
    margin-top: 4px;
}

.contact-item h4 {
    font-family: var(--font-secondary);
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--text-charcoal);
}

.contact-item p {
    color: var(--text-grey);
    line-height: 1.6;
}

.contact-item a {
    color: var(--primary-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-green-dark);
    text-decoration: underline;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-actions h3 {
    font-family: var(--font-secondary);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text-charcoal);
}

.contact-actions > p {
    color: var(--text-grey);
    line-height: 1.7;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.social-links {
    margin-top: var(--space-xl);
}

.social-links h4 {
    font-family: var(--font-secondary);
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--text-charcoal);
}

.social-icons {
    display: flex;
    gap: var(--space-md);
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--neutral-light);
    border-radius: 50%;
    color: var(--text-grey);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-3px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--text-charcoal);
    color: var(--neutral-light);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-brand img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-brand p {
    color: var(--text-light);
    font-size: var(--text-sm);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: var(--neutral-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-clay);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.footer-social a {
    color: var(--neutral-light);
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--accent-clay);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: var(--text-sm);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        box-shadow: var(--shadow-md);
    }

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

    .nav-menu li {
        border-bottom: 1px solid var(--neutral-light);
    }

    .nav-menu a {
        display: block;
        padding: var(--space-md) var(--space-lg);
    }

    .nav-toggle {
        display: flex;
    }

    .hero-section {
        min-height: auto;
        padding: var(--space-2xl) var(--space-md);
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    :root {
        --space-3xl: 2.5rem;
    }

    .container {
        padding: 0 var(--space-md);
    }

    section {
        padding: var(--space-2xl) 0;
    }

    .hero-logo {
        width: 90px;
        height: 90px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-buttons {
        gap: var(--space-sm);
    }

    .contact-buttons .btn {
        font-size: var(--text-sm);
        padding: var(--space-sm) var(--space-md);
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

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

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
