/* CSS Variables & Reset */
:root {
    --bg-light-blue: #e0f7ff;
    --footer-green-blue: #2c6b6f;
    --footer-text: #f0f7f7;
    --text-dark: #1e293b;
    --title-blue: #014049;
    --accent-pop: #ff6b8b;
    --card-bg: #ffffff;
    --font-main: 'Gideon Roman', serif;
    --font-heading: 'Gideon Roman', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    font-weight: 400;
    font-style: normal;
    background: linear-gradient(180deg, #e0f7ff 0%, #f4fbff 35%, rgba(255, 255, 255, 0.9) 100%);
    color: var(--text-dark);
    overflow-x: hidden;
    opacity: 1;
    transition: opacity 0.4s ease-in-out;
}

body.fade-out {
    opacity: 0;
}

/* Header */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    background: transparent;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-title {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--title-blue);
    text-align: center;
}

.brand-subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 600;
    color: var(--footer-green-blue);
    margin-top: -4px;
    text-align: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--footer-green-blue);
}

.nav-btn {
    background: var(--footer-green-blue);
    color: white !important;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    transition: transform 0.2s ease, opacity 0.2s ease !important;
}

.nav-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}



/* Centered Hero Section */
.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 5% 9rem 5%;
    min-height: 80vh;
    background-image: url('fimage/shop2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(180deg, rgba(224, 247, 255, 0) 0%, var(--bg-light-blue) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(12px);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(1, 64, 73, 0.08);
}

.hero-content h2 {
    font-size: 3.2rem;
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--title-blue);
}

.hero-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: var(--title-blue);
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background: var(--footer-green-blue);
    transform: translateY(-2px);
}

/* Looping Announcement Ticker Styles */
.ticker-container {
    background-color: var(--bg-light-blue);
    border-bottom: 1px solid rgba(44, 107, 111, 0.15);
    overflow: hidden;
    white-space: nowrap;
    padding: 14px 0;
    width: 100%;
    position: relative;
    z-index: 4;
}

.ticker-track {
    display: inline-flex;
    align-items: center;
    animation: scrollTicker 25s linear infinite;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 35px;
    padding-right: 35px;
}

.ticker-item span {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--title-blue);
}

.ticker-shape {
    width: 20px;
    height: 20px;
    object-fit: contain;
    opacity: 0.85;
}

.ticker-container:hover .ticker-track {
    animation-play-state: paused;
}

@keyframes scrollTicker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Collection Section */
.collection-section {
    position: relative;
    margin-top: -50px;
    padding: 4rem 5% 5rem 5%;
    background: linear-gradient(180deg, var(--bg-light-blue) 0%, rgba(255, 255, 255, 0.8) 100%);
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    z-index: 3;
    box-shadow: 0 -10px 30px rgba(1, 64, 73, 0.03);
}

.section-header {
    text-align: left;
    margin-bottom: 3rem;
}

.section-header h3 {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
    color: var(--title-blue);
}

.section-header p {
    color: #64748b;
}

/* Simple Product Grid Layout */
.simple-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 3rem auto 0 auto;
    padding: 0 1rem;
}

.simple-product-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.simple-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.product-image-wrapper {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    position: relative;
}

.full-size-img,
.simple-product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.simple-product-card:hover .full-size-img,
.simple-product-card:hover img {
    transform: scale(1.03);
}

.product-action {
    padding: 1.5rem;
    background: var(--card-bg);
    text-align: center;
}

.view-product-btn {
    display: block;
    width: 100%;
    background: var(--title-blue);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.3s ease, transform 0.2s ease;
}

.view-product-btn:hover {
    background: var(--footer-green-blue);
    transform: translateY(-2px);
}

/* Footer Styles */
.site-footer {
    position: relative;
    background: var(--footer-green-blue);
    color: var(--footer-text);
    padding: 3rem 5% 0 5%;
}

.footer-middle-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.footer-image-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.left-images { justify-content: flex-start; }
.right-images { justify-content: flex-end; }

.footer-small-img {
    width: auto;
    max-width: 50px;
    height: 35px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.footer-small-img:hover {
    transform: scale(1.08);
}

.collab {
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.95;
    margin: 0 1rem;
}

.collab a {
    color: var(--footer-text);
    text-decoration: none;
    transition: opacity 0.3s ease, border-bottom 0.3s ease;
}

.collab a:hover {
    opacity: 1;
    border-bottom: 1px solid var(--footer-text);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem; 
    margin-bottom: 1.5rem;
}

.footer-brand h3 {
    font-size: 1.8rem;
    font-weight: 800;
}

.footer-brand p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    font-size: 1.5rem;
    color: var(--footer-text);
    opacity: 0.9;
    transition: 0.3s ease;
}

.footer-social a:hover {
    opacity: 1;
    transform: scale(1.15);
}

.footer-bottom-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.8;
}

.made-love {
    font-size: 0.85rem;
    opacity: 0.9;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.made-love a {
    color: var(--footer-text);
    font-weight: 600;
    text-decoration: underline;
}

.footer-bottom-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin-left: -5%;
    margin-right: -5%;
    width: 110%;
}

/* Cart Overlay & Drawer Panel */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(1, 64, 73, 0.4);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: #ffffff;
    z-index: 1000;
    box-shadow: -10px 0 30px rgba(1, 64, 73, 0.15);
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.active {
    right: 0;
}

.cart-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.8rem 1.5rem;
    border-bottom: 1px solid rgba(44, 107, 111, 0.1);
}

.cart-drawer-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--title-blue);
}

.close-cart-btn {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}

.close-cart-btn:hover {
    color: var(--accent-pop);
    transform: rotate(90deg);
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.cart-drawer-footer {
    padding: 1.5rem;
    background: #f8fafc;
    border-top: 1px solid rgba(44, 107, 111, 0.1);
}

.checkout-btn {
    display: block;
    width: 100%;
    background: var(--title-blue);
    color: white;
    text-align: center;
    padding: 0.9rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    transition: background 0.3s ease, transform 0.2s ease;
}

.checkout-btn:hover {
    background: var(--footer-green-blue);
    transform: translateY(-2px);
}

.continue-shopping-btn {
    display: block;
    width: 100%;
    background: transparent;
    border: 1px solid #cbd5e1;
    color: var(--text-dark);
    text-align: center;
    padding: 0.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.continue-shopping-btn:hover {
    border-color: var(--footer-green-blue);
    color: var(--footer-green-blue);
}

/* ==========================================
   Responsive Mobile Media Queries
   ========================================== */
@media (max-width: 768px) {
    .site-header .nav-links.desktop-nav {
        display: none !important;
    }
    
    .mobile-header-controls {
        display: flex !important;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }
    
    .footer-middle-row {
        flex-direction: column;
        gap: 0.8rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .footer-image-group {
        justify-content: center;
        gap: 0.3rem !important;
    }
    
    .footer-small-img {
        max-width: 32px !important;
        height: 24px !important;
    }
    
    .collab {
        font-size: 0.8rem !important;
        margin: 0 0.5rem !important;
    }
}

@media (max-width: 480px) {
    .cart-drawer,
    .mobile-nav-drawer {
        max-width: 100%;
        right: -100%;
    }
}