:root {
    --font-sans: 'Poppins', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --fw-body: 400;
    --fw-heading-1: 600;
    --fw-heading-2: 600;
    --fw-heading-3: 500;
}

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

body {
    font-family: var(--font-sans);
    font-weight: var(--fw-body);
    line-height: 1.75;
    color: #111111;
    background: #FFFFFF;
    font-size: 15px;
}

/* Navbar */

.navbar .logo img:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 35px;
}

.hamburger {
    display: none;
    color: #111111;
    font-size: 30px;
    cursor: pointer;
}

/* Hero Section (Updated Background) */
.hero {
    height: 66vh;
    background: url('https://aodaidinhtuan.vn/assets/images/banner/2.jpg') no-repeat center/cover; /* Thay bằng URL hình ảnh của bạn */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #FFFFFF;
    position: relative;
}

.hero.parallax {
    background-attachment: fixed; /* Parallax effect */
    background-position: center;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin-top: 48px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links.active .has-dropdown.open .dropdown {
        display: block;
    }

    .hero.parallax {
        background-attachment: scroll; /* Tắt parallax trên mobile */
    }
}

/* About Section */
.about {
    padding: 100px 60px;
    background: url('https://www.transparenttextures.com/patterns/paper-fibers.png'), #FFFFFF;
}

.about-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-family: var(--font-sans);
    font-size: 40px;
    margin-bottom: 25px;
    color: #9f0404;
    position: relative;
    font-weight: var(--fw-heading-2);
    font-size: 1.6rem;
}

.about-text h2::after {
    content: '';
    width: 50px;
    height: 3px;
    background: #111111;
    position: absolute;
    bottom: -10px;
    left: 0;
}

.about-text p {
    font-size: 18px;
    color: #1C2526;
    font-weight: var(--fw-body);
    font-size: 0.95rem;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    border: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

/* Services Section */
.services {
    padding: 96px 60px;
    background: #ffffff;
    text-align: center;
}

.services h2 {
    font-family: var(--font-sans);
    font-size: 40px;
    margin-bottom: 48px;
    color: #111111;
    position: relative;
    font-weight: var(--fw-heading-2);
    font-size: 1.6rem;
}

.services h2::after {
    content: '';
    width: 64px;
    height: 3px;
    background: #9f0404;
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: #ffffff;
    padding: 32px 28px;
    border-radius: 12px;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .08);
}

.service-card i {
    display: none;
}

.service-card h3 {
    font-family: var(--font-sans);
    font-size: 22px;
    margin-bottom: 12px;
    color: #111111;
    font-size: 1.3rem;
}

.service-card p {
    font-size: 15px;
    color: #333333;
    margin-bottom: 18px;
    font-weight: var(--fw-body);
    font-size: 0.95rem;
}

.service-cta {
    color: #9f0404;
    text-decoration: none;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 14px;
}

.service-cta:hover {
    text-decoration: underline;
}

/* Gallery Section */
.gallery {
    padding: 100px 60px;
    background: url('https://www.transparenttextures.com/patterns/paper-fibers.png'), #FFFFFF;
    text-align: center;
}

.gallery h2 {
    font-family: var(--font-sans);
    font-size: 40px;
    margin-bottom: 48px;
    color: #111111;
    position: relative;
    font-weight: var(--fw-heading-2);
    font-size: 1.6rem;
    font-weight: 600;
    font-size: 1.8rem;
}

.gallery h2::after {
    content: '';
    width: 64px;
    height: 3px;
    background: #9f0404;
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    flex: 0 0 100%;
    width: 100%;
}

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(17, 17, 17, 0.6);
    color: #ffffff;
    border: none;
    padding: 14px;
    cursor: pointer;
    font-size: 22px;
    border-radius: 50%;
    transition: opacity .2s ease;
}

.carousel-prev:hover, .carousel-next:hover {
    opacity: .85;
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

/* Contact Section (Updated) */
.contact {
    padding: 96px 60px;
    background: #1a1a1a;
    text-align: center;
}

.contact h2 {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 40px;
    margin-bottom: 48px;
    color: #ffffff;
    font-size: 1.6rem;
}

.contact h2::after {
    content: '';
    width: 64px;
    height: 3px;
    /*background: #9f0404;*/
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
}

.contact-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
}

.contact-form {
    flex: 1;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-form input, .contact-form textarea {
    padding: 16px;
    border: 1px solid #444;
    border-radius: 10px;
    font-size: 16px;
    background: #111;
    color: #fff;
    transition: border-color .2s;
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: #9f0404;
    outline: none;
}

.contact-form textarea {
    resize: vertical;
    min-height: 180px;
}

.contact-form button {
    cursor: pointer;
}

#form-message {
    margin-top: 20px;
    font-size: 16px;
    color: #9f0404;
}

.contact-info {
    flex: 1;
    text-align: left;
}

.contact-info h3 {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 24px;
    margin-bottom: 20px;
    color: #fff;
    font-size: 1.3rem;
}

.contact-info p {
    font-size: 16px;
    margin-bottom: 16px;
    color: #ccc;
    font-weight: var(--fw-body);
    font-size: 0.95rem;
}

.contact-info strong {
    font-weight: 700;
}

.contact-info i {
    margin-right: 12px;
    color: #9f0404;
}

.social-links {
    margin: 20px 0;
}

.social-links a {
    color: #111111;
    font-size: 28px;
    /*margin-right: 20px;*/
    transition: color 0.3s;
}

.social-links a:hover {
    color: #444444;
}

.zalo-icon {
    width: 48px;
    height: 48px;
    vertical-align: middle;
}

.map-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.map-tab {
    padding: 10px 20px;
    background: #1b1b1b;
    color: #f2f2f2;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 14px;
    transition: background .2s;
}

