/* Home Page Specific Styles */

/* Hero Section */
.hero {
    background: #FFF9F2;
    padding: 0;
}

.hero .container {
    max-width: 100%;
    padding: 0;
}

.hero-content {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);
}

.hero-text {
    position: relative;
    z-index: 2;
    padding: 48px 24px;
    max-width: 600px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-text h1 {
    font-size: 28px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 24px;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Products Section */
.products {
    padding: 40px 0;
    background: #fff;
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
    align-items: center;
    text-align: center;
}

.section-header h2 {
    font-size: 24px;
    color: #2c3e50;
    font-weight: 700;
}

.link-all {
    color: #C62828;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 20px;
    border: 2px solid #C62828;
    border-radius: 8px;
    transition: all 0.3s;
    display: inline-block;
}

.link-all:hover {
    background: #C62828;
    color: white;
}

.product-carousel-wrapper {
    position: relative;
    padding: 0 24px;
}

.product-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    box-shadow: none;
}

.product-carousel-nav:hover {
    background: transparent;
    box-shadow: none;
}

.product-carousel-nav.disabled {
    opacity: 0.3;
    pointer-events: none;
}

.product-carousel-nav img {
    width: 16px;
    /* height: 16px; */
    filter: brightness(0);
    opacity: 1;
}

.product-carousel-nav:hover img {
    opacity: 0.7;
}

#productPrev {
    left: 0;
}

#productNext {
    right: 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    overflow: hidden;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.product-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f5f5f5;
    overflow: hidden;
    position: relative;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-title {
    font-size: 16px;
    color: #2c3e50;
    padding: 12px 16px 4px;
    font-weight: 600;
}

.product-count {
    font-size: 12px;
    color: #888;
    padding: 0 16px 16px;
    font-weight: 400;
}

/* Custom Design Section */
.custom-design {
    padding: 40px 0;
    background: #fff;
}

.custom-design h2 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 16px;
    text-align: center;
    font-weight: 700;
    line-height: 1.4;
}

.custom-intro {
    color: #666;
    margin-bottom: 32px;
    line-height: 1.7;
    text-align: center;
    font-size: 14px;
}

.custom-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.custom-image {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    order: 1;
}

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

.custom-text {
    order: 2;
}

.custom-text h3 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 16px;
    font-weight: 600;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.feature-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #36454F;
    padding: 16px;
    border-radius: 12px;
    color: white;
}

.feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.feature-text {
    line-height: 1.6;
    font-size: 14px;
    font-weight: 500;
}

/* Reasons Section */
.reasons {
    padding: 40px 0;
    background: #F8F9FA;
}

.section-title {
    font-size: 24px;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 32px;
    font-weight: 700;
    line-height: 1.4;
}

.reasons-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.reason-card {
    text-align: center;
    padding: 24px 16px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.reason-icon {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

.reason-icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.reason-card h3 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.4;
    font-weight: 600;
}

.reason-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Clients Section */
.clients {
    padding: 40px 0;
    background: #fff;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
    min-height: 80px;
}

.client-logo:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

/* CTA Section */
.cta {
    padding: 48px 0;
    background: #FFF9F2;
    text-align: center;
}

.cta h2 {
    font-size: 24px;
    color: #222;
    margin-bottom: 24px;
    font-weight: 700;
    line-height: 1.4;
    padding: 0 16px;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

/* Tablet Styles */
@media (min-width: 768px) {
    .hero-text h1 {
        font-size: 42px;
    }

    .hero-image {
        height: 500px;
    }

    .product-carousel-wrapper {
        padding: 0 50px;
    }

    .product-carousel-nav {
        width: 40px;
        height: 40px;
    }

    .product-carousel-nav img {
        width: 24px;
        /* height: 24px; */
    }

    .product-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .product-image {
        height: 180px;
    }

    .custom-design h2 {
        font-size: 32px;
    }

    .custom-intro {
        font-size: 16px;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .section-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .hero-content {
        flex-direction: row;
        min-height: 600px;
        position: static;
    }

    .hero-image {
        position: static;
        flex: 1;
        height: auto;
    }

    .hero-image::after {
        display: none;
    }

    .hero-text {
        position: static;
        flex: 1;
        padding: 80px 60px;
        background: #FFF9F2;
        text-align: left;
        align-items: flex-start;
    }

    .hero-text h1 {
        font-size: 48px;
        margin-bottom: 40px;
        color: #4d4d4d;
        text-shadow: none;
    }

    .product-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }

    .product-image {
        /* height: 200px; */
        aspect-ratio: 16 / 9;
    }

    .custom-design {
        padding: 60px 0;
    }

    .custom-design h2 {
        font-size: 36px;
        margin-bottom: 24px;
    }

    .custom-content {
        flex-direction: row;
        align-items: center;
        gap: 60px;
    }

    .custom-image {
        flex: 1;
        order: 1;
    }

    .custom-text {
        flex: 1;
        order: 2;
    }

    .custom-text h3 {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .feature-list {
        gap: 20px;
        margin-bottom: 32px;
    }

    .feature-item {
        padding: 20px;
    }

    .feature-text {
        font-size: 15px;
    }

    .reasons {
        padding: 60px 0;
    }

    .section-title {
        font-size: 36px;
        margin-bottom: 48px;
    }

    .reasons-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }

    .reason-card {
        padding: 32px 24px;
    }

    .clients {
        padding: 60px 0;
    }

    .clients-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
    }

    .client-logo {
        padding: 32px;
        min-height: 120px;
    }

    .client-logo img {
        max-height: 80px;
    }

    .cta {
        padding: 60px 0;
    }

    .cta h2 {
        font-size: 36px;
        margin-bottom: 32px;
    }

    .cta-buttons {
        flex-direction: row;
        gap: 16px;
        justify-content: center;
    }
}

/* Desktop Large */
@media (min-width: 1440px) {
    .hero-text {
        padding: 100px 80px;
    }

    .hero-text h1 {
        font-size: 56px;
        max-width: 600px;
    }

    .custom-content {
        gap: 80px;
    }

    .reasons-grid {
        gap: 48px;
    }

    .clients-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}
