
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f6f6f6;
    font-family: 'Afacad Flux', sans-serif;
}

/* ANIMATION */
.fade-in {
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* NAVBAR BASE */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    align-items: center;
    background: #d63a33;

    padding: 20px 50px;
    transition: all 0.3s ease;
}

/* SCROLL 状态 */
.navbar.scrolled {
    padding: 12px 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.logo {
    height: 80px;
    width: auto;
    transition: transform 0.3s ease;
    transform-origin: center;
}

.logo:hover {
    transform: scale(1.08);
}


.navbar.scrolled .logo {
    height: 60px;
}

/* NAV */
nav {
    display: flex;
    margin-left: 30px;
    flex: none;
}

.review-link {
    margin-left: auto;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 18px;
    position: relative;
    transition: 0.3s;
}

/* HOVER COLOR */
nav a:hover {
    color: #ffe0c2;
}

/* ADVANCED UNDERLINE */
nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;

    width: 0%;
    height: 2px;
    background: #ffe0c2;

    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover::after {
    width: 100%;
}

/* ACTIVE PAGE */
nav .active::after {
    width: 100%;
}

/* BUTTON */

.review-btn {
    margin-left: auto;
    background: white;
    color: #d63a33;
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}

/* 🔥 glow effect */
.review-btn:hover {
    box-shadow: 0 4px 15px rgba(255, 224, 194, 0.6),
                0 0 10px rgba(255, 224, 194, 0.8);
}

/* ================= TITLE ================= */
.title {
    text-align: center;
    margin: 50px 0;
}

.title h1 {
    font-family: "acumin-variable", sans-serif;
    font-weight: 900;
    font-stretch: semi-condensed;
    font-size: 52px;
    color: #d63a33;
}

/* ================= CONTENT ================= */
.content {
    display: flex;
    justify-content: center;
    gap: 80px;
}

/* FORM */
.form-card {
    background: #e58b3b;
    padding: 25px;
    border-radius: 25px;
    width: 320px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.form-card h3 {
    color: white;
    margin-bottom: 15px;
}

.form-card input,
.form-card textarea {
    width: 100%;
    padding: 12px;
    border-radius: 15px;
    border: none;
    margin-bottom: 15px;
}

.form-card textarea {
    height: 120px;
}

.form-card button {
    background: white;
    color: #e58b3b;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.form-card button:hover {
    background: #ffe0c2;
}

/* ================= LOCATION ================= */
.address {
    background: #e58b3b;
    color: white;
    padding: 15px;
    border-radius: 15px;
    width: 320px;
    margin-bottom: 15px;
}

.map iframe {
    width: 320px;
    height: 250px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* ================= INFO ================= */
.info {
    text-align: center;
    margin: 60px 0;
}

.info h2 {
    color: #d63a33;
    margin-top: 20px;
}

/* ================= FOOTER ================= */
.footer {
    background: linear-gradient(to right, #2b1e1e, #1a1414);
    color: white;
    text-align: center;
    padding: 50px 20px;
}

/* TITLE */
.footer-title {
    font-size: 22px;
    margin-bottom: 15px;
}

/* NAV */
.footer-nav {
    margin-bottom: 25px;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    margin: 0 12px;
    font-size: 14px;
    opacity: 0.9;
    transition: 0.3s;
}

.footer-nav a:hover {
    opacity: 0.6;
}

/* SOCIAL ICON */
.footer-socials {
    display: flex;
    justify-content: center;
    gap: 25px; 
    margin-bottom: 20px;
}

.footer-socials img {
    width: 35px;  
    height: auto;

    background: none;   
    padding: 0;       
    border-radius: 0;  

    transition: 0.3s;
}

.footer-socials img:hover {
    transform: translateY(-3px);
    opacity: 0.7;              
}

/* COPYRIGHT */
.footer-copy {
    font-size: 12px;
    opacity: 0.7;
}

.footer-socials img:hover {
    transform: translateY(-5px) scale(1.05);
}

/* BACK TO TOP BUTTON */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;

    width: 50px;
    height: 50px;

    background: #d63a33;
    color: white;
    border: none;
    border-radius: 50%;

    font-size: 20px;
    cursor: pointer;

    display: none; 
    z-index: 999;

    transition: 0.3s;
}

/* hover */
#backToTop:hover {
    background: #b52d27;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* ================= RESPONSIVE ================= */

/* TABLET */
@media (max-width: 1024px) {

    .content,
    .vision-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .vision-cards {
        flex-direction: column;
        align-items: center;
    }

    .video-container img {
        width: 90%;
    }
}


/* MOBILE */
@media (max-width: 768px) {

    /* NAVBAR */
    .navbar {
        flex-wrap: wrap;
        padding: 15px 20px;
    }

    .logo {
        height: 60px;
    }

    nav {
        width: 100%;
        justify-content: center;
        margin: 10px 0;
        flex-wrap: wrap;
    }

    nav a {
        margin: 8px 10px;
        font-size: 14px;
    }

    .review-link {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 10px;
    }

    /* TITLE */
    .title h1 {
        font-size: 36px;
    }

    /* VIDEO */
    .video-container img {
        width: 100%;
    }

    /* STORY */
    .story-overlay {
        padding: 30px 15px;
    }

    .story-overlay p {
        font-size: 14px;
    }

    /* VISION */
    .vision-container {
        flex-direction: column;
    }

    .vision-img img {
        width: 100%;
        max-width: 300px;
    }

    .vision-cards {
        flex-direction: column;
    }

    .card {
        width: 90%;
        max-width: 300px;
    }

    /* FOOTER */
    .footer-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .footer-socials img {
        width: 30px;
    }

    /* BACK TO TOP */
    #backToTop {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* HAMBURGER */
.menu-toggle {
    display: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
    margin-left: auto;
}

/* MOBILE MENU */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;

        background: #d63a33;

        flex-direction: column;
        align-items: center;

        max-height: 0;
        overflow: hidden;

        transition: 0.3s;
    }

    nav a {
        margin: 15px 0;
    }

    nav.active {
        max-height: 300px;
    }

    .review-link {
        display: none;
    }
}

