/* =========================================
   Theme 1 Base Styles - Premium Global System
   ========================================= */

:root {
    /* Brand Fonts */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;

    /* Theme Colors */
    --t1-color-black: #1a1a1a;
    --t1-color-dark: #121212;
    --t1-color-white: #ffffff;
    --t1-color-gold: #c5a059;
    --t1-color-gray: #7a7a7a;
    --t1-color-light-gray: #f5f5f5;
    --t1-border-color: #e5e5e5;

    /* Layout */
    --t1-container-width: 1400px;
    --t1-header-height: 80px;

    /* Transitions */
    --t1-transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Basics */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--t1-color-white);
    color: var(--t1-color-black);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--t1-transition);
}

ul {
    list-style: none;
}

.t1-container {
    max-width: var(--t1-container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   GLOBAL NAVBAR
   ========================================= */
.t1-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--t1-transition);
    background: transparent;
    color: var(--t1-color-black);
    /* Default usually on light hero, but if transparent on dark hero needs handling. Assuming generic white/light page bg for base or hero handling */
    padding: 20px 0;
    color: #f5f5f5;
}

/* Scrolled State */
.t1-navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    color: #121212;
}

/* Dark Navbar (for non-home pages) */
.t1-navbar-dark {
    background-color: var(--t1-color-white);
    color: var(--t1-color-black);
    position: relative;
    /* Make it flow with content, or keep fixed but with bg */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.t1-navbar-dark .t1-menu-link,
.t1-navbar-dark .t1-icon-btn {
    color: var(--t1-color-black);
}

.t1-navbar-dark .t1-logo-text {
    color: var(--t1-color-black);
}

.t1-navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Logo */
.t1-logo {
    display: flex;
    align-items: center;
    z-index: 1002;
}

.t1-logo img {
    max-height: 60px;
    width: auto;
    transform: scale(1);
    transform-origin: left center;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
}

.t1-logo:hover img {
    filter: brightness(1.1);

}

@media (max-width: 992px) {
    .t1-logo img {
        transform: scale(1);
        transform-origin: center center;
    }
}

.t1-logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

/* Desktop Menu */
.t1-menu-desktop {
    display: flex;
    gap: 35px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.t1-menu-link {
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding: 5px 0;
    transition: color 0.4s ease, letter-spacing 0.4s ease;
}

.t1-menu-link:hover {
    letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.t1-menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--t1-color-gold);
    transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0.8;
}

.t1-menu-link:hover::after {
    width: 100%;
}

/* Icons */
.t1-icons {
    display: flex;
    align-items: center;
    gap: 25px;
}

.t1-icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: inherit;
    position: relative;
    transition: color 0.4s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.t1-icon-btn:hover {
    transform: scale(1.1);
    color: var(--t1-color-gold);
}

.t1-cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--t1-color-black);
    color: white;
    font-size: 10px;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Toggle */
.t1-mobile-toggle {
    display: none;
    background: var(--t1-color-white);
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1002;
}

.t1-bar {
    width: 30px;
    height: 2px;
    background-color: var(--t1-color-black);
    transition: var(--t1-transition);
}

/* Mobile Overlay */
.t1-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    backdrop-filter: blur(2px);
}

.t1-mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Side Drawer */
.t1-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 500px;
    max-width: 90%;
    height: 100vh;
    background: var(--t1-color-white);
    z-index: 1001;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
    padding: 0;
}

.t1-mobile-menu.active {
    transform: translateX(0);
}

/* Drawer Profile Section */
.t1-drawer-profile {
    padding: 40px 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--t1-color-white);

}

.t1-drawer-full-logo {
    max-width: 180px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.t1-drawer-logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--t1-color-black);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

/* Drawer Divider */
.t1-drawer-divider {
    height: 1px;
    background: var(--t1-border-color);
    margin: 15px 25px;
}

/* Drawer Navigation */
.t1-drawer-nav {
    display: flex;
    flex-direction: column;
    padding: 10px 15px;
}

.t1-drawer-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 500;
    color: var(--t1-color-black);
    border-radius: 12px;
    transition: all 0.3s ease;
    margin-bottom: 5px;
}

.t1-drawer-link i {
    font-size: 18px;
    width: 25px;
    text-align: center;
    color: var(--t1-color-gray);
    transition: color 0.3s ease;
}

.t1-drawer-link:hover,
.t1-drawer-link.active {
    background: var(--t1-color-light-gray);
    color: var(--t1-color-dark);
}

.t1-drawer-link:hover i,
.t1-drawer-link.active i {
    color: var(--t1-color-gold);
}

.t1-drawer-link span {
    transform: translateY(1px);
    /* Optical adjustment */
}

/* Responsive */
@media (max-width: 992px) {
    .t1-menu-desktop {
        display: none;
    }

    .t1-mobile-toggle {
        display: flex;
    }

    /* When menu is open, change toggle to X */
    .t1-mobile-toggle.active .t1-bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .t1-mobile-toggle.active .t1-bar:nth-child(2) {
        opacity: 0;
    }

    .t1-mobile-toggle.active .t1-bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

/* =========================================
   GLOBAL FOOTER
   ========================================= */
.t1-footer {
    background-color: var(--t1-color-dark);
    color: var(--t1-color-white);
    padding: 80px 0 30px;
    font-size: 15px;
}

.t1-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.t1-footer-col h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 25px;
    color: var(--t1-color-white);
    letter-spacing: 0.5px;
}

.t1-footer-desc {
    color: var(--t1-color-gray);
    margin-bottom: 20px;
    max-width: 300px;
}

.t1-footer-links li {
    margin-bottom: 12px;
}

.t1-footer-links a {
    color: #aeaeae;
    transition: 0.3s;
}

.t1-footer-links a:hover {
    color: var(--t1-color-white);
    padding-left: 5px;
}

/* Newsletter */
.t1-newsletter-input-group {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
    margin-bottom: 25px;
}

.t1-newsletter-input-group input {
    background: none;
    border: none;
    color: white;
    width: 100%;
    outline: none;
    font-family: var(--font-body);
}

.t1-newsletter-input-group button {
    background: none;
    border: none;
    color: var(--t1-color-white);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    cursor: pointer;
    font-weight: 600;
}

.t1-socials {
    display: flex;
    gap: 20px;
}

.t1-socials a {
    color: var(--t1-color-white);
    font-size: 18px;
    opacity: 0.7;
}

.t1-socials a:hover {
    opacity: 1;
    color: var(--t1-color-gold);
}

/* Bottom Bar */
.t1-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--t1-color-gray);
    font-size: 14px;
}

.t1-payment-icons {
    display: flex;
    gap: 15px;
    font-size: 24px;
}

@media (max-width: 992px) {
    .t1-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

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

    .t1-footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}