@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Nunito+Sans:ital,wght@0,200;0,300;0,400;0,600;0,700;0,800;1,400&display=swap');

:root {
    --primary: #1a1a1a;
    --accent: #c5a059;
    --accent-light: #d4b478;
    --bg-light: #faf9f6;
    --bg-cream: #f5f0ea;
    --text: #2c2c2c;
    --muted: #7a7a7a;
    --white: #ffffff;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Nunito Sans', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .logo { font-family: 'Cormorant Garamond', serif; font-weight: 400; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
img { max-width: 100%; display: block; }

/* ─────────────────── NAVBAR ─────────────────── */
.navbar {
    padding: 18px 0;
    position: fixed; top: 0; width: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 50px; }

.nav-links { list-style: none; display: flex; gap: 35px; }
.nav-links a {
    font-size: 0.65rem; letter-spacing: 2.5px; text-transform: uppercase;
    font-weight: 700; color: var(--text);
}
.nav-links a:hover { color: var(--accent); }

.logo { font-size: 1.8rem; letter-spacing: 8px; }
.logo-accent { color: var(--accent); }

.nav-right { display: flex; align-items: center; gap: 20px; }
.lang-switch { font-size: 0.65rem; letter-spacing: 1px; font-weight: 700; }
.lang-btn { cursor: pointer; color: #bbb; transition: 0.3s; background: none; border: none; font-size: 0.65rem; font-weight: 700; letter-spacing: 1px; }
.lang-btn.active { color: var(--primary); }
.nav-contact {
    padding: 10px 22px; border: 1px solid var(--accent); color: var(--accent);
    font-size: 0.6rem; letter-spacing: 2px; font-weight: 700; text-transform: uppercase;
    transition: 0.4s;
}
.nav-contact:hover { background: var(--accent); color: var(--white); }

/* Burger */
.burger { display: none; cursor: pointer; background: none; border: none; padding: 5px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--primary); margin: 5px 0; transition: 0.3s; }

/* ─────────────────── HERO ─────────────────── */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: url('images/hero.png') center/cover no-repeat;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4); /* Dark overlay for text readability */
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    margin-top: 50px; /* Offset for navbar */
}
.hero-content .tag {
    font-size: 0.8rem; letter-spacing: 4px; text-transform: uppercase;
    color: var(--accent-light); font-weight: 700; margin-bottom: 15px; display: block;
}
.hero-content h1 {
    font-size: 4.5rem; line-height: 1.1; margin-bottom: 20px; color: var(--white);
    text-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.hero-content p {
    font-size: 1.1rem; letter-spacing: 1px; color: #f0f0f0; margin-bottom: 35px; line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.btn-dark {
    display: inline-block; padding: 16px 42px; background: var(--primary); color: var(--white);
    font-size: 0.65rem; letter-spacing: 3px; text-transform: uppercase; font-weight: 700;
    transition: 0.4s;
}
.btn-dark:hover { background: var(--accent); transform: translateY(-3px); box-shadow: 0 12px 25px rgba(0,0,0,0.08); }

/* ─────────────────── SECTION COMMON ─────────────────── */
.section-pad { padding: 100px 0; }
.sec-header { text-align: center; margin-bottom: 60px; }
.sec-header .tag {
    font-size: 0.7rem; letter-spacing: 4px; text-transform: uppercase;
    color: var(--accent); font-weight: 700; display: block; margin-bottom: 10px;
}
.sec-header h2 { font-size: 2.8rem; letter-spacing: 3px; }

/* ─────────────────── PROPERTIES ─────────────────── */
.props { background: var(--bg-light); }
.props-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.prop-card {
    text-align: center; padding: 45px 22px; background: var(--white);
    border-radius: 4px; box-shadow: 0 6px 20px rgba(0,0,0,0.02); transition: 0.5s;
}
.prop-card:hover { transform: translateY(-8px); box-shadow: 0 18px 40px rgba(0,0,0,0.05); }
.prop-card .icon { font-size: 2.2rem; margin-bottom: 18px; display: block; }
.prop-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.prop-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }

/* ─────────────────── CATALOG / PRODUCTS ─────────────────── */
.filter-nav { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-bottom: 50px; }
.filter-group-row { display: flex; gap: 15px; border-bottom: 1px solid #f0f0f0; padding-bottom: 15px; width: 100%; justify-content: center; }
.filter-cat-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity:0; transform:translateY(5px); } to { opacity:1; transform:translateY(0); } }

