/*
Theme Name: NN DANDASHA Handmade
Description: A beautiful drag-and-drop compatible WordPress theme for NN DANDASHA Handmade jewelry business by Nancy Ghaly. Features elegant purple and cream color scheme with full page builder support.
Author: NN DANDASHA Team
Version: 1.0
License: GPL v2 or later
Text Domain: nn-dandasha
Tags: jewelry, handmade, ecommerce, drag-drop, page-builder, elementor, gutenberg, responsive, elegant, purple
*/

/* Import the main styles from our drag-and-drop website */

/* Color Variables - Matching Logo Colors */
:root {
    --primary-color: #8B6F9B;
    --secondary-color: #A085B3;
    --accent-color: #F5E6D3;
    --text-color: #4A4A4A;
    --light-gray: #FAF7F5;
    --white: #FFFFFF;
    --logo-purple: #8B6F9B;
    --logo-cream: #F5E6D3;
    --shadow: rgba(139, 111, 155, 0.1);
    --gradient: linear-gradient(135deg, var(--logo-purple), var(--secondary-color));
}

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

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

/* WordPress Specific Styles */
.wp-block-group,
.wp-block-columns,
.wp-block-column {
    margin-bottom: 2rem;
}

/* Gutenberg Block Styles */
.wp-block-heading {
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.wp-block-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.wp-block-button .wp-block-button__link {
    background: var(--primary-color);
    color: var(--accent-color);
    border-radius: 50px;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

.wp-block-button .wp-block-button__link:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 111, 155, 0.3);
}

/* WooCommerce Styles */
.woocommerce .woocommerce-products-header__title {
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.woocommerce ul.products li.product {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(139, 111, 155, 0.2);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.woocommerce ul.products li.product .price {
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 600;
}

.woocommerce ul.products li.product .button {
    background: var(--primary-color);
    color: var(--accent-color);
    border-radius: 25px;
    padding: 10px 20px;
    border: none;
    transition: all 0.3s ease;
}

.woocommerce ul.products li.product .button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Container */
.container,
.wp-block-group__inner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 20px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.site-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    letter-spacing: 2px;
    text-decoration: none;
}

.site-title:hover {
    color: var(--secondary-color);
}

.site-description {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Navigation */
.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

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

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

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

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

/* Hero Section Styles */
.hero-section {
    background: var(--gradient);
    color: var(--accent-color);
    text-align: center;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

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

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.2s both;
}

/* Page Builder Compatibility */
.elementor-widget-heading .elementor-heading-title {
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.elementor-widget-text-editor {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.elementor-widget-button .elementor-button {
    background: var(--primary-color);
    color: var(--accent-color);
    border-radius: 50px;
    padding: 15px 30px;
    border: none;
    transition: all 0.3s ease;
}

.elementor-widget-button .elementor-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 111, 155, 0.3);
}

/* Footer */
.site-footer {
    background: var(--primary-color);
    color: var(--accent-color);
    padding: 60px 0 20px;
    margin-top: 4rem;
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--accent-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 0.8;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .site-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
}