.map-tab.active {
    background: #9f0404;
    color: #ffffff;
    border-color: #9f0404;
}

.map-tab:hover {
    background: #444444;
}

.map-content {
    position: relative;
    height: 350px;
}

.map {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    border: 1px solid #444;
    display: none;
    font-weight: var(--fw-body);
    font-size: 0.95rem;
}

.map.active {
    display: block;
}

/* Footer */

.footer p {
    margin-top: 50px;
    font-size: 16px;
    color: #FFFFFF;
    font-weight: var(--fw-body);
    font-size: 0.95rem;
}

/* Responsive */
/* Responsive */
@media (max-width: 768px) {
    /* Navbar */
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px; /* Điều chỉnh vị trí menu dropdown */
        left: 0;
        width: 100%;
        background: #9f0404;
        padding: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0; /* Giảm khoảng cách giữa các link */
    }

    .hamburger {
        display: block; /* Hiển thị hamburger icon */
    }

    /* Hero Section */
    .hero.parallax {
        background-attachment: scroll; /* Tắt parallax trên mobile */
    }

    .hero {
        height: 66vh; /* Giảm chiều cao Hero để tiết kiệm không gian */
    }

    /* About Section */
    .about {
        padding: 50px 20px; /* Giảm padding */
    }

    .about-container {
        flex-direction: column;
        padding: 0 10px;
    }

    .about-text h2 {
        font-size: 32px; /* Giảm font-size cho h2 */
        font-weight: var(--fw-heading-2);
        font-size: 1.6rem;
    }

    .about-text p {
        font-size: 16px; /* Đảm bảo chữ dễ đọc */
        font-weight: var(--fw-body);
        font-size: 0.95rem;
    }

    .about-image img {
        width: 100%;
        border-radius: 12px;
        border: none;
        box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    }

    /* Services Section */
    .services {
        padding: 96px 60px;
        background: #ffffff;
        text-align: center;
    }

    .services h2 {
        font-family: var(--font-sans);
        font-size: 40px;
        margin-bottom: 48px;
        color: #111111;
        position: relative;
        font-weight: var(--fw-heading-2);
        font-size: 1.6rem;
    }

    .services-container {
        grid-template-columns: 1fr; /* Xếp dọc các card */
        gap: 30px;
    }

    .service-card {
        background: #ffffff;
        padding: 32px 28px;
        border-radius: 12px;
        border: 1px solid #eaeaea;
        box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
        transition: transform .2s ease, box-shadow .2s ease;
    }

    .service-card i {
        display: none;
    }

    .service-card h3 {
        font-family: var(--font-sans);
        font-size: 22px;
        margin-bottom: 12px;
        color: #111111;
        font-size: 1.3rem;
    }

    .service-card p {
        font-size: 15px;
        color: #333333;
        margin-bottom: 18px;
        font-weight: var(--fw-body);
        font-size: 0.95rem;
    }

    .service-cta {
        color: #9f0404;
        text-decoration: none;
        font-family: var(--font-sans);
        font-weight: 600;
        font-size: 14px;
    }

    /* Gallery Section */
    .gallery {
        padding: 50px 20px;
    }

    .gallery h2 {
        font-family: var(--font-sans);
        font-size: 40px;
        margin-bottom: 48px;
        color: #111111;
        position: relative;
        font-weight: var(--fw-heading-2);
        font-size: 1.6rem;
        font-weight: 600;
        font-size: 1.8rem;
    }

    .carousel-prev, .carousel-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(17, 17, 17, 0.6);
        color: #ffffff;
        border: none;
        padding: 14px;
        cursor: pointer;
        font-size: 22px;
        border-radius: 50%;
        transition: opacity .2s ease;
    }

    .carousel-dots {
        bottom: 10px; /* Đưa dots lên cao hơn */
    }

    /* Contact Section */
    .contact {
        padding: 96px 60px;
        background: #1a1a1a;
        text-align: center;
    }

    .contact-container {
        flex-direction: column;
        padding: 0 10px;
    }

    .contact h2 {
        font-family: var(--font-sans);
        font-weight: 300;
        font-size: 40px;
        margin-bottom: 48px;
        color: #ffffff;
        font-size: 1.6rem;
    }

    .contact-form input, .contact-form textarea {
        padding: 16px;
        border: 1px solid #444;
        border-radius: 10px;
        font-size: 16px;
        background: #111;
        color: #fff;
        transition: border-color .2s;
    }

    .contact-form textarea {
        min-height: 150px; /* Giảm chiều cao textarea */
    }

    .contact-form button {
        padding: 12px 25px;
        font-size: 16px;
    }

    .contact-info h3 {
        font-family: var(--font-sans);
        font-weight: 300;
        font-size: 24px;
        margin-bottom: 20px;
        color: #fff;
        font-size: 1.3rem;
    }

    .contact-info p {
        font-size: 16px;
        margin-bottom: 16px;
        color: #ccc;
        font-weight: var(--fw-body);
        font-size: 0.95rem;
    }

    .social-links a {
        font-size: 24px; /* Giảm kích thước icon mạng xã hội */
        margin-right: 15px;
    }

    .map-tabs {
        flex-wrap: wrap;
        gap: 8px; /* Giảm khoảng cách giữa các tab */
    }

    .map-tab {
        padding: 10px 20px;
        background: #1b1b1b;
        color: #f2f2f2;
        border: 1px solid #2a2a2a;
        border-radius: 6px;
        cursor: pointer;
        font-family: var(--font-sans);
        font-size: 14px;
        transition: background .2s;
    }

    .map-content {
        height: 300px; /* Giảm chiều cao map */
    }

    /* Footer */
    .footer p {
        margin-top: 20px;
        font-size: 14px;
        font-weight: var(--fw-body);
        font-size: 0.95rem;
    }
}

