/*
Theme Name: Elegant Edges
Theme URI: https://elegantedges.com
Author: Elegant Edges
Author URI: https://elegantedges.com
Description: A small and elegant WordPress theme for jewelry items, especially bangles. Perfect for showcasing elegant jewelry collections with a modern, minimalist design.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: elegant-edges
Tags: jewelry, bangles, elegant, modern, minimalist, responsive
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-weight: 400;
    color: #2c2c2c;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    letter-spacing: 2px;
}

h2 {
    font-size: 2rem;
    letter-spacing: 1px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #555;
}

a {
    text-decoration: none;
    color: #8b7355;
    transition: color 0.3s ease;
}

a:hover {
    color: #6b5a42;
}

/* Header Styles */
.site-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    padding: 2rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-title {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 4px;
    color: #8b7355;
    text-transform: uppercase;
}

.site-title a {
    color: #8b7355;
}

.site-description {
    font-size: 0.9rem;
    color: #999;
    font-style: italic;
    margin-top: 0.5rem;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    margin: 0;
}

.main-navigation a {
    color: #333;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 0;
    position: relative;
    display: block;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #8b7355;
    transition: width 0.3s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}

/* Hamburger Menu Toggle Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    outline: none;
}

.menu-toggle:focus {
    outline: 2px solid #8b7355;
    outline-offset: 2px;
}

.menu-toggle-icon {
    display: flex;
    flex-direction: column;
    width: 24px;
    height: 18px;
    justify-content: space-between;
}

.menu-toggle-icon span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #8b7355;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Main Content */
.site-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    margin-bottom: 4rem;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #8b7355;
}

.hero-section p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2c2c2c;
}

.product-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.2rem;
    color: #8b7355;
    font-weight: 600;
}

/* Content Area */
.content-area {
    background: #fff;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

/* Footer */
.site-footer {
    background: #2c2c2c;
    color: #fff;
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.site-footer a {
    color: #8b7355;
}

.site-footer a:hover {
    color: #a68b6b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }
    
    .menu-toggle {
        display: block !important;
        order: 2;
    }
    
    .site-branding {
        order: 1;
    }
    
    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        max-height: 0 !important;
        overflow: hidden !important;
        transition: max-height 0.3s ease;
        width: 100%;
        opacity: 0;
        visibility: hidden;
    }
    
    .main-navigation.active {
        max-height: 400px !important;
        opacity: 1;
        visibility: visible;
    }
    
    .main-navigation ul {
        flex-direction: column !important;
        gap: 0;
        margin: 0;
        padding: 1rem 2rem;
        width: 100%;
        display: block !important;
    }
    
    .main-navigation li {
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
        display: block;
    }
    
    .main-navigation li:last-child {
        border-bottom: none;
    }
    
    .main-navigation a {
        padding: 1rem 0;
        display: block;
        width: 100%;
    }
    
    .main-navigation a::after {
        display: none !important;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .content-area {
        padding: 2rem 1.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 1.5rem;
    }
    
    .hero-section {
        padding: 2rem 1rem;
    }
    
    .hero-section h1 {
        font-size: 1.5rem;
    }
}

/* WordPress Specific */
.wp-block-image {
    margin: 2rem 0;
}

.wp-block-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Buttons */
.button, .wp-block-button__link {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #8b7355;
    color: #fff;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.button:hover, .wp-block-button__link:hover {
    background-color: #6b5a42;
    color: #fff;
}

