/*
Theme Name: Serenade Florist
Theme URI: https://serenadecreations.florist
Author: Serenade Creations
Author URI: https://serenadecreations.florist
Description: A beautiful e-commerce WordPress theme for Serenade Creations Florist featuring elegant floral designs, integrated WooCommerce support, and a boutique shopping experience.
Version: 1.0
Requires at least: 5.0
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: serenade-florist
Tags: e-commerce, woocommerce, florist, flowers, responsive, custom-menu, featured-images, custom-colors
*/

/* ============================================
   GLOBAL STYLES
   ============================================ */

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

:root {
    --primary: #d4a5a5;
    --secondary: #8b6f6f;
    --accent: #f4e4e4;
    --dark: #3d2e2e;
    --light: #fff;
    --shadow: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: #fff;
}

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

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

/* ============================================
   TOP BANNER
   ============================================ */

.top-banner {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    color: white;
    text-align: center;
    padding: 12px 20px;
    font-weight: 500;
    font-size: 14px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.site-header {
    background: white;
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.site-logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--secondary);
    font-family: Georgia, serif;
    text-decoration: none;
}

.site-logo span {
    color: var(--primary);
}

.main-navigation {
    display: flex;
    gap: 30px;
    align-items: center;
    list-style: none;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Dropdown Menu */
.main-navigation .sub-menu {
    display: none;
    position: absolute;
    background: white;
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    top: 100%;
    left: 0;
    border-radius: 8px;
    overflow: hidden;
    list-style: none;
    padding: 0;
}

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

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

.main-navigation .sub-menu a:hover {
    background: var(--accent);
}

.header-cart {
    position: relative;
    cursor: pointer;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff6b9d;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark);
}

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

.hero-section {
    background: linear-gradient(rgba(212, 165, 165, 0.3), rgba(139, 111, 111, 0.3)),
                var(--accent);
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 56px;
    margin-bottom: 20px;
    font-family: Georgia, serif;
    color: var(--secondary);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

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

.btn,
button[type="submit"],
.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    color: white !important;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn:hover,
button[type="submit"]:hover,
.woocommerce .button:hover,
.woocommerce button.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(196, 69, 105, 0.4);
}

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

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 50px;
    color: var(--secondary);
    font-family: Georgia, serif;
}

/* ============================================
   CATEGORY GRID
   ============================================ */

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.category-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: var(--dark);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

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

.category-info {
    padding: 25px;
    text-align: center;
}

.category-info h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--secondary);
}

.category-info p {
    color: #666;
    font-size: 14px;
}

/* ============================================
   WOOCOMMERCE PRODUCTS
   ============================================ */

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

.woocommerce ul.products li.product {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
    transition: transform 0.3s;
    text-align: center;
    padding: 0;
    margin: 0;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
}

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

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 20px;
    margin: 20px 0 10px;
    color: var(--secondary);
}

.woocommerce ul.products li.product .price {
    font-size: 24px;
    color: var(--primary);
    font-weight: bold;
    margin-bottom: 15px;
}

.woocommerce ul.products li.product .button {
    margin: 0 20px 20px;
    width: calc(100% - 40px);
}

/* Product Single Page */
.woocommerce div.product {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow);
}

.woocommerce div.product .product_title {
    font-size: 36px;
    color: var(--secondary);
    font-family: Georgia, serif;
}

.woocommerce div.product p.price {
    font-size: 32px;
    color: var(--primary);
    font-weight: bold;
}

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

.about-section {
    background: white;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 4px 20px var(--shadow);
    text-align: center;
}

.about-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--secondary);
    font-family: Georgia, serif;
}

.about-section p {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

.signature {
    font-style: italic;
    color: var(--primary);
    font-size: 20px;
    margin-top: 30px;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px var(--shadow);
}

.contact-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--secondary);
}

.contact-card p {
    color: #666;
    font-size: 16px;
}

.contact-card a {
    color: var(--primary);
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

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

.site-footer {
    background: var(--dark);
    color: white;
    padding: 60px 40px 30px;
}

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

.footer-widget h3 {
    margin-bottom: 20px;
    color: var(--primary);
}

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

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

.footer-widget a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-widget a:hover {
    color: var(--primary);
}

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

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s;
}

.social-icon:hover {
    transform: scale(1.1);
}

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

/* ============================================
   WOOCOMMERCE CART & CHECKOUT
   ============================================ */

.woocommerce table.shop_table {
    border-radius: 10px;
    overflow: hidden;
}

.woocommerce-cart .cart-collaterals {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow);
}

.woocommerce form.checkout {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow);
}

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

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .header-content {
        flex-wrap: wrap;
    }

    .main-navigation {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 20px 0;
    }

    .main-navigation.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 36px;
    }

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

    .category-grid,
    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }
}

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

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

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

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

.bg-accent {
    background: var(--accent);
}

.bg-white {
    background: white;
}