.filter-btn {
    padding: 10px 28px; border: 1px solid #e5e5e5; background: none; cursor: pointer;
    font-size: 0.65rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 700;
    transition: 0.3s; color: var(--muted); font-family: 'Nunito Sans', sans-serif;
    position: relative;
}
.filter-btn.small { padding: 7px 18px; font-size: 0.58rem; border-radius: 20px; }
.filter-btn.active { background: var(--primary); color: var(--white); border-color: var(--primary); }
.filter-btn:hover:not(.active) { border-color: var(--accent); color: var(--accent); }

.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.p-card { cursor: pointer; transition: 0.5s; }
.p-card:hover { transform: translateY(-5px); }
.p-img { aspect-ratio: 3/4; overflow: hidden; background: #f3f3f3; position: relative; }
.p-img img { width: 100%; height: 100%; object-fit: cover; transition: 1.2s cubic-bezier(.16,1,.3,1); }
.p-card:hover .p-img img { transform: scale(1.06); }
.p-hover {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.06); backdrop-filter: blur(1px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: 0.4s;
}
.p-card:hover .p-hover { opacity: 1; }
.p-hover span {
    padding: 10px 22px; background: var(--white);
    font-size: 0.58rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 700;
    transform: translateY(12px); transition: 0.4s;
}
.p-card:hover .p-hover span { transform: translateY(0); }
.p-info { padding: 18px 0; text-align: center; }
.p-info h3 { font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 5px; font-weight: 400; }
.p-info .cat { font-size: 0.6rem; color: var(--muted); letter-spacing: 2px; text-transform: uppercase; font-weight: 600; }

/* ─────────────────── STORY PAGE ─────────────────── */
.story-hero {
    height: 50vh; display: flex; align-items: center; justify-content: center;
    position: relative; text-align: center; background: var(--bg-cream); margin-top: 70px;
}
.story-hero h1 { font-size: 3.5rem; letter-spacing: 5px; position: relative; z-index: 2; }
.story-hero .tag { position: relative; z-index: 2; }

.story-content { padding: 100px 0; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.story-img img { width: 100%; border-radius: 4px; box-shadow: 0 20px 50px rgba(0,0,0,0.06); }
.story-text h2 { font-size: 2.8rem; margin-bottom: 20px; line-height: 1.2; }
.story-text .tag { color: var(--accent); font-size: 0.7rem; letter-spacing: 4px; text-transform: uppercase; font-weight: 700; display: block; margin-bottom: 12px; }
.story-text p { color: var(--muted); font-size: 1.05rem; line-height: 1.9; margin-bottom: 20px; }

.timeline { padding: 80px 0; background: var(--bg-light); }
.timeline-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.timeline-item .year { font-family: 'Cormorant Garamond', serif; font-size: 3rem; color: var(--accent); display: block; margin-bottom: 10px; }
.timeline-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.timeline-item p { font-size: 0.88rem; color: var(--muted); }

/* ─────────────────── MODAL ─────────────────── */
.modal-bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8); z-index: 2000;
    display: none; align-items: center; justify-content: center;
    padding: 20px; backdrop-filter: blur(8px);
}
.modal-bg.show { display: flex; }
.modal-inner {
    max-width: 1100px; width: 100%; max-height: 90vh;
    display: grid; grid-template-columns: 1fr 1fr;
    position: relative; animation: modalUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    background: white; border-radius: 8px; overflow: hidden;
    box-shadow: 0 25px 80px rgba(0,0,0,0.3);
}
.modal-close {
    position: absolute; top: 20px; right: 20px; font-size: 2rem;
    cursor: pointer; color: #111; z-index: 100;
    background: white; border: none; width: 40px; height: 40px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); transition: 0.3s;
}
.modal-close:hover { transform: rotate(90deg); background: var(--primary); color: white; }