/* Tối ưu cho màn hình rất nhỏ (iPhone SE, Android nhỏ) */
@media (max-width: 480px) {
    /* Navbar */
    .nav-links {
        top: 60px;
        padding: 15px;
    }

    /* Hero Section */
    .hero {
        height: 66vh; /* Giảm thêm chiều cao */
    }

    /* About Section */
    .about {
        padding: 40px 15px;
    }

    .about-text h2 {
        font-size: 28px;
        font-weight: var(--fw-heading-2);
        font-size: 1.6rem;
    }

    .about-text p {
        font-size: 14px;
        font-weight: var(--fw-body);
        font-size: 0.95rem;
    }

    .about-image img {
        width: 100%;
        border-radius: 12px;
        border: none;
        box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    }

    /* Services Section */
    .services {
        padding: 96px 60px;
        background: #ffffff;
        text-align: center;
    }

    .services h2 {
        font-family: var(--font-sans);
        font-size: 40px;
        margin-bottom: 48px;
        color: #111111;
        position: relative;
        font-weight: var(--fw-heading-2);
        font-size: 1.6rem;
    }

    .service-card {
        background: #ffffff;
        padding: 32px 28px;
        border-radius: 12px;
        border: 1px solid #eaeaea;
        box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
        transition: transform .2s ease, box-shadow .2s ease;
    }

    .service-card i {
        display: none;
    }

    .service-card h3 {
        font-family: var(--font-sans);
        font-size: 22px;
        margin-bottom: 12px;
        color: #111111;
        font-size: 1.3rem;
    }

    .service-card p {
        font-size: 15px;
        color: #333333;
        margin-bottom: 18px;
        font-weight: var(--fw-body);
        font-size: 0.95rem;
    }

    /* Gallery Section */
    .gallery {
        padding: 40px 15px;
    }

    .gallery h2 {
        font-family: var(--font-sans);
        font-size: 40px;
        margin-bottom: 48px;
        color: #111111;
        position: relative;
        font-weight: var(--fw-heading-2);
        font-size: 1.6rem;
        font-weight: 600;
        font-size: 1.8rem;
    }

    .carousel-prev, .carousel-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(17, 17, 17, 0.6);
        color: #ffffff;
        border: none;
        padding: 14px;
        cursor: pointer;
        font-size: 22px;
        border-radius: 50%;
        transition: opacity .2s ease;
    }

    /* Contact Section */
    .contact {
        padding: 96px 60px;
        background: #1a1a1a;
        text-align: center;
    }

    .contact h2 {
        font-family: var(--font-sans);
        font-weight: 300;
        font-size: 40px;
        margin-bottom: 48px;
        color: #ffffff;
        font-size: 1.6rem;
    }

    .contact-form input, .contact-form textarea {
        padding: 16px;
        border: 1px solid #444;
        border-radius: 10px;
        font-size: 16px;
        background: #111;
        color: #fff;
        transition: border-color .2s;
    }

    .contact-form textarea {
        min-height: 120px;
    }

    .contact-form button {
        padding: 10px 20px;
        font-size: 14px;
    }

    .contact-info h3 {
        font-family: var(--font-sans);
        font-weight: 300;
        font-size: 24px;
        margin-bottom: 20px;
        color: #fff;
        font-size: 1.3rem;
    }

    .contact-info p {
        font-size: 16px;
        margin-bottom: 16px;
        color: #ccc;
        font-weight: var(--fw-body);
        font-size: 0.95rem;
    }

    .social-links a {
        font-size: 20px;
        margin-right: 10px;
    }

    .map-tab {
        padding: 10px 20px;
        background: #1b1b1b;
        color: #f2f2f2;
        border: 1px solid #2a2a2a;
        border-radius: 6px;
        cursor: pointer;
        font-family: var(--font-sans);
        font-size: 14px;
        transition: background .2s;
    }

    .map-content {
        height: 250px; /* Giảm chiều cao map cho màn hình nhỏ */
    }

    /* Footer */
    .footer p {
        font-size: 13px;
        font-weight: var(--fw-body);
        font-size: 0.95rem;
    }
}

/* Dropdown */
.navbar .has-dropdown {
    position: relative;
}

.navbar .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    min-width: 220px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    display: none;
}

.navbar .dropdown li a {
    display: block;
    padding: 10px 14px;
    color: #111111;
}

.navbar .dropdown li a:hover {
    background: #f7f7f7;
    color: #9f0404;
}

.navbar .has-dropdown:hover > .dropdown {
    display: block;
}

/* Mobile nav dropdown */
@media (max-width: 768px) {
    .navbar .has-dropdown {
        width: 100%;
    }

    .navbar .has-dropdown > a::after {
        /*content: '▾';*/
        margin-left: 6px;
    }

    .navbar .has-dropdown .dropdown {
        position: static;
        display: none;
        border: none;
        box-shadow: none;
        background: transparent;
    }

    .nav-links.active .has-dropdown .dropdown {
        display: none;
    }

    .navbar .dropdown li a {
        padding: 8px 0;
    }
}

/* Collections placeholder */
.collections .section-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 60px;
    text-align: center;
    font-weight: var(--fw-body);
    font-size: 0.95rem;
}

.collections h2 {
    font-family: var(--font-sans);
    font-size: 40px;
    margin-bottom: 12px;
    font-size: 1.6rem;
}

.collections .muted {
    color: #555;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(139, 0, 0, 0.5), rgba(218, 165, 32, 0.3)); /* Gradient nhẹ hơn để nổi nội dung */
    z-index: 0;
}

