/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e3a5f;
    --secondary-color: #4a90e2;
    --accent-color: #f39c12;
    --accent-purple: #9b59b6;
    --accent-teal: #1abc9c;
    --accent-coral: #ff6b6b;
    --gold: #d4af37;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #27ae60;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

/* Header */
header {
    background:
        linear-gradient(135deg, rgba(30, 58, 95, 0.85) 0%, rgba(74, 144, 226, 0.75) 100%),
        url('original_small.jpg');
    background-size: cover, cover;
    background-position: center, center;
    color: white;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 30%, rgba(0, 0, 0, 0.2) 100%);
    pointer-events: none;
}

.logo {
    max-width: 350px;
    height: auto;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

header h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

header .tagline {
    font-size: 1.3rem;
    opacity: 0.95;
    font-weight: 300;
    position: relative;
    z-index: 1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Scrolling Banner */
.scrolling-banner {
    background: linear-gradient(90deg, var(--gold) 0%, var(--accent-color) 50%, var(--gold) 100%);
    overflow: hidden;
    white-space: nowrap;
    padding: 15px 0;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.banner-content {
    display: inline-block;
    animation: scroll 40s linear infinite;
    padding-left: 100%;
}

.banner-item {
    display: inline-block;
    padding: 0 50px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

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

/* Hero Section */
.hero {
    background: linear-gradient(to bottom, var(--bg-light), var(--bg-white));
    padding: 50px 20px;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-text {
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.feature {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    padding: 30px 20px;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.feature .icon {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-teal) 0%, var(--success-color) 100%);
    color: white;
    border-radius: 50%;
    line-height: 50px;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(39, 174, 96, 0.3);
}

.feature p {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* About Section */
.about {
    padding: 50px 20px;
    background: var(--bg-white);
}

.about h2 {
    font-size: 2.3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

.about-content {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
}

.about-content p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.benefit-card {
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
    padding: 40px 30px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-teal) 0%, var(--accent-purple) 50%, var(--accent-coral) 100%);
    transition: width 0.3s ease;
}

.benefit-card:hover::before {
    width: 100%;
    opacity: 0.1;
}

.benefit-card:hover {
    border-color: var(--accent-teal);
    box-shadow: 0 6px 20px rgba(26, 188, 156, 0.25);
    transform: translateY(-5px);
}

.benefit-card:nth-child(1)::before {
    background: linear-gradient(180deg, var(--accent-teal) 0%, var(--success-color) 100%);
}

.benefit-card:nth-child(2)::before {
    background: linear-gradient(180deg, var(--accent-color) 0%, var(--gold) 100%);
}

.benefit-card:nth-child(3)::before {
    background: linear-gradient(180deg, var(--accent-purple) 0%, var(--secondary-color) 100%);
}

.benefit-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.benefit-card:nth-child(1) h3 {
    color: var(--accent-teal);
}

.benefit-card:nth-child(2) h3 {
    color: var(--accent-color);
}

.benefit-card:nth-child(3) h3 {
    color: var(--accent-purple);
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* Inventory Section */
.inventory {
    padding: 80px 20px;
    background: var(--bg-light);
}

.inventory h2 {
    font-size: 2.3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

.inventory-intro {
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.mattress-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.mattress-type {
    background: var(--bg-white);
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--secondary-color);
}

.mattress-type:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateX(5px);
}

.mattress-type h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.mattress-type p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Reviews Section */
.reviews {
    padding: 50px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
}

.reviews h2 {
    font-size: 2.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
    font-weight: 700;
}

.reviews-intro {
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.review-card:nth-child(1) {
    border-left-color: var(--accent-teal);
}

.review-card:nth-child(2) {
    border-left-color: var(--accent-color);
}

.review-card:nth-child(3) {
    border-left-color: var(--accent-purple);
}

.review-card:nth-child(4) {
    border-left-color: var(--gold);
}

.review-card:nth-child(5) {
    border-left-color: var(--secondary-color);
}

.review-card:nth-child(6) {
    border-left-color: var(--accent-coral);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.stars {
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.review-text {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    font-style: italic;
}

.reviewer {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: right;
}

/* Contact Section */
.contact {
    padding: 50px 20px;
    background: var(--bg-white);
}

.contact h2 {
    font-size: 2.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
    font-weight: 700;
}

.contact-intro {
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.contact-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 50px 60px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-align: center;
    color: white;
    max-width: 500px;
    width: 100%;
}

.contact-card h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.contact-details p {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.contact-details strong {
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-details a {
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 500;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    transition: border-color 0.3s ease;
}

.contact-details a:hover {
    border-bottom-color: white;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    padding: 40px 20px 30px;
    text-align: center;
}

footer p {
    margin-bottom: 15px;
    opacity: 0.9;
}

footer .disclaimer {
    font-size: 0.85rem;
    opacity: 0.7;
    max-width: 800px;
    margin: 20px auto 0;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo {
        max-width: 280px;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero-text {
        font-size: 1.2rem;
    }

    .hero-features {
        gap: 20px;
    }

    .about h2,
    .inventory h2,
    .reviews h2,
    .contact h2 {
        font-size: 1.9rem;
    }

    .benefits {
        grid-template-columns: 1fr;
    }

    .mattress-types {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 40px 30px;
    }

    .contact-card h3 {
        font-size: 1.6rem;
    }

    .contact-details a {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 40px 20px;
    }

    header h1 {
        font-size: 1.8rem;
    }

    .hero,
    .about,
    .inventory,
    .contact {
        padding: 50px 20px;
    }

    .feature {
        min-width: 100%;
    }

    .contact-card {
        padding: 30px 20px;
    }
}
