/* ============================================
   THE MONKEY BUSINESS - Main Stylesheet
   Easy to edit: colors, fonts, and content
   ============================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables (Easy to customize) --- */
:root {
    --color-dark-green: #184621;
    --color-slate: #6B7A8F;
    --color-cream: #F8EFD4;
    --color-dark: #0d141a;
    --color-text: #56585e;
    --color-white: #ffffff;
    --color-footer: #23223A;
    --color-light-gray: #f5f5f5;
    --font-primary: 'Poppins', sans-serif;
    --max-width: 1224px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

ul {
    list-style: none;
}

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

/* --- Typography --- */
h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 500;
    line-height: 1.25;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 500;
    line-height: 1.3;
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 500;
    line-height: 1.35;
}

h6 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

p, .body-text {
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.6;
}

.body-small {
    font-size: 0.875rem;
    line-height: 1.5;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-white);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
    transition: var(--transition);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    padding-bottom: 20px;
}

.logo img {
    width: 200px;
    height: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--color-dark);
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #89A891;
    transition: width 0.3s ease;
}

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

/* --- Dropdown Menu --- */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-white);
    min-width: 160px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 8px;
    z-index: 120;
    padding: 8px 0;
    margin-top: 10px;
}

.dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeIn 0.2s ease forwards;
}

.dropdown-menu a {
    color: var(--color-dark) !important;
    padding: 10px 20px;
    display: block;
    font-size: 0.9rem !important;
    white-space: nowrap;
    text-align: center;
}

.dropdown-menu a::after {
    display: none !important;
}

.dropdown-menu a:hover {
    background-color: var(--color-light-gray);
    color: var(--color-dark-green) !important;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, 10px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-icons a {
    font-size: 1.2rem;
    color: var(--color-dark);
}

/* Mobile menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 110;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-dark);
    margin: 6px 0;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -5px);
}

/* ============================================
   HERO SECTION (Homepage Block 1)
   ============================================ */
.hero {
    background: linear-gradient(to bottom, #597564 0%, #465f4d 100%);
    min-height: 664px;
    display: flex;
    align-items: center;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: calc(50% + 150px);
    right: 0;
    height: 100%;
    background: linear-gradient(to bottom, #e6eae5 0%, #d6ded8 100%);
    z-index: 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    min-height: 664px;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 45%;
    padding-left: 2%;
}

.hero-content h1 {
    color: var(--color-white);
    margin-bottom: 16px;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
}

.hero-content .subtitle {
    color: var(--color-white);
    font-size: 1rem;
    margin-bottom: 32px;
    opacity: 0.9;
    max-width: 90%;
}

.hero-rating {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}

.hero-stars {
    color: var(--color-white);
    font-size: 1rem;
    letter-spacing: 2px;
}

.hero-rating-text {
    color: var(--color-white);
    font-size: 0.875rem;
    opacity: 0.85;
}

.hero-image {
    position: relative;
    width: 55%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hero-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    clip-path: polygon(20% 0%, 100% 0%, 80% 100%, 0% 100%);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    border-radius: 28px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

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

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

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

.btn-primary:hover {
    background: #1a5529;
    transform: translateY(-2px);
}

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

.btn-slate:hover {
    background: #5a6b7e;
    transform: translateY(-2px);
}

/* ============================================
   ABOUT / MEET SECTION (Homepage Block 2)
   ============================================ */
.section-meet {
    padding: 80px 0;
    background: var(--color-white);
}

.section-meet .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.meet-content h2 {
    margin-bottom: 24px;
    color: var(--color-dark);
}

.meet-content p {
    margin-bottom: 32px;
    font-size: 1.1rem;
}

.meet-stats {
    display: flex;
    gap: 48px;
    margin-top: 32px;
}

.stat-item h3 {
    color: var(--color-slate);
    margin-bottom: 4px;
}

.stat-item p {
    color: var(--color-text);
    font-size: 0.95rem;
}

.meet-image {
    position: relative;
    padding-right: 40px;
}

.meet-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 20px;
}

/* ============================================
   FEATURED / CATEGORIES SECTION (Block 3)
   ============================================ */
.section-featured {
    padding: 80px 0;
    background: var(--color-white);
}

.section-featured .section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-featured .section-header h2 {
    margin-bottom: 12px;
}

.section-featured .section-header p {
    color: var(--color-text);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.featured-card {
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

.featured-card.tall {
    grid-row: span 2;
}

.featured-card img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.featured-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0,0,0,0.5));
}

.featured-card-content {
    padding: 24px;
    background: var(--color-cream);
}

.featured-card-content h6 {
    margin-bottom: 8px;
}

.featured-card-content p {
    font-size: 0.9rem;
}

/* ============================================
   PRODUCTS / GALLERY SECTION (Block 4)
   ============================================ */
.section-gallery {
    padding: 80px 0;
    background: var(--color-white);
}

.gallery-header {
    text-align: center;
    margin-bottom: 48px;
}

.gallery-header h2 {
    margin-bottom: 12px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.gallery-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.gallery-card-content {
    padding: 20px;
}

.gallery-card-content h6 {
    margin-bottom: 8px;
}

/* ============================================
   NEWSLETTER / CTA SECTION (Block 5)
   ============================================ */
.section-cta {
    padding: 100px 0;
    background: var(--color-dark-green);
    text-align: center;
}

.section-cta h2 {
    color: var(--color-white);
    margin-bottom: 24px;
}

.section-cta p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 32px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 14px 20px;
    border-radius: 10px;
    border: 1px solid rgba(184, 192, 204, 0.5);
    font-family: var(--font-primary);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.newsletter-form input[type="email"]:focus {
    border-color: var(--color-white);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.15);
}

.newsletter-form button {
    padding: 14px 28px;
    border-radius: 50px;
    background: var(--color-slate);
    color: var(--color-white);
    border: none;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: #5a6b7e;
    transform: translateY(-2px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-footer);
    padding: 60px 0 40px;
    color: var(--color-white);
}

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

.footer-col h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--color-white);
}