.hero h1 {
    font-family: var(--font-sans);
    font-size: 80px;
    margin-bottom: 15px;
    color: #eaeaea; /* Vàng sáng để nổi trên background */
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5); /* Tăng shadow để chữ rõ hơn */
    font-weight: var(--fw-heading-1);
    font-size: 2rem;
    font-size: 2.2rem;
}

.hero h2 {
    font-family: var(--font-sans);
    font-size: 40px;
    margin-bottom: 25px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    font-weight: var(--fw-heading-2);
    font-size: 1.6rem;
    font-size: 1.5rem;
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    color: #FFFFFF;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    font-weight: var(--fw-body);
    font-size: 0.95rem;
}

.cta-button {
    display: inline-block;
    padding: 18px 40px;
    background: #eaeaea; /* Nút vàng sáng */
    color: #1C2526;
    text-decoration: none;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 18px;
    border: 2px solid #eaeaea;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Thêm shadow cho nút */
    font-weight: 500;
    font-size: 0.9rem;
}

.cta-button:hover {
    background: #8B0000; /* Đổi sang đỏ đậm khi hover */
    color: #eaeaea;
    border-color: #eaeaea;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    font-weight: 500;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    border: none;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.carousel-item img {
    width: 100%;
    height: 750px;
    object-fit: cover;
    border-radius: 13px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    background: #eaeaea;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.carousel-dot.active {
    background: #eaeaea;
}

h1, h2, h3, h4 {
    font-family: var(--font-sans);
    font-weight: 300;
}

.section-wrap h2 {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 1.6rem;
}

.collections-featured .section-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 60px;
    text-align: center;
    font-weight: var(--fw-body);
    font-size: 0.95rem;
}

.collections-featured h2 {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 40px;
    margin-bottom: 48px;
    font-size: 1.6rem;
}

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

.collection-card {
    border: 1px solid #eaeaea;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
    transition: transform .2s, box-shadow .2s;
}

.collection-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .08);
}

.collection-card .cover {
    width: 100%;
    height: 260px;
    background-size: cover;
    background-position: center;
}

.collection-card .meta {
    padding: 18px 18px 22px;
    text-align: left;
}

.collection-card h3 {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 20px;
    margin: 6px 0 8px;
    font-size: 1.3rem;
}

.collection-card p {
    color: #333;
    font-size: 14px;
    margin-bottom: 12px;
    font-weight: var(--fw-body);
    font-size: 0.95rem;
}

.collection-link {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 14px;
    color: #111;
    text-decoration: none;
    border-bottom: 1px solid #111;
}

.collection-link:hover {
    opacity: .8;
}

@media (max-width: 992px) {
    .collections-grid {
        grid-template-columns:1fr 1fr;
    }
}

@media (max-width: 640px) {
    .collections-grid {
        grid-template-columns:1fr;
    }
}

.page-hero.slim .section-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 60px;
    text-align: center;
    font-weight: var(--fw-body);
    font-size: 0.95rem;
}

.page-hero h1 {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 48px;
    margin-bottom: 12px;
    font-weight: var(--fw-heading-1);
    font-size: 2rem;
    font-size: 2.2rem;
}

.page-content .section-wrap.narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 60px;
}

.page-content h2 {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 28px;
    margin: 20px 0 10px;
    font-size: 1.6rem;
}

.page-content p, .page-content li {
    font-size: 16px;
    color: #333;
}

/* distinct from Services (white) */
.services {
    background: #ffffff;
}

/* ensured white */

.nav-links a.active {
    color: #FFD700;
    border-bottom: 2px solid #666666;
    padding-bottom: 2px;
}

.breadcrumbs {
    background: #fafafa;
    border-bottom: 1px solid #eee;
}

.breadcrumbs .wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: var(--fw-body);
    font-size: 0.95rem;
}

.breadcrumbs a {
    color: #555;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs .sep {
    margin: 0 6px;
    color: #999;
    font-weight: var(--fw-body);
    font-size: 0.95rem;
}

/* Page visuals */
.page-hero .section-wrap img.hero-img {
    margin-top: 16px;
    max-width: 100%;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .05);
}

.grid.two {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 32px;
    margin: 24px 0;
}

@media (max-width: 900px) {
    .grid.two {
        grid-template-columns:1fr;
    }
}

.illustration {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .05);
}

.checklist {
    list-style: none;
    padding-left: 0;
}

.checklist li {
    position: relative;
    padding-left: 24px;
    margin: 8px 0;
}

.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #111;
}

