﻿
/* ===== CƠ BẢN ===== */
:root {
    --gold: #d4af37;
    --gold-dark: #c9a534;
    --line: rgba(255, 255, 255, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    overflow-x: clip;
}

body {
    width: 100%;
    font-family: Arial, sans-serif;
    background-color: #fff;
    color: #333;
    line-height: 1.6;
    overflow-x: clip;
}

img {
    max-width: 100%;
}

/* ===== KHUNG ẢNH CHUNG ===== */
.image-box,
.sunrise-img,
.moonlight-img {
    position: relative;
    overflow: hidden;
    background: #f1ece2;
    border: 1px solid var(--gold);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    min-width: 0;
}

    .image-box::after,
    .sunrise-img::after,
    .moonlight-img::after,
    .card-image::after {
        content: "";
        position: absolute;
        inset: 12px;
        border: 1px solid var(--line);
        pointer-events: none;
        z-index: 2;
    }

    .image-box img,
    .sunrise-img img,
    .moonlight-img img,
    .card-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

    .image-box:hover img,
    .sunrise-img:hover img,
    .moonlight-img:hover img {
        transform: scale(1.05);
    }

/* ===== TIÊU ĐỀ THƯƠNG HIỆU ===== */
.brand-name,
.sunrise-brand,
.moonlight-brand {
    position: relative;
    margin-bottom: 15px;
    color: #000;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 4px;
    text-align: center;
}

    .brand-name::before,
    .brand-name::after,
    .sunrise-brand::before,
    .sunrise-brand::after,
    .moonlight-brand::before,
    .moonlight-brand::after {
        content: "";
        position: absolute;
        top: 50%;
        width: 60px;
        height: 1px;
        background-color: var(--gold);
    }

    .brand-name::before,
    .sunrise-brand::before,
    .moonlight-brand::before {
        left: 0;
    }

    .brand-name::after,
    .sunrise-brand::after,
    .moonlight-brand::after {
        right: 0;
    }

/* ===== TIÊU ĐỀ CHÍNH ===== */
.title,
.sunrise-title,
.moonlight-title {
    position: relative;
    margin-bottom: 35px;
    padding-bottom: 18px;
    color: #000;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.4;
    text-align: center;
}

    .title::after,
    .sunrise-title::after,
    .moonlight-title::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 50px;
        height: 2px;
        background: var(--gold);
        transform: translateX(-50%);
    }

/* ===== MÔ TẢ ===== */
.description,
.sunrise-text,
.moonlight-text {
    margin-bottom: 25px;
    color: #333;
    font-size: 14px;
    line-height: 1.9;
    text-align: justify;
    overflow-wrap: anywhere;
}

/* =========================================
   PHẦN 1: VỀ CHÚNG TÔI
========================================= */
.container {
    display: flex;
    align-items: stretch;
    gap: 40px;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 20px;
}

.image-section {
    display: flex;
    flex: 1 1 0;
    align-items: stretch;
    gap: 20px;
    min-width: 0;
}

.image-1 {
    flex: 1 1 0;
    height: 700px;
    min-width: 0;
}

/* Cột ảnh nhỏ */
.image-column {
    display: flex;
    flex: 0 0 32%;
    flex-direction: column;
    gap: 20px;
    height: 700px;
    min-width: 0;
}

.image-3,
.image-4 {
    flex: 1 1 0;
    min-height: 0;
}

.content-section {
    flex: 0 0 30%;
    min-width: 0;
    padding: 20px 0;
}

.inspiration-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.inspiration-item {
    padding: 14px 16px;
    border-left: 3px solid var(--gold);
    background: #faf8f3;
}

    .inspiration-item h3 {
        margin-bottom: 8px;
        color: #000;
        font-size: 15px;
        font-weight: 700;
    }

    .inspiration-item p {
        color: #444;
        font-size: 13px;
        line-height: 1.8;
        text-align: justify;
        overflow-wrap: anywhere;
    }

/* =========================================
   PHẦN 2: THIẾT KẾ
========================================= */
.sunrise-container {
    display: flex;
    align-items: stretch;
    gap: 40px;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 20px;
    background: #f7f5f0;
}

.sunrise-content {
    flex: 0 0 30%;
    min-width: 0;
    padding: 20px 0;
}

.sunrise-gallery {
    display: flex;
    flex: 1 1 0;
    gap: 20px;
    min-width: 0;
}

.sunrise-img-main {
    flex: 0 0 48%;
    height: 700px;
    min-width: 0;
}