.modal-media { background: #fff; height: 100%; display: flex; align-items: center; justify-content: center; border-right: 1px solid #f0f0f0; }
.zoom-container { 
    width: 100%; height: 100%; 
    cursor: zoom-in; overflow: hidden; 
}
.zoom-container img { 
    width: 100%; height: 100%; 
    object-fit: cover; display: block; 
    transition: transform 0.2s ease-out; 
    pointer-events: none;
}
.zoom-container:hover img { transform: scale(2.5); }

.modal-info { 
    padding: 60px; display: flex; flex-direction: column; 
    overflow-y: auto; background: white;
}
.modal-head { margin-bottom: 30px; }
.m-tag { font-size: 0.7rem; letter-spacing: 4px; color: var(--accent); font-weight: 700; margin-bottom: 10px; display: block; }
.modal-info h2 { font-size: 2.5rem; margin: 0; font-family: 'Cormorant Garamond', serif; }

.modal-tabs { display: flex; gap: 30px; border-bottom: 1px solid #eee; margin-bottom: 30px; }
.tab-item { 
    padding: 15px 0; font-size: 0.7rem; letter-spacing: 2px; font-weight: 700; 
    color: #999; cursor: pointer; border-bottom: 2px solid transparent; transition: 0.3s;
}
.tab-item.active { color: var(--primary); border-bottom-color: var(--primary); }

.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.4s ease; }
.desc { font-size: 1rem; line-height: 1.8; color: #555; }

.fabric-features { list-style: none; margin-bottom: 30px; }
.fabric-features li { display: flex; align-items: center; gap: 15px; font-size: 0.95rem; color: #444; margin-bottom: 15px; }
.f-icon { font-size: 1.4rem; }

.care-box { background: #f9f9f9; padding: 20px; border-radius: 4px; border-left: 3px solid var(--accent); }
.care-box h4 { font-size: 0.7rem; letter-spacing: 2px; margin-bottom: 8px; color: var(--primary); }
.care-box p { font-size: 0.85rem; color: var(--muted); line-height: 1.5; }

.inquiry-btn { width: 100%; text-align: center; margin-top: auto; padding: 20px; font-size: 0.7rem; letter-spacing: 3px; }

@media (max-width: 992px) {
    .modal-inner { grid-template-columns: 1fr; max-height: 95vh; overflow-y: auto; }
    .modal-media { height: 400px; }
    .modal-info { padding: 40px 30px; }
    .modal-close { top: 15px; right: 15px; }
}

/* ─────────────────── FOOTER ─────────────────── */
footer { background: #111; color: var(--white); padding: 80px 0 35px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 70px; margin-bottom: 55px; }
.footer-grid .logo { color: var(--white); margin-bottom: 18px; }
.footer-grid p { color: #888; font-size: 0.88rem; }
.f-col h4 { color: var(--accent); font-size: 0.7rem; letter-spacing: 3px; margin-bottom: 22px; text-transform: uppercase; }
.f-col p, .f-col a { display: block; color: #999; font-size: 0.82rem; margin-bottom: 12px; transition: 0.3s; }
.f-col a:hover { color: var(--white); }

.f-contact-info { margin-top: 25px; }
.f-contact-info p { color: #aaa; font-size: 0.82rem; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.f-contact-info .icon { color: var(--accent); font-style: normal; font-size: 1.1rem; }

.footer-bot { border-top: 1px solid #222; padding-top: 30px; text-align: center; }
.footer-bot p { font-size: 0.6rem; color: #555; letter-spacing: 2px; }

/* ─────────────────── ANIMATIONS ─────────────────── */
.fade { opacity: 0; transform: translateY(20px); transition: 0.8s ease-out; }
.fade.vis { opacity: 1; transform: translateY(0); }

/* ─────────────────── RESPONSIVE ─────────────────── */
@media (max-width: 992px) {
    .container { padding: 0 25px; }
    .nav-links {
        position: fixed; top: 65px; left: -100%; width: 100%; height: auto;
        background: rgba(255,255,255,0.98); flex-direction: column;
        padding: 35px 25px; gap: 22px; transition: 0.4s ease;
        border-bottom: 1px solid #eee; backdrop-filter: blur(10px);
    }
    .nav-links.open { left: 0; }
    .burger { display: block; }
    .hero-content h1 { font-size: 3rem; }
    .props-grid { grid-template-columns: repeat(2, 1fr); }
    .catalog-grid { grid-template-columns: repeat(2, 1fr); }
    .story-grid { grid-template-columns: 1fr; gap: 40px; }
    .timeline-grid { grid-template-columns: 1fr; gap: 30px; }
    .modal-inner { grid-template-columns: 1fr; gap: 25px; overflow-y: auto; max-height: 90vh; }
    .footer-grid { grid-template-columns: 1fr; gap: 35px; }
}
@media (max-width: 600px) {
    .hero-content h1 { font-size: 2.5rem; }
    .props-grid { grid-template-columns: 1fr; }
    .catalog-grid { grid-template-columns: 1fr; }
    .sec-header h2 { font-size: 2rem; }
    .story-hero h1 { font-size: 2.2rem; }
    .nav-contact { display: none; }
}