.stats {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.stats .stat {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 14px;
    text-align: center;
}

.stats .stat span {
    display: block;
    font-size: 28px;
    font-family: var(--font-sans);
    grid-template-columns:repeat(3, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.collection-section .thumbs img {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #eee;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .04);
}

@media (max-width: 900px) {
    .collection-section .thumbs {
        grid-template-columns:1fr 1fr;
    }
}

@media (max-width: 600px) {
    .collection-section .thumbs {
        grid-template-columns:1fr;
    }
}

/* Alternating section backgrounds */

.services {
    background: #ffffff;
}

.gallery, .featured-gallery {
    background: #f3f4f6;
    text-align: center;
}

/* Full-screen Collections Featured */

.collections-featured .section-wrap {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px;
    font-weight: var(--fw-body);
    font-size: 0.95rem;
}

.collections-grid {
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.collection-card .cover {
    height: 360px;
}

@media (max-width: 1024px) {
    .collection-card .cover {
        height: 300px;
    }
}

@media (max-width: 768px) {

    .collections-featured .section-wrap {
        padding: 48px 24px;
        font-weight: var(--fw-body);
        font-size: 0.95rem;
    }

    .collections-grid {
        grid-template-columns:1fr;
        gap: 18px;
    }

    .collection-card .cover {
        height: 260px;
    }
}

/* Fullscreen lookbook panels */
.collections-immersive {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns:1fr 1fr 1fr;
}

.collections-immersive .panel {
    position: relative;
    overflow: hidden;
}

.collections-immersive .panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('assets/collections/lookbook-triptych.png');
    background-size: cover;
    background-repeat: no-repeat;
    transition: transform .6s ease;
}

.collections-immersive .panel.left::before {
    background-position: left center;
}

.collections-immersive .panel.center::before {
    background-position: center center;
}

.collections-immersive .panel.right::before {
    background-position: right center;
}

.collections-immersive .panel .panel-link {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-decoration: none;
}

.collections-immersive .panel .overlay {
    width: 100%;
    padding: 28px 24px 42px;
    text-align: center;
    background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0));
}

.collections-immersive .panel h3 {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 28px;
    color: #fff;
    margin: 0 0 6px;
    font-size: 1.3rem;
}

.collections-immersive .panel p {
    font-family: var(--font-sans);
    font-weight: 300;
    color: #f0f0f0;
    margin: 0;
    font-weight: var(--fw-body);
    font-size: 0.95rem;
}

.collections-immersive .panel:hover::before {
    transform: scale(1.06);
}

@media (max-width: 1024px) {
    .collections-immersive {
        grid-template-columns:1fr;
        min-height: auto;
    }

    .collections-immersive .panel {
        height: 80vh;
    }

    .collections-immersive .panel .overlay {
        padding: 22px 20px 36px;
    }
}

@media (max-width: 640px) {
    .collections-immersive .panel {
        height: 68vh;
    }

    .collections-immersive .panel h3 {
        font-size: 24px;
        font-size: 1.3rem;
    }
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #8B0000;
    padding: 25px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.navbar .logo img {
    height: 90px;
    border: 1px solid #FFFFFF;
    border-radius: 5px;
    padding: 3px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.nav-links a {
    color: #FFD700;
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 20px;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: #DAA520;
}

.footer {
    background: #4A0000;
    color: #FFD700;
    padding: 80px 60px 40px;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 50px;
    background: linear-gradient(180deg, rgba(139, 0, 0, 0.2), rgba(255, 215, 0, 0.1));
    padding: 40px;
    border-radius: 15px;
    border: 1px solid #FFD700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.footer-logo img {
    height: 70px;
    border: 1px solid #FFFFFF;
    border-radius: 5px;
    padding: 5px;
}

.footer-links a {
    color: #FFD700;
    text-decoration: none;
    margin: 0 25px;
    font-family: var(--font-sans);
    font-size: 18px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #DAA520;
}

.footer-social a {
    color: #FFD700;
    font-size: 30px;
    margin: 0 25px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #A10000;
}

/* Title for fullscreen collections */
.collections-immersive {
    position: relative;
}

.collections-immersive-title {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .4);
    padding: 4px 12px;
    border-radius: 8px;
}

.collections-immersive-title h2 {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 36px;
    margin: 0 0 4px;
    font-size: 1.6rem;
}

.collections-immersive-title p {
    font-size: 14px;
    margin: 0;
    font-weight: var(--fw-body);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .collections-immersive-title h2 {
        font-size: 28px;
        font-size: 1.6rem;
    }
}

/* Contact CTA in brand color */
.contact input[type="submit"] {
    background: #9f0404;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 12px 24px;
    font-family: var(--font-sans);
    font-weight: 500;
    cursor: pointer;
    transition: transform .2s ease, opacity .2s ease;
    font-weight: 500;
}

.contact .cta-button:hover, .contact button:hover, .contact input[type="submit"]:hover {
    opacity: .9;
    transform: translateY(-1px);
    font-weight: 500;
}

/* Lookbook 3x2 panels inside collections detail */
.sep {
    border: 0;
    border-top: 1px solid #eee;
    margin: 36px 0;
    font-weight: var(--fw-body);
    font-size: 0.95rem;
}

.collection-intro h2 {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 28px;
    margin: 4px 0 8px;
    font-size: 1.6rem;
}

.collection-intro p {
    color: #333;
    margin: 0 0 12px;
    font-weight: var(--fw-body);
    font-size: 0.95rem;
}

.look-3panel {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 12px;
    margin-top: 8px;
}

.look-3panel .look {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 12px;
    min-height: 100vh;
}

.look-3panel .look::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('assets/collections/lookbook-triptych.png');
    background-size: cover;
    background-repeat: no-repeat;
    transition: transform .5s ease;
}

.look-3panel .look:nth-child(3n+1)::before {
    background-position: left center;
}

.look-3panel .look:nth-child(3n+2)::before {
    background-position: center center;
}

.look-3panel .look:nth-child(3n)::before {
    background-position: right center;
}

.look-3panel .look:hover::before {
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    .look-3panel .look {
        min-height: 80vh;
    }
}

@media (max-width: 900px) {
    .look-3panel {
        grid-template-columns:repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .look-3panel {
        grid-template-columns:1fr;
    }

    .look-3panel .look {
        min-height: 70vh;
    }
}

/* Section heading (reusable, similar to Services) */
.section-head.center {
    max-width: 1200px;
    margin: 0 auto;
    padding: 72px 60px 24px;
    text-align: center;
}

.section-head.center h2 {
    font-family: var(--font-sans);
    font-size: 40px;
    color: #111;
    position: relative;
    margin-bottom: 18px;
    font-weight: var(--fw-heading-2);
    font-size: 1.6rem;
}

.section-head.center h2::after {
    content: '';
    width: 64px;
    height: 3px;
    background: #9f0404;
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
}

.section-head.center .muted {
    color: #555;
}

/* Make immersive block start right after heading (remove absolute title spacing) */
.collections-immersive {
    padding-bottom: 0;
}

/* Extra breathing room for page heroes so titles don't sit under fixed header */
.page-hero.slim .section-wrap {
    padding-top: 140px;
    font-weight: var(--fw-body);
    font-size: 0.95rem;
}

/* Anchor jump offset */
#about, #collections {
    scroll-margin-top: 110px;
}

/* Different backgrounds for Services and Collections */
.services {
    background: #ffffff;
}

#collections-featured {
    background: #f9f9f9;
}