.footer-col p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-col a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: var(--color-white);
}

.footer-logo {
    width: 180px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--color-slate);
    border-color: var(--color-slate);
}

.footer-form {
    margin-top: 12px;
}

.footer-form input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(184, 192, 204, 0.4);
    background: var(--color-white);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    margin-bottom: 12px;
    outline: none;
}

.footer-form button {
    padding: 12px 24px;
    border-radius: 50px;
    background: var(--color-slate);
    color: var(--color-white);
    border: none;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.footer-form button:hover {
    background: #5a6b7e;
}

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

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.page-hero {
    padding: 80px 0;
    background: linear-gradient(133deg, var(--color-dark-green), var(--color-white));
    text-align: center;
}

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

.page-hero p {
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto;
}

.about-content {
    padding: 80px 0;
}

.about-content .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    margin-bottom: 16px;
}

.about-text p {
    margin-bottom: 16px;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 16px;
}

/* ============================================
   COLLECTIONS PAGE
   ============================================ */
.collections-grid {
    padding: 80px 0;
}

.collections-grid .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.collection-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
    background: var(--color-white);
}

.collection-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.collection-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.collection-card-content {
    padding: 24px;
}

.collection-card-content h4 {
    margin-bottom: 8px;
}

.collection-card-content p {
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.collection-card-content .btn {
    padding: 10px 24px;
    font-size: 0.875rem;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
    padding: 80px 0;
}

.contact-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    margin-bottom: 24px;
}

.contact-info-item {
    margin-bottom: 24px;
}

.contact-info-item h6 {
    color: var(--color-dark);
    margin-bottom: 6px;
}

.contact-info-item p {
    color: var(--color-text);
}

.contact-form {
    background: var(--color-light-gray);
    padding: 40px;
    border-radius: 16px;
}

.contact-form h3 {
    margin-bottom: 24px;
}

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

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(184, 192, 204, 0.6);
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
    background: var(--color-white);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-dark-green);
    box-shadow: 0 0 0 3px rgba(24, 70, 33, 0.1);
}

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

/* ============================================
   WHATSAPP BUBBLE
   ============================================ */
.whatsapp-bubble {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 50;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: var(--transition);
}

.whatsapp-bubble:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.whatsapp-bubble svg {
    width: 28px;
    height: 28px;
    fill: white;
}

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

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero .container,
    .section-meet .container,
    .about-content .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .featured-card.tall {
        grid-row: span 1;
    }

    .gallery-grid,
    .collections-grid .container {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer .container {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        padding: 80px 32px 32px;
        box-shadow: -4px 0 20px rgba(0,0,0,0.1);
        z-index: 105;
    }

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

    .hamburger {
        display: block;
    }

    .hero {
        min-height: auto;
        padding: 40px 0;
    }

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

    .hero-rating {
        justify-content: center;
    }

    .hero-image img {
        clip-path: none;
        border-radius: 16px;
        max-height: 350px;
    }

    .gallery-grid,
    .collections-grid .container {
        grid-template-columns: 1fr;
    }

    .footer .container {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .meet-stats {
        flex-direction: column;
        gap: 24px;
    }

    .logo img {
        width: 160px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-white { color: var(--color-white); }
.text-slate { color: var(--color-slate); }
.mb-0 { margin-bottom: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