.sunrise-right-col {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.sunrise-img-top {
    width: 100%;
    height: 340px;
}

.sunrise-bottom {
    display: flex;
    gap: 20px;
    height: 340px;
    min-width: 0;
}

.sunrise-img-small {
    flex: 1 1 0;
    min-width: 0;
}

/* =========================================
   PHẦN 3: THI CÔNG
========================================= */
.moonlight-container {
    display: flex;
    align-items: stretch;
    gap: 40px;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 20px;
}

.moonlight-gallery {
    display: flex;
    flex: 0 0 60%;
    align-items: stretch;
    gap: 20px;
    min-width: 0;
}

.moonlight-img-1 {
    flex: 1 1 0;
    height: 700px;
    min-width: 0;
}

.moonlight-column {
    display: flex;
    flex: 0 0 34%;
    flex-direction: column;
    gap: 20px;
    height: 700px;
    min-width: 0;
}

.moonlight-img-3,
.moonlight-img-4 {
    flex: 1 1 0;
    min-height: 0;
}

.moonlight-content {
    flex: 1 1 0;
    min-width: 0;
    padding: 20px 0;
}

.moonlight-text {
    margin-bottom: 30px;
}

/* =========================================
   PHẦN 4: DỊCH VỤ
========================================= */
.services-section {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 60px 20px;
}

.services-title {
    margin-bottom: 50px;
    color: var(--gold);
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 4px;
    text-align: center;
}

.services-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    min-width: 0;
}

.service-card {
    position: relative;
    flex: 1 1 0;
    max-width: 490px;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--gold);
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.card-image {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.service-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    position: absolute;
    z-index: 10;
    top: 50%;
    left: 50%;
    width: 90%;
    padding: 30px 15px;
    text-align: center;
    transform: translate(-50%, -50%);
}

.card-title {
    margin-bottom: 20px;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
    white-space: normal;
    overflow-wrap: anywhere;
}

.card-description {
    margin-bottom: 30px;
    color: #fff;
    font-size: 14px;
    line-height: 1.7;
    text-align: center;
}

.card-btn {
    display: inline-block;
    padding: 8px 35px;
    border: none;
    border-radius: 30px;
    background: var(--gold);
    color: #000;
    text-align: center;
    text-decoration: none;
    transition: 0.3s ease;
}

    .card-btn span {
        display: block;
        font-weight: 700;
    }

    .card-btn small {
        display: block;
        margin-top: 2px;
        font-size: 20px;
    }

    .card-btn:hover {
        background: var(--gold-dark);
        box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
        transform: scale(1.05);
    }

/* =========================================
   LAPTOP VÀ IPAD NGANG
   1025px - 1200px
========================================= */
@media (min-width: 1025px) and (max-width: 1200px) {
    .container,
    .sunrise-container,
    .moonlight-container {
        gap: 25px;
        padding: 35px 24px;
    }

    .image-section,
    .sunrise-gallery,
    .moonlight-gallery {
        gap: 15px;
    }

    .image-1,
    .image-column,
    .moonlight-img-1,
    .moonlight-column,
    .sunrise-img-main {
        height: 560px;
    }

    .sunrise-img-top,
    .sunrise-bottom {
        height: 270px;
    }

    .brand-name,
    .sunrise-brand,
    .moonlight-brand {
        font-size: 16px;
        letter-spacing: 3px;
    }

    .services-cards {
        gap: 20px;
    }

    .card-image {
        height: 480px;
    }

    .card-title {
        font-size: 19px;
        letter-spacing: 1px;
    }
}

