:root {
    --primary: #c5a059;
    --primary-dark: #a68541;
    --bg-body: #ffffff;
    --bg-alt: #fcfaf5;
    --text-main: #1a1a1a;
    --text-muted: #666666;
    --border: rgba(0, 0, 0, 0.05);
    --transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: transform 0.3s ease, opacity 0.3s ease;

    --font-script: "Herr Von Muellerhoff", cursive;
    --font-display: "Palatino Linotype", "Palatino", serif;
    --font-sans: "Outfit", sans-serif;
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 40px 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--border);
    transform: translate3d(0, 0, 0);
}

.header-flex {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    height: 100px;
    transition: var(--transition);
    will-change: transform, height;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

header.scrolled .logo img {
    height: 65px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: #f7f7f7;
    overflow: hidden;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    animation: zoomSlow 25s infinite alternate;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

.script-text {
    font-family: "Herr Von Muellerhoff", cursive;
    font-size: 8rem;
    color: var(--primary);
    margin-bottom: -45px;
    display: block;
    font-weight: 400;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.main-title {
    font-size: 5.5rem;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 10px;
    font-family: "Palatino Linotype", "Palatino", "Book Antiqua", serif;
    color: #ffffff;
    line-height: 1.2;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.4);
}

/* Section Layouts */
.section {
    padding: 160px 0;
    position: relative;
    contain: paint;
}

.reveal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.reveal-grid.reverse {
    direction: rtl;
}

.reveal-grid.reverse>* {
    direction: ltr;
}

.text-content {
    max-width: 540px;
}

.tagline {
    font-family: var(--font-script);
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 5px;
    display: block;
}

.section-h2 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 35px;
    line-height: 1.1;
    color: var(--text-main);
}

.paragraph {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 0;
    position: relative;
    padding-left: 40px;
}

.paragraph::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 20px;
    height: 2px;
    background: var(--primary);
}

/* Image Display */
.img-frame {
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

.img-frame img {
    width: 100%;
    display: block;
    transition: var(--transition);
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
    -webkit-perspective: 1000;
}

.img-frame:hover img {
    transform: scale(1.06);
}

.img-collage {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Large Decoration Text */
.bg-text {
    position: absolute;
    font-family: var(--font-display);
    font-size: 18rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.02);
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

/* Gallery Section */
.gallery-section {
    padding-bottom: 120px;
    background: var(--bg-body);
}

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

.gallery-item {
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    will-change: transform;
    transform: translateZ(0);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Footer & CTA */
footer {
    padding: 120px 0 60px;
    background: var(--bg-alt);
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer-logo img {
    height: 110px;
    margin-bottom: 50px;
}

.footer-cta {
    max-width: 800px;
    margin: 0 auto 80px;
    padding: 80px 40px;
    background: var(--bg-body);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    transform: translate3d(0, 0, 0);
}

.cta-h3 {
    font-family: var(--font-display);
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.cta-p {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.btn-gold {
    display: inline-block;
    padding: 22px 60px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.3);
}

.btn-gold:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(197, 160, 89, 0.4);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--border);
    padding-top: 40px;
}

/* Floating Contact UI */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 2000;
}

.contact-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    justify-content: flex-end;
}

.contact-label {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 15px;
    opacity: 0;
    transform: translateX(20px);
    transition: var(--transition);
    pointer-events: none;
    white-space: nowrap;
}

.contact-item:hover .contact-label {
    opacity: 1;
    transform: translateX(0);
}

.bubble {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    transition: var(--transition);
    background: #fff;
}

.bubble.phone {
    background: #2ecc71;
    animation: pulse-green 2s infinite;
}

.bubble.zalo {
    background: #fff;
    padding: 5px;
}

.bubble svg {
    width: 32px;
    height: 32px;
}

.bubble.phone svg {
    fill: #fff;
    animation: phone-shake 0.5s infinite;
}

.bubble:hover {
    transform: scale(1.1);
}

/* Animations */
@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(46, 204, 113, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
    }
}

@keyframes phone-shake {
    0% {
        transform: rotate(0);
    }

    25% {
        transform: rotate(15deg);
    }

    50% {
        transform: rotate(0);
    }

    75% {
        transform: rotate(-15deg);
    }

    100% {
        transform: rotate(0);
    }
}

/* Animations */
@keyframes zoomSlow {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

[data-aos] {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
    transition: var(--transition);
    will-change: transform, opacity;
    backface-visibility: hidden;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {

    .reveal-grid,
    .reveal-grid.reverse {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .main-title {
        font-size: 3.5rem;
        letter-spacing: 6px;
    }

    .script-text {
        font-size: 3.5rem;
    }

    .section-h2 {
        font-size: 2.5rem;
    }

    .grid-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .container {
        padding: 0 25px;
    }
}