/**
 * Home Page Styles - Nebora Studio Inspired
 * Premium furniture website design
 */

/* ============================================
   GLOBAL STYLES
   ============================================ */
:root {
    --primary-color: #2c2c2c;
    --secondary-color: #8b7355;
    --accent-color: #c9a96e;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --text-gray: #666666;
    --bg-light: #f8f8f8;
    --bg-dark: #2c2c2c;
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.home-hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 2;
}

.hero-content-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1400px;
    padding: 0 40px;
}

.hero-content {
    max-width: 700px;
    text-align: left;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 40px;
    font-weight: 300;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-cta-button {
    display: inline-block;
    padding: 18px 45px;
    background-color: var(--text-light);
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--text-light);
    transition: var(--transition);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-cta-button:hover {
    background-color: transparent;
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* ============================================
   PROMOTIONAL BANNER SECTION
   ============================================ */
.promo-banner-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    overflow: hidden;
}

.promo-banner-bg {
    position: relative;
    width: 100%;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.promo-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    padding: 80px 40px;
}

.promo-content {
    max-width: 600px;
}

.promo-content.text-left {
    margin-right: auto;
}

.promo-content.text-center {
    margin: 0 auto;
    text-align: center;
}

.promo-content.text-right {
    margin-left: auto;
    text-align: right;
}

.promo-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.promo-description {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 35px;
    font-weight: 300;
}

.promo-cta-button {
    display: inline-block;
    padding: 16px 40px;
    background-color: transparent;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--text-light);
    transition: var(--transition);
}

.promo-cta-button:hover {
    background-color: var(--text-light);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* ============================================
   COLLECTIONS GRID SECTION
   ============================================ */
.collections-grid-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.view-all-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.view-all-link:hover {
    color: var(--accent-color);
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.collection-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.collection-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.collection-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.collection-image {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.collection-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
}

.collection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: var(--transition);
}

.collection-card:hover .collection-image img {
    transform: scale(1.1);
}

.collection-card:hover .collection-overlay {
    opacity: 1;
}

.collection-info {
    padding: 25px;
}

.collection-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 8px 0;
}

.collection-count {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* ============================================
   SHOP BY ROOM SECTION
   ============================================ */
.shop-by-room-section {
    padding: 100px 0;
    background-color: #fff;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.room-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    aspect-ratio: 4/5;
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.room-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.room-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.room-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d0d0d0 0%, #e8e8e8 100%);
}

.room-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
    transition: var(--transition);
}

.room-card:hover .room-image img {
    transform: scale(1.1);
}

.room-card:hover .room-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
}

.room-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 2;
}

.room-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 0 0 8px 0;
}

.room-explore {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* ============================================
   FEATURED PRODUCTS SECTION
   ============================================ */
.featured-products-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.featured-products-slider {
    margin-top: 50px;
}

.product-feature-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.product-feature-card:nth-child(even) {
    direction: rtl;
}

.product-feature-card:nth-child(even)>* {
    direction: ltr;
}

.product-feature-image {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.product-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e5e5e5 0%, #f0f0f0 100%);
}

.product-feature-card:hover .product-feature-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 16px;
    background-color: var(--accent-color);
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    z-index: 2;
}

.product-feature-content {
    padding: 20px 0;
}

.product-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.product-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 30px;
}

.product-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.view-details-link,
.customize-button {
    display: inline-block;
    padding: 14px 35px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: var(--transition);
}

.view-details-link {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.view-details-link:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.customize-button {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.customize-button:hover {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.slider-navigation {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #d0d0d0;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.slider-dot.active,
.slider-dot:hover {
    background-color: var(--secondary-color);
    transform: scale(1.2);
}

/* ============================================
   LATEST COLLECTIONS SECTION
   ============================================ */
.latest-collections-section {
    padding: 100px 0;
    background-color: #fff;
}

.latest-collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.latest-collection-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background-color: #fff;
}

.latest-collection-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.collection-image-wrapper {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.collection-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.collection-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: var(--transition);
}

.latest-collection-card:hover .collection-image-wrapper img {
    transform: scale(1.1);
}

.latest-collection-card:hover .collection-hover-overlay {
    opacity: 1;
}

.collection-details {
    padding: 25px;
    text-align: center;
}

.collection-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 15px 0;
}

.view-more-link {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.view-more-link:hover {
    color: var(--accent-color);
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */
.newsletter-section {
    padding: 100px 0;
    background-color: var(--primary-color);
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 0 0 15px 0;
}

.newsletter-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 35px;
}

.newsletter-form {
    margin-top: 30px;
}

.form-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.newsletter-input {
    flex: 1;
    padding: 16px 20px;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: 4px;
    transition: var(--transition);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.15);
}

.newsletter-button {
    padding: 16px 40px;
    background-color: var(--accent-color);
    color: var(--text-light);
    border: none;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-button:hover {
    background-color: var(--text-light);
    color: var(--text-dark);
    transform: translateY(-2px);
}

.privacy-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 15px 0 0 0;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .promo-title {
        font-size: 2.5rem;
    }

    .product-feature-card {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-feature-card:nth-child(even) {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .promo-title {
        font-size: 2rem;
    }

    .promo-description {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .collections-grid,
    .rooms-grid,
    .latest-collections-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .product-feature-image {
        height: 350px;
    }

    .product-name {
        font-size: 1.5rem;
    }

    .product-description {
        font-size: 1rem;
    }

    .form-group {
        flex-direction: column;
    }

    .newsletter-button {
        width: 100%;
    }
}

@media (max-width: 480px) {

    .hero-content-wrapper,
    .promo-content-wrapper {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .promo-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .collections-grid,
    .rooms-grid,
    .latest-collections-grid {
        grid-template-columns: 1fr;
    }

    .room-name {
        font-size: 1.5rem;
    }
}