/* =========================================
   IPAD DỌC VÀ TABLET
   768px - 1024px
========================================= */
@media (min-width: 768px) and (max-width: 1024px) {
    .container,
    .sunrise-container,
    .moonlight-container {
        flex-direction: column;
        gap: 25px;
        padding: 35px 24px;
    }

    .image-section,
    .content-section,
    .sunrise-content,
    .sunrise-gallery,
    .moonlight-gallery,
    .moonlight-content {
        flex: 0 0 auto;
        width: 100%;
        min-width: 0;
    }

    .content-section,
    .sunrise-content,
    .moonlight-content {
        padding: 10px 0;
    }

    .image-section,
    .sunrise-gallery,
    .moonlight-gallery {
        gap: 16px;
    }

    .image-1,
    .image-column,
    .moonlight-img-1,
    .moonlight-column {
        height: 520px;
    }

    .sunrise-img-main {
        height: 520px;
    }

    .sunrise-img-top,
    .sunrise-bottom {
        height: 252px;
    }

    .image-column {
        flex-basis: 32%;
    }

    .moonlight-column {
        flex-basis: 34%;
    }

    .brand-name::before,
    .brand-name::after,
    .sunrise-brand::before,
    .sunrise-brand::after,
    .moonlight-brand::before,
    .moonlight-brand::after {
        width: 45px;
    }

    .services-section {
        padding: 45px 24px;
    }

    .services-title {
        margin-bottom: 35px;
        font-size: 30px;
    }

    .services-cards {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .service-card {
        width: 100%;
        max-width: none;
    }

    .card-image {
        height: 430px;
    }

    .card-content {
        width: 92%;
        padding: 18px 10px;
    }

    .card-title {
        font-size: 18px;
        letter-spacing: 1px;
    }

    .card-description {
        font-size: 13px;
    }

    .card-btn {
        padding: 9px 22px;
    }
}

/* =========================================
   ĐIỆN THOẠI LỚN
   481px - 767px
========================================= */
@media (min-width: 481px) and (max-width: 767px) {
    .container,
    .sunrise-container,
    .moonlight-container {
        flex-direction: column;
        gap: 22px;
        padding: 28px 18px;
    }

    .image-section,
    .sunrise-gallery,
    .moonlight-gallery {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .content-section,
    .sunrise-content,
    .moonlight-content {
        flex: 0 0 auto;
        width: 100%;
        padding: 5px 0;
    }

    .image-1,
    .moonlight-img-1,
    .sunrise-img-main {
        flex: none;
        width: 100%;
        height: 360px;
    }

    .image-column,
    .moonlight-column {
        flex: none;
        width: 100%;
        height: auto;
        gap: 15px;
    }

    .image-3,
    .image-4,
    .moonlight-img-3,
    .moonlight-img-4 {
        flex: none;
        width: 100%;
        height: 240px;
        min-height: 0;
    }

    .sunrise-right-col {
        flex: none;
        width: 100%;
        gap: 15px;
    }

    .sunrise-img-top {
        height: 260px;
    }

    .sunrise-bottom {
        display: flex;
        gap: 15px;
        height: 220px;
    }

    .sunrise-img-small {
        height: 220px;
    }

    .brand-name,
    .sunrise-brand,
    .moonlight-brand {
        font-size: 15px;
        letter-spacing: 3px;
    }

        .brand-name::before,
        .brand-name::after,
        .sunrise-brand::before,
        .sunrise-brand::after,
        .moonlight-brand::before,
        .moonlight-brand::after {
            width: 35px;
        }

    .title,
    .sunrise-title,
    .moonlight-title {
        margin-bottom: 25px;
        font-size: 20px;
    }

    .description,
    .sunrise-text,
    .moonlight-text {
        font-size: 14px;
    }

    .services-section {
        padding: 35px 18px;
    }

    .services-title {
        margin-bottom: 30px;
        font-size: 26px;
        letter-spacing: 2px;
    }

    .services-cards {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }

    .service-card {
        width: 100%;
        max-width: none;
    }

    .card-image {
        height: 340px;
    }

    .card-content {
        width: 94%;
        padding: 12px 7px;
    }

    .card-title {
        margin-bottom: 12px;
        font-size: 15px;
        letter-spacing: 0.5px;
    }

    .card-description {
        margin-bottom: 16px;
        font-size: 12px;
        line-height: 1.6;
    }

    .card-btn {
        padding: 8px 14px;
        font-size: 12px;
    }

        .card-btn small {
            font-size: 17px;
        }
}

/* =========================================
   ĐIỆN THOẠI
   480px TRỞ XUỐNG
========================================= */
@media (max-width: 480px) {
    .container,
    .sunrise-container,
    .moonlight-container {
        flex-direction: column;
        gap: 20px;
        padding: 24px 14px;
    }

    .image-section,
    .sunrise-gallery,
    .moonlight-gallery {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .content-section,
    .sunrise-content,
    .moonlight-content {
        flex: 0 0 auto;
        width: 100%;
        padding: 0;
    }

    /* Ảnh chính */
    .image-1,
    .moonlight-img-1,
    .sunrise-img-main {
        flex: none;
        width: 100%;
        height: 300px;
    }

    /* Các ảnh phụ */
    .image-column,
    .moonlight-column {
        flex: none;
        width: 100%;
        height: auto;
        gap: 12px;
    }

    .image-3,
    .image-4,
    .moonlight-img-3,
    .moonlight-img-4 {
        flex: none;
        width: 100%;
        height: 210px;
        min-height: 0;
    }

    .sunrise-right-col {
        flex: none;
        width: 100%;
        gap: 12px;
    }

    .sunrise-img-top {
        height: 220px;
    }

    .sunrise-bottom {
        flex-direction: column;
        gap: 12px;
        height: auto;
    }

    .sunrise-img-small {
        flex: none;
        width: 100%;
        height: 210px;
    }

    /* Tiêu đề thương hiệu */
    .brand-name,
    .sunrise-brand,
    .moonlight-brand {
        margin-bottom: 12px;
        font-size: 13px;
        letter-spacing: 2px;
    }

        .brand-name::before,
        .brand-name::after,
        .sunrise-brand::before,
        .sunrise-brand::after,
        .moonlight-brand::before,
        .moonlight-brand::after {
            width: 25px;
        }

    /* Tiêu đề và nội dung */
    .title,
    .sunrise-title,
    .moonlight-title {
        margin-bottom: 22px;
        padding-bottom: 14px;
        font-size: 19px;
        line-height: 1.45;
    }

    .description,
    .sunrise-text,
    .moonlight-text {
        margin-bottom: 20px;
        font-size: 13px;
        line-height: 1.8;
    }

    .inspiration-list {
        gap: 14px;
    }

    .inspiration-item {
        padding: 12px;
    }

        .inspiration-item h3 {
            font-size: 14px;
        }

        .inspiration-item p {
            font-size: 12px;
        }

    /* Dịch vụ */
    .services-section {
        padding: 30px 14px;
    }

    .services-title {
        margin-bottom: 25px;
        font-size: 23px;
        letter-spacing: 2px;
    }

    .services-cards {
        display: flex;
        flex-direction: column;
        gap: 18px;
        align-items: stretch;
    }

    .service-card {
        flex: none;
        width: 100%;
        max-width: none;
    }

    .card-image {
        height: 360px;
    }

    .card-content {
        width: 90%;
        padding: 18px 8px;
    }

    .card-title {
        margin-bottom: 14px;
        font-size: 18px;
        letter-spacing: 1px;
        line-height: 1.4;
    }

    .card-description {
        margin-bottom: 20px;
        font-size: 13px;
        line-height: 1.7;
    }

    .card-btn {
        padding: 9px 24px;
        font-size: 12px;
    }

        .card-btn small {
            font-size: 18px;
        }
}

/* =========================================
   ĐIỆN THOẠI NHỎ
   360px TRỞ XUỐNG
========================================= */
@media (max-width: 360px) {
    .container,
    .sunrise-container,
    .moonlight-container {
        padding: 20px 10px;
    }

    .image-1,
    .moonlight-img-1,
    .sunrise-img-main {
        height: 250px;
    }

    .image-3,
    .image-4,
    .moonlight-img-3,
    .moonlight-img-4 {
        height: 180px;
    }

    .sunrise-img-top,
    .sunrise-img-small {
        height: 180px;
    }

    .brand-name,
    .sunrise-brand,
    .moonlight-brand {
        font-size: 12px;
        letter-spacing: 1.5px;
    }

        .brand-name::before,
        .brand-name::after,
        .sunrise-brand::before,
        .sunrise-brand::after,
        .moonlight-brand::before,
        .moonlight-brand::after {
            width: 18px;
        }

    .title,
    .sunrise-title,
    .moonlight-title {
        font-size: 17px;
    }

    .services-section {
        padding: 25px 10px;
    }

    .services-title {
        font-size: 21px;
        letter-spacing: 1px;
    }

    .card-image {
        height: 320px;
    }

    .card-title {
        font-size: 16px;
    }

    .card-description {
        font-size: 12px;
    }
}

/* =========================================
   ĐIỆN THOẠI XOAY NGANG
========================================= */
@media (max-height: 500px) and (orientation: landscape) and (max-width: 900px) {
    .image-1,
    .moonlight-img-1,
    .sunrise-img-main {
        height: 280px;
    }

    .image-3,
    .image-4,
    .moonlight-img-3,
    .moonlight-img-4 {
        height: 180px;
    }

    .sunrise-img-top,
    .sunrise-img-small {
        height: 180px;
    }

    .card-image {
        height: 320px;
    }
}
