/*
Theme Name: Maradise
Theme URI: https://maradise.co.za
Author: Maradise
Author URI: https://maradise.co.za
Description: A warm, elegant WooCommerce theme for lifestyle and baby essentials
Version: 1.0
Requires at least: 5.9
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: maradise
Tags: e-commerce, woocommerce, baby-store, lifestyle
*/

/* ============================================
   ROOT VARIABLES - Maradise Color Palette
   ============================================ */
:root {
    --primary-beige: #E8DCC4;
    --secondary-beige: #F5F0E8;
    --warm-tan: #D4B896;
    --gold-accent: #C9A961;
    --text-dark: #2F2F2F;
    --text-light: #6B6B6B;
    --white: #FFFFFF;
    --soft-shadow: rgba(0, 0, 0, 0.08);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--secondary-beige);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-dark);
}

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

p {
    font-family: 'Lato', 'Helvetica', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--gold-accent);
}

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

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   BUTTONS
   ============================================ */
.button,
.btn,
.wp-block-button__link,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--warm-tan);
    color: var(--white);
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    text-align: center;
    text-transform: none;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px var(--soft-shadow);
}

.button:hover,
.btn:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover {
    background-color: var(--gold-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.3);
    color: var(--white);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    background-color: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 8px var(--soft-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.site-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--text-dark);
}

.main-navigation {
    display: flex;
    gap: 30px;
}

.main-navigation a {
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-dark);
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold-accent);
    transition: width 0.3s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}

.header-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, var(--primary-beige) 0%, var(--secondary-beige) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 184, 150, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero-subtitle {
    font-family: 'Lato', sans-serif;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   CATEGORY ICONS SECTION
   ============================================ */
.category-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 60px 0;
}

.category-icon-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.category-icon-item:hover {
    transform: translateY(-5px);
}

.icon-circle {
    width: 100px;
    height: 100px;
    background-color: var(--primary-beige);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: all 0.3s ease;
}

.category-icon-item:hover .icon-circle {
    background-color: var(--warm-tan);
    box-shadow: 0 8px 20px var(--soft-shadow);
}

.icon-circle svg,
.icon-circle img {
    width: 40px;
    height: 40px;
}

.category-name {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* ============================================
   PRODUCT GRID
   ============================================ */
.products-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce ul.products li.product {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--soft-shadow);
    transition: all 0.3s ease;
    position: relative;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.woocommerce ul.products li.product img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 15px 20px 10px;
    color: var(--text-dark);
}

.woocommerce ul.products li.product .price {
    font-family: 'Lato', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 20px 20px;
}

.woocommerce ul.products li.product .price .currency {
    font-size: 0.9rem;
}

/* ============================================
   SINGLE PRODUCT
   ============================================ */
.woocommerce div.product {
    padding: 60px 0;
}

.woocommerce div.product div.images {
    width: 48%;
    float: left;
}

.woocommerce div.product div.summary {
    width: 48%;
    float: right;
}

.woocommerce div.product .product_title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.woocommerce div.product p.price {
    font-size: 2rem;
    color: var(--gold-accent);
    margin-bottom: 30px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background-color: var(--primary-beige);
    padding: 60px 0 30px;
    margin-top: 80px;
}

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

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--warm-tan);
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 12px var(--soft-shadow);
    }
    
    .main-navigation.active {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .category-icons {
        gap: 20px;
    }
    
    .icon-circle {
        width: 80px;
        height: 80px;
    }
    
    .woocommerce ul.products {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .woocommerce div.product div.images,
    .woocommerce div.product div.summary {
        width: 100%;
        float: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .category-icons {
        flex-wrap: wrap;
    }
}
