/*
Theme Name: Eterna
Theme URI: https://example.com/eterna-theme
Author: Kaushik Talukder
Author URI: https://inforootsolution.com/
Description: A custom WordPress theme with modern design and clean layout
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eterna
Tags: responsive-layout, clean, modern,  woocommerce, 
*/

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

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

a {
    text-decoration: none;
    color: #333;
}

a:hover {
    text-decoration: underline;
}

/* Header Styles - Multi-Layered E-commerce Design */
/* Header Styles - Multi-Layered E-commerce Design */
.site-header {
    background: white;
    color: #333;
    position: sticky;
    top: -1px;
    /* Ensure no gaps */
    z-index: 1000;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Top Bar */
.top-bar {
    background: #000;
    color: white;
    padding: 8px 0;
    font-size: 12px;
}

.top-bar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.free-delivery-text {
    color: white;
    font-weight: 400;
}

.country-selector {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.country-selector:hover {
    opacity: 0.8;
}

/* Main Header */
.main-header {
    background: white;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.main-header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Search Section */
.search-section {
    flex: 1;
    max-width: 400px;
}

.search-bar {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 20px;
    padding: 7px 18px;
    border: 1px solid #e9ecef;
}

.search-input {
    flex: 1;
    border: none;
    background: none;
    outline: none;
    font-size: 14px;
    color: #333;
}

.search-input::placeholder {
    color: #999;
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    opacity: 0.7;
}

/* Logo Section */
.logo-section {
    flex: 0 0 auto;
    text-align: center;
    /* Center align logo and description */
}

.brand-logo {
    font-size: 36px;
    font-weight: bold;
    color: #b8860b;
    text-align: center;
    letter-spacing: 2px;
    display: block;
    /* Ensure it takes full width for text alignment */
}

.logo-section .custom-logo-link {
    display: block;
}

.logo-section img {
    max-height: 60px;
    /* Adjust according to header design */
    width: auto;
    display: inline-block;
}

.site-description {
    font-size: 13px;
    color: #666;
    margin: 5px 0 0;
    font-weight: 400;
}

/* Header Icons */
.header-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.icon-btn:hover {
    background: #f8f9fa;
    border-radius: 50%;
}

.cart-btn {
    position: relative;
}

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

.checkout-btn {
    background: #141414;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.checkout-btn:hover {
    background: #000;
}

/* Navigation Bar */
.nav-bar {
    background: white;
    border-bottom: 1px solid #e9ecef;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 15px 0;
    gap: 30px;
    justify-content: space-between;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #b8860b;
    text-decoration: none;
}

.nav-link.clearance {
    color: #e74c3c;
    font-weight: bold;
}

.nav-link.clearance:hover {
    color: #c0392b;
}

/* Promotional Banner */
.promo-banner {
    background: #141414;
    color: white;
    padding: 6px 0;
    text-align: center;
}

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

.promo-text {
    font-size: 12px;
    font-weight: 500;
}

.shop-now-link {
    color: white;
    text-decoration: underline;
    font-weight: bold;
    margin-left: 5px;
    font-size: 14px;
}

.shop-now-link:hover {
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-header-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .search-section {
        max-width: 100%;
        width: 100%;
    }

    .header-icons {
        order: -1;
    }

    .nav-menu {
        flex-wrap: wrap;
        gap: 15px;
        font-size: 12px;
    }

    .brand-logo {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .top-bar-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .nav-menu {
        gap: 10px;
        font-size: 11px;
    }

    .header-icons {
        gap: 10px;
    }

    .checkout-btn {
        padding: 8px 15px;
        font-size: 11px;
    }
}

/* Main Content */
.site-main {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 20px;
    min-height: 60vh;
}

/* Footer Styles */
.site-footer {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    margin-top: 0;
    width: 100%;
}

.footer-inner-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    /* Aligned with header padding usually */
}

/* Social Bar */
.footer-social-bar {
    padding: 25px 0;
    text-align: center;
    border-bottom: 1px solid #1a1a1a;
}

.footer-social-bar h3 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #fff;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.social-icons a {
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.social-icons a:hover {
    opacity: 0.8;
}

/* Account Bar */
.footer-account-bar {
    padding: 20px 0;
    border-bottom: 1px solid #1a1a1a;
    background-color: #000;
}

.account-login-link {
    display: flex;
    align-items: center;
    gap: 16px;
    width: fit-content;
    cursor: pointer;
}

.account-login-link .icon-user {
    color: #fff;
}

.account-login-link .text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.3;
}

.account-login-link .title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.account-login-link .subtitle {
    font-size: 13px;
    color: #999;
}

/* Links Section */
.footer-links-section {
    padding: 40px 0 60px;
    background-color: #000;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-col h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #ccc;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Footer Bottom */
.footer-bottom-section {
    padding: 30px 0;
    border-top: 1px solid #1a1a1a;
    background-color: #000;
    text-align: center;
}

.view-mobile-link {
    display: inline-block;
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    font-size: 14px;
    margin-bottom: 25px;
}

.copyright-text {
    color: #ccc;
    font-size: 11px;
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }
}

@media (max-width: 576px) {
    .links-grid {
        grid-template-columns: 1fr;
    }

    .footer-col h4 {
        margin-bottom: 15px;
    }

    .footer-inner-container {
        padding: 0 20px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .site-title {
        font-size: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #ffffff;
    color: #333;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 9999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: #f8f9fa;
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.back-to-top-icon {
    font-size: 20px;
    line-height: 1;
    font-weight: bold;
}

/* Hero Video Section */
.hero-video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-top: -1px;
    /* Adjust for any header border */
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}