/* ===== BASE STYLES ===== */
:root {
    --color-blue: #0041ff;
    --color-blue-dark: #0031cc;
    --bg-cream: #fdfbf7;
    --bg-alt: #f4f1ea;
    --bg-dark: #1a1a1a;
    --text-primary: #1a1a1a;
    --text-muted: #4a4a4a;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Space Grotesk', sans-serif;
    --transition: all 0.4s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-cream);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== SMOOTH REVEAL ANIMATIONS ===== */
[data-scroll] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.215, 0.61, 0.355, 1), 
                transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}

[data-scroll].is-inview {
    opacity: 1;
    transform: translateY(0);
}

/* Specific delay for gallery items */
.edit-item[data-scroll] {
    transition-delay: 0.1s;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===== MARQUEE ===== */
.marquee-container {
    background: var(--text-primary);
    color: white;
    padding: 12px 0;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    display: block;
}

.marquee-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: marquee 40s linear infinite;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.marquee-content span {
    margin: 0 40px;
}

.contact-num {
    color: var(--color-blue);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== HEADER ===== */
.nav-overlay {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
    background: var(--bg-cream);
    z-index: 100;
    position: sticky;
    top: 45px; /* Adjust based on marquee height */
}

.logo img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

.brand-name {
    font-family: var(--font-serif);
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--text-primary);
    letter-spacing: 1px;
}

@media (max-width: 480px) {
    .logo img {
        max-height: 45px;
    }
    .brand-name {
        font-size: 1.2rem;
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
}

.nav-phone {
    color: var(--color-blue) !important;
    border: 2px solid var(--color-blue);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 700 !important;
}

/* ===== MOBILE MENU TOGGLE ===== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
    padding: 120px 0 120px;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text-block {
    flex: 1;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 5.5rem;
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero-title em {
    color: var(--color-blue);
    font-style: italic;
}

.hero-sub p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.btn-abstract {
    display: inline-block;
    padding: 18px 40px;
    background: var(--text-primary);
    color: white;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.3s ease;
}

.btn-abstract:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.hero-image-large-wrap {
    flex: 1.2;
    position: relative;
    transition: transform 0.6s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.hero-image-large-wrap:hover {
    transform: scale(1.02);
}

.hero-shop-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.pixel-circle-container {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    z-index: -1;
}

.pixel-circle {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--color-blue) 0%, transparent 70%);
    opacity: 0.3;
    border-radius: 50%;
}

/* ===== THE EDIT (Gallery) ===== */
.the-edit {
    padding: 120px 0;
    background: var(--bg-alt);
}

.section-label h3 {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    margin-bottom: 60px;
    text-align: center;
}

.edit-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 80px;
}

.edit-item {
    display: flex;
    align-items: center;
    gap: 60px;
}

.edit-item:nth-child(even) {
    flex-direction: row-reverse;
}

.edit-img {
    flex: 1.2;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.gallery-img {
    width: 100%;
    height: auto;
    display: block;
}

.edit-info-text {
    flex: 0.8;
}

.edit-cat {
    color: var(--color-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 15px;
}

.edit-info-text h4 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.edit-info-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* ===== OUR RANGE ===== */
.the-range {
    padding: 120px 0;
}

.range-header {
    text-align: center;
    margin-bottom: 60px;
}

.range-header h2 {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.range-menu-wrap {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.1);
}

.range-menu-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== PHILOSOPHY ===== */
.philosophy {
    padding: 120px 0;
    background: var(--bg-dark);
    color: white;
}

.philosophy-wrapper {
    display: flex;
    align-items: center;
    gap: 80px;
}

.philosophy-text h2 {
    font-family: var(--font-serif);
    font-size: 4rem;
    margin-bottom: 60px;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.ph-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.ph-card p {
    color: rgba(255,255,255,0.6);
}

.philosophy-visual {
    flex: 1;
}

.ph-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ===== FOOTER ===== */
.footer-abstract {
    padding: 80px 0;
    border-top: 1px solid #ddd;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h5 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-link {
    display: block;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.25rem;
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--color-blue);
    padding-left: 5px;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
    .hero-title { font-size: 4.5rem; }
    .container { padding: 0 30px; }
}

@media (max-width: 992px) {
    .nav-overlay { padding: 20px 30px; }
    .hero-wrapper, .edit-item, .philosophy-wrapper {
        flex-direction: column !important;
        text-align: center;
        gap: 40px;
    }
    .edit-item:nth-child(even) { flex-direction: column !important; }
    .hero-title { font-size: 3.5rem; }
    .hero-sub p { margin: 0 auto 30px; font-size: 1.1rem; }
    .edit-info-text h4 { font-size: 2.2rem; }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 30px; }
    .section-label h3 { font-size: 3rem; margin-bottom: 40px; }
}

@media (max-width: 768px) {
    .marquee-container { display: none !important; }
    .mobile-menu-toggle { display: flex; }
    
    .nav-overlay {
        padding-top: calc(20px + env(safe-area-inset-top, 0px));
        position: sticky;
        top: 0;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-cream);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
        z-index: 1000;
        display: flex;
        gap: 40px;
    }

    .nav-links.active { right: 0; }
    .nav-links a { font-size: 1.8rem; }

    .mobile-menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .hero-title { font-size: 3rem; margin-bottom: 20px; }
    .section-label h3, .range-header h2, .philosophy-text h2 { font-size: 2.2rem; }
    .edit-info-text h4 { font-size: 1.8rem; margin-bottom: 10px; }
    .edit-gallery { gap: 60px; }
    .footer-content { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .brand-col { order: -1; }
    
    .pixel-circle-container {
        width: 150px;
        height: 150px;
        top: -30px;
        right: -30px;
    }
}

@media (max-width: 480px) {
    .footer-map { height: 150px !important; }
    .container { padding: 0 20px; }
    .hero-title { font-size: 2.4rem; }
    .hero-sub p { font-size: 1rem; line-height: 1.5; }
    .btn-abstract { width: 100%; padding: 16px 20px; font-size: 0.9rem; }
    
    /* Optimized Top Bar for Mobile */
    .logo { font-size: 1.3rem; }
    .marquee-container { 
        padding: 10px 0;
    }
    .marquee-content { font-size: 0.8rem; letter-spacing: 1px; }
    .nav-overlay { 
        padding: 12px 20px; 
    }
    .mobile-menu-toggle { gap: 4px; }
    .mobile-menu-toggle span { width: 22px; height: 1.5px; }

    .hero { padding: 90px 0 60px; }
    .the-edit, .the-range, .philosophy { padding: 60px 0; }
    .edit-info-text h4 { font-size: 1.6rem; }
    .ph-card h3 { font-size: 1.5rem; }
}