/* Center align the heading for Collections Featured */
#collections-featured .section-head.center {
    text-align: center;
}

#collections-featured .section-head.center h2 {
    margin-left: auto;
    margin-right: auto;
    font-weight: var(--fw-heading-2);
    font-size: 1.6rem;
}

/* Hero fullscreen for collections page */
.page-hero.slim {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('assets/collections/hero-collection.jpg') no-repeat center/cover;
    padding: 0 20px;
}

.page-hero.slim .section-wrap {
    max-width: 900px;
    text-align: center;
    font-weight: var(--fw-body);
    font-size: 0.95rem;
}

.page-hero.slim h1 {
    font-size: 56px;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    font-size: 2rem;
}

.page-hero.slim p {
    font-size: 20px;
    color: #f0f0f0;
    font-weight: var(--fw-body);
    font-size: 0.95rem;
}

/* Album grid styles */
.album {
    padding: 80px 60px;
    background: #fff;
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.album-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform .3s ease, box-shadow .3s ease;
}

.album-item:hover img {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* --- Collections: Fullscreen Hero --- */
.page-hero.slim {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #fafafa, #ffffff);
    padding: 0 20px;
}

.page-hero.slim .section-wrap {
    max-width: 900px;
    text-align: center;
    font-weight: var(--fw-body);
    font-size: 0.95rem;
}

.page-hero.slim h1 {
    font-size: 56px;
    margin-bottom: 16px;
    font-size: 2rem;
}

.page-hero.slim p {
    font-size: 18px;
    color: #444;
    font-weight: var(--fw-body);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .page-hero.slim h1 {
        font-size: 40px;
        font-size: 2rem;
    }
}

/* --- Album Grid --- */
.album {
    padding: 80px 60px;
    background: #fff;
}

.album-head {
    max-width: 1200px;
    margin: 0 auto 16px;
    display: flex;
    justify-content: flex-end;
}

.album .controls {
    font-size: 14px;
    color: #666;
}

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

.album-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 12px;
}

.album-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease, box-shadow .3s ease;
    display: block;
}

.album-item:hover img {
    transform: scale(1.05);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}

/* --- Lightbox --- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.lightbox.open {
    display: flex;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .4);
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: transparent;
    color: #fff;
    border: none;
    font-size: 36px;
    cursor: pointer;
    line-height: 1;
}

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

.container.narrow {
    max-width: 1200px;
}

/* Lead (intro) */
.collection-lead {
    padding: 80px 0 10px;
    background: #ffffff;
}

.collection-lead h1 {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 44px;
    margin-bottom: 16px;
    text-align: left;
    font-size: 2rem;
}

.collection-lead .lead-copy {
    color: #333;
    line-height: 1.85;
}

.collection-lead .lead-copy p {
    margin: 0 0 12px;
    font-weight: var(--fw-body);
    font-size: 0.95rem;
}

/* Album */
.album {
    padding: 20px 0 80px;
    background: #fff;
}

.album-head {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    /*margin: 16px 0 12px;*/
    color: #666;
}

.album-head .sort select {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 6px 10px;
    background: #fafafa;
}

/* Masonry columns */
.album-masonry {
    column-count: 3;
    column-gap: 16px;
}

.album-item {
    display: block;
    margin: 0 0 16px;
    break-inside: avoid;
    border-radius: 12px;
    overflow: hidden;
}

.album-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .3s ease, box-shadow .3s ease;
}

.album-item:hover img {
    transform: scale(1.04);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .18);
}

@media (max-width: 1024px) {
    .album-masonry {
        column-count: 2;
    }
}

@media (max-width: 640px) {
    .album-masonry {
        column-count: 1;
    }
}

/* --- Mobile Navbar Improvements --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.navbar .logo img {
    height: 80px;
}

.hamburger {
    display: none;
    position: relative;
    width: 38px;
    height: 30px;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.hamburger span {
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: #FFD700;
    border-radius: 2px;
    transition: transform .25s, opacity .25s, top .25s;
}

.hamburger span:nth-child(1) {
    top: 4px;
}

.hamburger span:nth-child(2) {
    top: 13px;
}

.hamburger span:nth-child(3) {
    top: 22px;
}

.hamburger.is-open span:nth-child(1) {
    top: 13px;
    transform: rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
    opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
    top: 13px;
    transform: rotate(-45deg);
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: #9f0404;
        padding: 16px 20px;
        gap: 10px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 18px;
        padding: 8px 2px;
        font-size: 0.95rem;
    }

    .hamburger {
        display: block;
    }
}

/* push page content below fixed navbar */
body {
    font-family: var(--font-sans);
    font-weight: var(--fw-body);
    line-height: 1.75;
    color: #111111;
    background: #FFFFFF;
    font-size: 15px;
}

