/* Classic Shop Theme - Header and Footer Styles */

/* Header Customizations */
.site-header,
header.site-header,
#masthead {
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid #d4a574 !important;
    position: relative;
    z-index: 999;
    padding: 20px 0;
}

/* Site Logo and Title */
.site-branding .site-title a,
.site-title a,
.logo a {
    color: #2c3e50 !important;
    font-weight: 700;
    font-size: 28px;
    text-decoration: none;
    font-family: 'Georgia', serif;
    letter-spacing: 1px;
}

.site-description,
.site-tagline {
    color: #7f8c8d !important;
    font-size: 14px;
    font-style: italic;
    margin-top: 8px;
}

/* Navigation Menu */
.main-navigation ul li a,
.primary-menu a,
.nav-menu a,
#primary-menu a {
    color: #2c3e50 !important;
    font-weight: 500;
    font-size: 16px;
    padding: 12px 20px;
    transition: all 0.3s ease;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid transparent;
}

.main-navigation ul li a:hover,
.primary-menu a:hover,
.nav-menu a:hover,
#primary-menu a:hover {
    color: #d4a574 !important;
    border-bottom-color: #d4a574;
    background: none !important;
}

/* Active Menu Item */
.main-navigation ul li.current-menu-item a,
.primary-menu .current-menu-item a,
.nav-menu .current-menu-item a {
    color: #d4a574 !important;
    border-bottom-color: #d4a574;
}

/* WooCommerce Header Elements */
.woocommerce-mini-cart,
.cart-contents,
.header-cart {
    background: #f8f9fa;
    padding: 12px 20px;
    border-radius: 5px;
    color: #2c3e50 !important;
    border: 1px solid #dee2e6;
    font-weight: 500;
}

.woocommerce-mini-cart:hover,
.cart-contents:hover,
.header-cart:hover {
    background: #d4a574;
    color: #ffffff !important;
    border-color: #d4a574;
}

/* My Account Link */
.my-account-link,
.header-account {
    color: #2c3e50 !important;
    padding: 12px 20px;
    border-radius: 5px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    font-weight: 500;
}

.my-account-link:hover,
.header-account:hover {
    background: #d4a574;
    color: #ffffff !important;
    border-color: #d4a574;
}

/* Footer Customizations */
.site-footer,
footer.site-footer,
#colophon,
.footer {
    background: #2c3e50 !important;
    color: #ecf0f1 !important;
    padding: 80px 0 30px;
    border-top: 5px solid #d4a574;
    position: relative;
}

.site-footer::before,
footer.site-footer::before,
#colophon::before,
.footer::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #d4a574, #c0956e);
}

/* Footer Sections */
.footer-top {
    background: rgba(0, 0, 0, 0.2);
    padding: 40px 0;
    margin-bottom: 40px;
}

/* Footer Widgets */
.footer-widgets,
.widget-area {
    margin-bottom: 50px;
}

.footer-widgets .widget-title,
.widget-area .widget-title,
.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4 {
    color: #d4a574 !important;
    font-weight: 600;
    margin-bottom: 25px;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 15px;
    font-family: 'Georgia', serif;
}

.footer-widgets .widget-title::after,
.widget-area .widget-title::after,
.site-footer h1::after,
.site-footer h2::after,
.site-footer h3::after,
.site-footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #d4a574;
}

/* Footer Links */
.site-footer a,
.footer a {
    color: #bdc3c7 !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 400;
}

.site-footer a:hover,
.footer a:hover {
    color: #d4a574 !important;
    text-decoration: none;
    padding-left: 5px;
}

/* Footer Lists */
.site-footer ul,
.footer ul {
    list-style: none;
    padding: 0;
}

.site-footer ul li,
.footer ul li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer ul li:last-child,
.footer ul li:last-child {
    border-bottom: none;
}

/* Footer Text */
.site-footer p,
.footer p,
.site-info {
    color: #95a5a6 !important;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 14px;
}

/* Copyright Area */
.site-info,
.copyright,
.footer-bottom {
    background: rgba(0, 0, 0, 0.5);
    padding: 25px 0;
    margin-top: 50px;
    border-top: 2px solid rgba(212, 165, 116, 0.3);
    text-align: center;
}

.site-info p,
.copyright p,
.footer-bottom p {
    margin: 0;
    color: #95a5a6 !important;
    font-size: 13px;
}

/* Social Media Icons */
.social-links,
.footer-social {
    text-align: center;
    margin: 30px 0;
}

.social-links a,
.footer-social a {
    background: rgba(212, 165, 116, 0.2);
    color: #d4a574 !important;
    padding: 15px;
    border-radius: 50%;
    display: inline-block;
    margin: 0 8px;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 20px;
    border: 2px solid rgba(212, 165, 116, 0.3);
}

.social-links a:hover,
.footer-social a:hover {
    background: #d4a574;
    color: #ffffff !important;
    transform: translateY(-3px) scale(1.1);
    border-color: #d4a574;
    box-shadow: 0 5px 15px rgba(212, 165, 116, 0.4);
}

/* Newsletter Signup */
.newsletter-signup {
    background: rgba(0, 0, 0, 0.3);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin: 30px 0;
}

.newsletter-signup input[type="email"] {
    background: #ffffff;
    border: none;
    padding: 12px 15px;
    border-radius: 5px 0 0 5px;
    width: 250px;
    font-size: 14px;
}

.newsletter-signup button {
    background: #d4a574;
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
}

.newsletter-signup button:hover {
    background: #c0956e;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .site-header,
    header.site-header,
    #masthead {
        padding: 15px 0;
    }
    
    .site-branding .site-title a,
    .site-title a {
        font-size: 24px;
    }
    
    .main-navigation ul li a {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .site-footer,
    footer.site-footer,
    #colophon {
        padding: 50px 0 20px;
    }
    
    .newsletter-signup input[type="email"] {
        width: 200px;
        margin-bottom: 10px;
    }
    
    .newsletter-signup button {
        border-radius: 5px;
    }
}

/* Custom Theme Additions */
.woocommerce-store-notice {
    background: #d4a574 !important;
    color: #ffffff !important;
    font-weight: 500;
}

.woocommerce-breadcrumb {
    background: #f8f9fa;
    padding: 15px 20px;
    border-left: 4px solid #d4a574;
    margin-bottom: 30px;
    font-size: 14px;
}

/* Classic Typography */
.site-header,
.site-footer {
    font-family: 'Georgia', serif;
}

/* Elegant Dividers */
.footer-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4a574, transparent);
    margin: 40px auto;
    width: 100px;
}