/* --- Variables & Reset --- */
:root {
    --crimson: #B82032;
    --burgundy: #721C2C;
    --wine: #46121F;
    --blood: #8F1728;
    --rose: #D96B78;
    --blush: #F6E6E8;
    --ivory: #FAF7F2;
    --white: #FFFFFF;
    --black: #171316;
    --charcoal: #373136;
    --gray: #82767A;
    
    --font-main: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --shadow: 0 10px 30px rgba(70, 18, 31, 0.1);
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--ivory);
    color: var(--charcoal);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
    color: var(--black);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; color: var(--crimson); }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; color: var(--burgundy); }
p { margin-bottom: 1rem; color: var(--charcoal); }

.highlight { color: var(--rose); }
.white-text { color: var(--white) !important; }
.white-text p { color: var(--blush); }

/* --- Layout Utilities --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 60px; max-width: 800px; margin-left: auto; margin-right: auto; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--crimson);
    color: var(--white);
}
.btn-primary:hover { background-color: var(--burgundy); transform: translateY(-2px); }

.btn-outline {
    border-color: var(--white);
    color: var(--white);
}
.btn-outline:hover { background-color: var(--white); color: var(--crimson); }

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(114, 28, 44, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--crimson);
    padding: 15px 0;
    transition: 0.3s;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1px;
}
.logo span { color: var(--crimson); }

.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-link { color: var(--white); font-weight: 500; font-size: 0.95rem; }
.nav-link:hover { color: var(--rose); }

.btn-nav {
    background: var(--crimson);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.menu-toggle { display: none; cursor: pointer; }
.bar { display: block; width: 25px; height: 3px; background: var(--white); margin: 5px 0; transition: 0.3s; }

/* --- Hero Section --- */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--wine) 0%, var(--burgundy) 100%);
    color: var(--white);
    padding: 160px 0 100px;
    overflow: hidden;
    text-align: center;
}

.hero-bg-decoration {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(184, 32, 50, 0.2) 0%, transparent 50%);
    z-index: 0;
}

.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border: 1px solid var(--rose);
    color: var(--rose);
}

.hero h1 { color: var(--white); font-size: 3rem; margin-bottom: 20px; }
.hero p { color: var(--blush); font-size: 1.1rem; margin-bottom: 40px; }
.hero-buttons { display: flex; justify-content: center; gap: 20px; }

/* Floating Cards */
.floating-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.float-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 15px;
    width: 200px;
    text-align: center;
    animation: float 6s ease-in-out infinite;
}

.float-card:nth-child(2) { animation-delay: 1s; }
.float-card:nth-child(3) { animation-delay: 2s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.icon-box { font-size: 2rem; margin-bottom: 10px; }
.float-card h3 { color: var(--white); font-size: 1rem; margin: 0; }

/* --- Services --- */
.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: 0.3s;
    border: 1px solid var(--blush);
}

.service-card:hover { transform: translateY(-5px); border-color: var(--crimson); }
.blush-bg { background: var(--blush); }

.card-icon {
    width: 50px; height: 50px;
    background: var(--crimson);
    border-radius: 50%;
    margin-bottom: 20px;
    /* Placeholder for CSS art */
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1.2rem;
}

.feature-list li {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 5px;
    padding-left: 15px;
    position: relative;
}
.feature-list li::before {
    content: '•'; color: var(--crimson);
    position: absolute; left: 0;
}

/* --- Benefits --- */
.benefits-section { background: var(--wine); color: var(--white); }
.benefit-card {
    background: rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 10px;
    border-left: 3px solid var(--crimson);
}
.benefit-card h3 { color: var(--rose); font-size: 1.2rem; }
.benefit-card p { color: var(--blush); font-size: 0.9rem; margin: 0; }

/* --- Process Timeline --- */
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::after {
    content: ''; position: absolute; width: 2px; background: var(--blush);
    top: 0; bottom: 0; left: 20px; margin-left: -1px;
}
.timeline-item { position: relative; margin-bottom: 40px; padding-left: 50px; }
.timeline-number {
    position: absolute; left: 0; top: 0;
    width: 40px; height: 40px;
    background: var(--crimson);
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: bold;
    z-index: 2;
}
.timeline-content {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* --- Showcase (CSS Art) --- */
.showcase-card {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
}
.css-art-mattress, .css-art-frame, .css-art-room, .css-art-heat {
    height: 100px;
    background: var(--blush);
    margin-bottom: 15px;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}
/* Abstract patterns */
.css-art-mattress::after { content:''; position:absolute; top:10%; left:10%; width:80%; height:80%; border: 2px dashed var(--crimson); opacity: 0.5; }
.css-art-frame::after { content:''; position:absolute; top:0; left:45%; width:10%; height:100%; background: var(--burgundy); opacity: 0.3; }
.css-art-room::after { content:''; position:absolute; top:20%; left:20%; width:60%; height:60%; border: 1px solid var(--crimson); }
.css-art-heat { background: linear-gradient(45deg, var(--blush), var(--rose)); }

/* --- Article --- */
.article-section { background: var(--white); }
.article-container { max-width: 900px; }
.article-header { text-align: center; margin-bottom: 50px; border-bottom: 1px solid var(--blush); padding-bottom: 30px; }
.article-meta { color: var(--gray); font-size: 0.9rem; }
.article-content h2 { margin-top: 40px; font-size: 1.8rem; }
.article-content h3 { margin-top: 30px; font-size: 1.4rem; color: var(--burgundy); }
.article-content ul { margin-bottom: 20px; padding-left: 20px; }
.article-content li { margin-bottom: 10px; list-style-type: disc; }
.article-content a { color: var(--crimson); text-decoration: underline; font-weight: 600; }

/* --- FAQ --- */
.accordion-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    overflow: hidden;
}
.accordion-header {
    width: 100%;
    padding: 20px;
    text-align: left;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--black);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.accordion-header::after { content: '+'; font-size: 1.5rem; color: var(--crimson); }
.accordion-header.active::after { content: '-'; }
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
    background: var(--blush);
}
.accordion-content p { padding: 20px 0; margin: 0; }

/* --- Trust & Contact --- */
.trust-card {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-top: 4px solid var(--crimson);
    box-shadow: var(--shadow);
}

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info {
    background: var(--wine);
    color: var(--white);
    padding: 40px;
    border-radius: 15px;
}
.contact-info h2 { color: var(--white); }
.contact-info p { color: var(--blush); }
.info-item { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.map-btn { margin-top: 20px; width: 100%; text-align: center; }

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 600; font-size: 0.9rem; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--crimson);
}
.full-width { width: 100%; }

/* --- Footer --- */
.footer { background: var(--wine); color: var(--ivory); padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer h3 { color: var(--rose); font-size: 1.2rem; margin-bottom: 20px; }
.footer ul li { margin-bottom: 10px; }
.footer a:hover { color: var(--crimson); }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 0.8rem; color: var(--gray); }

/* --- Progress Bar --- */
.progress-container { width: 100%; height: 4px; background: transparent; position: fixed; top: 0; z-index: 1001; }
.progress-bar { height: 4px; background: var(--crimson); width: 0%; }

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: var(--wine);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
    }
    .nav-menu.active { left: 0; }
    .menu-toggle { display: block; }
    
    .hero h1 { font-size: 2rem; }
    .contact-grid { grid-template-columns: 1fr; }
    .floating-cards { display: none; } /* Hide floating cards on mobile for cleaner look */
}