/* --- Hero mobile typography --- */
@media (max-width: 768px) {
    .hero {
        height: 60vh;
        padding: 0 14px;
    }

    .hero-content {
        margin-top: 16px;
        max-width: 90%;
    }

    .hero h1 {
        font-size: 36px;
        margin-bottom: 8px;
        font-weight: var(--fw-heading-1);
        font-size: 2rem;
        font-size: 2.2rem;
    }

    .hero h2 {
        font-size: 22px;
        margin-bottom: 12px;
        font-weight: var(--fw-heading-2);
        font-size: 1.6rem;
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 14px;
        margin-bottom: 18px;
        font-weight: var(--fw-body);
        font-size: 0.95rem;
    }

    .cta-button {
        padding: 12px 22px;
        font-size: 16px;
        font-weight: 500;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 56vh;
    }

    .hero h1 {
        font-size: 30px;
        font-weight: var(--fw-heading-1);
        font-size: 2rem;
        font-size: 2.2rem;
    }

    .hero h2 {
        font-size: 18px;
        font-weight: var(--fw-heading-2);
        font-size: 1.6rem;
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 13px;
        font-weight: var(--fw-body);
        font-size: 0.95rem;
    }

    .cta-button {
        padding: 10px 18px;
        font-size: 15px;
        font-weight: 500;
        font-size: 0.9rem;
    }
}

/* --- Footer mobile layout --- */
@media (max-width: 992px) {
    .footer {
        padding: 48px 24px 32px;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 24px;
    }

    .footer-links {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }

    .footer-links a {
        margin: 0;
        font-size: 16px;
    }

    .footer-social a {
        margin: 0 12px;
        font-size: 24px;
    }

    .footer-logo img {
        height: 56px;
    }

    .footer p {
        margin-top: 16px;
        font-size: 14px;
        font-weight: var(--fw-body);
        font-size: 0.95rem;
    }
}

/* === PATCH: collections-immersive -> switch to IMG-based panels === */
/* Disable any legacy pseudo-element background images */
.collections-immersive .panel::before {
    content: none !important;
    display: none !important;
}

/* Fullscreen lookbook panels - IMG-based (no CSS background) */
.collections-immersive {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.collections-immersive .panel {
    position: relative;
    overflow: hidden;
}

.collections-immersive .panel-link {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-decoration: none;
}

.collections-immersive .panel .panel-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform .6s ease, filter .6s ease;
}

.collections-immersive .panel .overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 28px 24px 42px;
    text-align: center;
    background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0));
}

.collections-immersive .panel h3 {
    font-weight: 300;
    font-size: 28px;
    color: #fff;
    margin: 0 0 6px;
    font-size: 1.3rem;
}

.collections-immersive .panel p {
    font-weight: 300;
    color: #f0f0f0;
    margin: 0;
    font-weight: var(--fw-body);
    font-size: 0.95rem;
}

/* Hover zoom in/out effect */
.collections-immersive .panel:hover .panel-media {
    transform: scale(1.08);
    filter: brightness(0.98);
}

/* Responsive */
@media (max-width: 1024px) {
    .collections-immersive {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .collections-immersive .panel {
        height: 80vh;
    }

    .collections-immersive .panel .overlay {
        padding: 22px 20px 36px;
    }
}

@media (max-width: 640px) {
    .collections-immersive .panel {
        height: 68vh;
    }

    .collections-immersive .panel h3 {
        font-size: 24px;
        font-size: 1.3rem;
    }
}

/* === END PATCH === */
h1 {
    font-weight: var(--fw-heading-1);
    font-size: 2rem;
}

h2 {
    font-weight: var(--fw-heading-2);
    font-size: 1.6rem;
}

h3 {
    font-weight: var(--fw-heading-3);
    font-size: 1.3rem;
}

.section-head.center p.muted {
    font-weight: var(--fw-body);
    font-size: 0.95rem;
    color: #555555;
    margin-top: 20px;
    text-decoration: none;
}

/* Featured Gallery Section (match spacing with Services) */
.featured-gallery {
    padding: 96px 60px;
    background: #f3f4f6;
    text-align: center;
}

.featured-gallery h2 {
    font-family: var(--font-sans);
    font-weight: var(--fw-heading-2);
    font-size: 1.6rem;
    margin-bottom: 48px;
    color: #111;
    position: relative;
}

.featured-gallery h2::after {
    content: '';
    width: 64px;
    height: 3px;
    background: #9f0404;
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
}

/* === MOBILE PATCH v2 (menu + spacing) === */
@media (max-width: 992px) {
    /* Hamburger visible & on top */
    .hamburger {
        display: block;
        z-index: 1101;
    }

    /* Hidden by default; becomes a fixed dropdown overlay when active */
    .nav-links {
        display: none;
        position: fixed;
        top: 80px; /* ~ navbar height */
        left: 0;
        right: 0;
        background: #9f0404;
        padding: 16px 20px;
        gap: 8px;
        box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
        z-index: 1100;
        flex-direction: column;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 12px 8px;
    }

    /* Prevent page scroll when menu is open (JS toggles .menu-open) */
    body.menu-open {
        overflow: hidden;
    }
}

/* Typography & layout on small screens */
@media (max-width: 768px) {
    .hero {
        height: 60vh;
        padding: 0 14px;
    }

    .hero .cta-button {
        padding: 12px 22px;
        font-size: 0.9rem;
    }

    .about, .services, .featured-gallery, .contact {
        padding: 56px 20px;
    }

    .carousel-item img {
        height: 320px;
        object-fit: cover;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .hero {
        height: 56vh;
    }

    .cta-button {
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    .about, .services, .featured-gallery, .contact {
        padding: 48px 16px;
    }
}


/* dropdown list reset */
.navbar .dropdown {
    list-style: none;
}


/* Mobile submenu formatting */
@media (max-width: 768px) {
    .navbar .has-dropdown {
        width: 100%;
    }

    .navbar .has-dropdown > a {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .navbar .has-dropdown > a::after {
        /*content: '▾';*/
        margin-left: 8px;
        transition: transform .2s ease;
    }

    .navbar .has-dropdown.open > a::after {
        transform: rotate(180deg);
    }

    .navbar .dropdown {
        position: static;
        background: transparent;
        border: 0;
        box-shadow: none;
        padding-left: 16px; /* indent */
        margin-top: 6px;
    }

    .navbar .dropdown li {
        margin: 4px 0;
    }

    .navbar .dropdown li a {
        color: #FFE08A;
        font-weight: 400;
        padding: 6px 0;
        display: block;
    }
}

/* === MOBILE NAVBAR BALANCE OVERRIDE ===
   Cân logo ↔ hamburger khi mở site lần đầu trên mobile */
@media (max-width: 768px) {
    .navbar {
        padding: 18px 20px !important; /* trái = phải = 20px */
    }

    .navbar .logo img {
        height: 65px; /* header gọn hơn */
    }

    .nav-links {
        top: 72px !important; /* overlay menu nằm ngay dưới navbar */
    }

    .hamburger {
        margin-right: 0 !important; /* dựa vào padding của .navbar */
    }
}

/* ==== MOBILE NAVBAR ALIGNMENT FIX (logo ↔ hamburger, no right gap) ==== */
@media (max-width: 768px) {
    .navbar {
        left: 0;
        right: 0;
        width: 100%;
        /* cân 2 bên & đưa hamburger gần logo */
        padding: 14px 16px !important;
        justify-content: flex-start !important;
        gap: 280px; /* khoảng cách nhỏ giữa logo & menu */
    }

    .navbar .logo {
        display: flex;
        align-items: center;
    }

    .navbar .logo img {
        height: 58px;
    }

    .hamburger {
        display: block;
        margin-left: 12px;
        margin-right: 0 !important;
    }

    /* menu dropdown phủ full bề ngang, không chừa rìa phải */
    .nav-links {
        position: fixed;
        top: 80px; /* phù hợp với chiều cao header trên mobile */
        left: 0;
        right: 0;
        width: 100%;
    }
}

/* === Nav: caret toggle cho submenu === */
.navbar .has-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}
.navbar .has-dropdown > .dropdown-toggle {
    display: none; /* desktop ẩn */
    appearance: none;
    border: none;
    background: transparent;
    cursor: pointer;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    position: relative;
}
.navbar .has-dropdown > .dropdown-toggle::before {
    content: '▾';
    position: absolute;
    inset: 0;
    font-size: 16px;
    line-height: 28px;
    text-align: center;
    color: #FFD700;
}
.navbar .has-dropdown.open > .dropdown-toggle::before {
    transform: rotate(180deg);
}

/* Mobile: hiện caret, submenu “liệt” (không click) */
@media (max-width: 768px) {
    .navbar .has-dropdown { width: 100%; }
    .navbar .has-dropdown > .dropdown-toggle {
        display: inline-block;
    }
    /* Submenu hiển thị khi .open */
    .nav-links.active .has-dropdown.open .dropdown { display: block; }

    /* Khoá click submenu trên mobile */
    .navbar .dropdown [data-submenu] {
        pointer-events: none;
        opacity: 0.7;
    }

    /* Bố cục hàng dọc cho mục lang-switch */
    .nav-links .lang-switch {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-top: 8px;
    }
}

/* === Language switch === */
.lang-switch .sep {
    color: #FFD700;
    opacity: 0.6;
}
.lang-btn {
    padding: 6px 10px;
    background: transparent;
    border: 1px solid rgba(255,215,0,0.4);
    border-radius: 999px;
    color: #FFD700;
    font-family: var(--font-sans);
    font-size: 13px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.lang-btn[aria-current="true"],
.lang-btn:hover {
    background: #FFD700;
    color: #4A0000;
    border-color: #FFD700;
}

/* Desktop căn phải khối ngôn ngữ một chút */
@media (min-width: 769px) {
    .nav-links { align-items: center; }
    .nav-links .lang-switch { margin-left: 20px; }
}

/* ==== CHỈ SỬA SLIDER CHO MOBILE + IPAD (<=1023.98px) ==== */
@media (max-width: 1023.98px) {
    /* 1) Ảnh slider co giãn theo viewport, không còn cố định “vỡ” khung */
    .carousel-item img {
        width: 100%;
        height: clamp(220px, 56vh, 620px); /* co theo chiều cao máy */
        object-fit: cover;
        object-position: center;
        display: block;
        border-radius: 13px; /* giữ bo góc nếu bạn đang dùng */
    }

    /* 2) iPhone 13/14 Plus/15 Pro Max (dọc ~390–430px) – cho ảnh cao hơn chút */
    @media (min-width: 390px) and (max-width: 430px) and (orientation: portrait) {
        .carousel-item img { height: 58vh; }
    }

    /* 3) iPhone ngang (chiều cao rất thấp) – hạn chế “đè” nội dung */
    @media (max-height: 430px) and (orientation: landscape) {
        .carousel-item img { height: clamp(200px, 70vh, 420px); }
    }

    /* 4) Galaxy Fold 5 (màn hẹp khi gập) */
    @media (max-width: 360px) {
        .carousel-item img { height: clamp(200px, 54vh, 520px); }
    }

    /* 5) iPad (768–1023.98px) – tối ưu độ cao ảnh */
    @media (min-width: 768px) {
        .carousel-item img { height: clamp(320px, 54vh, 620px); }
    }

    /* (tuỳ chọn) tăng vùng chạm nút prev/next trên mobile */
    .carousel-prev, .carousel-next { padding: 16px; }
}

