/* style.css - Premium Frontend Visual Styles & Layouts */

/* ==========================================
   1. GLOBAL STYLES & LAYOUT UTILITIES
   ========================================== */
section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Titles & Typography */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--color-secondary);
    line-height: 1.3;
}

.section-subtitle {
    font-size: 16px;
    color: var(--color-gray);
    margin-top: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--pill-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(181, 138, 60, 0.3);
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-pill:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(78, 54, 41, 0.4);
}

.btn-pill-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background-color: transparent;
    color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
    border-radius: var(--pill-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-pill-secondary:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* Card Common */
.card {
    background-color: var(--color-white);
    border-radius: var(--card-radius);
    padding: 32px;
    box-shadow: 0 20px 50px -10px var(--color-shadow), 0 0 1px var(--color-shadow-border);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    border: 1px solid rgba(78, 54, 41, 0.05);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px -12px rgba(78, 54, 41, 0.12), 0 0 1px rgba(78, 54, 41, 0.2);
}

/* Animation classes using Intersection Observer */
.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   2. GLASSMORPHISM GNB HEADER
   ========================================== */
.glass-gnb {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    background: rgba(250, 246, 238, 0.75);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--pill-radius);
    box-shadow: 0 8px 32px 0 rgba(78, 54, 41, 0.08);
    transition: all 0.4s ease;
}

.gnb-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 28px;
}

.gnb-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-secondary);
    font-size: 20px;
    font-weight: 800;
    gap: 8px;
}

.gnb-logo i {
    color: var(--color-primary);
    font-size: 24px;
}

.gnb-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 12px;
}

.gnb-menu a {
    text-decoration: none;
    color: var(--color-text);
    font-size: 13px;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 6px 10px;
    border-radius: var(--pill-radius);
    white-space: nowrap;
}

.gnb-menu a:hover,
.gnb-menu a.active {
    color: var(--color-primary);
}

.gnb-cta {
    display: block;
}

.gnb-cta .btn-pill {
    padding: 10px 20px;
    font-size: 14px;
    box-shadow: none;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--color-secondary);
    cursor: pointer;
    font-size: 28px;
}

/* ==========================================
   3. HERO SLIDER LAYOUT
   ========================================== */
.hero-slider-container {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 650px;
    overflow: hidden;
    background-color: var(--color-secondary);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 6s ease-out;
}

.hero-slide.active .hero-slide-bg {
    transform: scale(1.0);
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(36, 36, 36, 0.4) 0%, rgba(36, 36, 36, 0.8) 100%);
    z-index: 2;
}

.hero-content-wrapper {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 700px;
    color: var(--color-white);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s;
}

.hero-slide.active .hero-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-tag {
    display: inline-block;
    color: var(--color-primary);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 18px;
    color: rgba(250, 246, 238, 0.8);
    margin-bottom: 40px;
    font-weight: 300;
}

/* Slider Controls */
.hero-controls {
    position: absolute;
    bottom: 50px;
    right: 50px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 15px;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-indicator.active {
    width: 32px;
    border-radius: 100px;
    background-color: var(--color-primary);
}

/* ==========================================
   4. BRAND STORY & COUNTER SECTION
   ========================================== */
.brand-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.brand-story-text h3 {
    font-size: 28px;
    color: var(--color-secondary);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.35;
}

.brand-story-text p {
    font-size: 16px;
    color: var(--color-gray);
    margin-bottom: 30px;
}

.brand-counter-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.counter-card {
    background-color: var(--color-white);
    border-radius: var(--card-radius);
    padding: 30px 20px;
    text-align: center;
    border: 1px solid rgba(181, 138, 60, 0.1);
    box-shadow: 0 10px 30px rgba(78, 54, 41, 0.04);
}

.counter-card i {
    font-size: 28px;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.counter-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-secondary);
    margin-bottom: 8px;
}

.counter-label {
    font-size: 13px;
    color: var(--color-gray);
    font-weight: 600;
}

/* ==========================================
   5. INTERIOR GALLERY GRID
   ========================================== */
.interior-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.interior-item {
    position: relative;
    height: 400px;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(78, 54, 41, 0.05);
}

.interior-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.interior-item:hover .interior-img {
    transform: scale(1.08);
}

.interior-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(78, 54, 41, 0.85); /* Deep brown dimming overlay */
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 2;
}

.interior-item:hover .interior-overlay {
    opacity: 1;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.interior-overlay-title {
    color: var(--color-primary);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1) 0.05s;
}

.interior-overlay-desc {
    color: var(--color-bg);
    font-size: 14px;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1) 0.1s;
}

.interior-item:hover .interior-overlay-title,
.interior-item:hover .interior-overlay-desc {
    transform: translateY(0);
}

/* ==========================================
   6. FRANCHISE BENEFITS GRID (4 Columns)
   ========================================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.benefit-card {
    text-align: center;
    height: 100%;
}

.benefit-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(181, 138, 60, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon-wrapper {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: rotateY(180deg);
}

.benefit-icon-wrapper i {
    font-size: 32px;
}

.benefit-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 14px;
}

.benefit-desc {
    font-size: 14px;
    color: var(--color-gray);
    line-height: 1.5;
}

/* ==========================================
   7. SIGNATURE MENU TABS & CARDS
   ========================================== */
.menu-tabs-wrapper {
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
}

.menu-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px;
    -webkit-overflow-scrolling: touch;
}

.menu-tab-pill {
    padding: 12px 24px;
    background-color: var(--color-white);
    color: var(--color-gray);
    border-radius: var(--pill-radius);
    border: 1px solid var(--color-gray-light);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.menu-tab-pill:hover,
.menu-tab-pill.active {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(181, 138, 60, 0.25);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    min-height: 350px;
    transition: opacity 0.3s ease;
}

.menu-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.menu-img-holder {
    width: 100%;
    height: 230px;
    background-size: cover;
    background-position: center;
}

.menu-details {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.menu-item-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 10px;
}

.menu-item-desc {
    font-size: 14px;
    color: var(--color-gray);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.menu-item-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-primary);
}

/* ==========================================
   8. SUCCESS STORIES (INTERVIEWS)
   ========================================== */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.story-card {
    text-align: left;
}

.story-avatar-container {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 3px solid var(--color-primary);
    box-shadow: 0 6px 15px rgba(78, 54, 41, 0.1);
}

.story-avatar {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.story-location {
    font-size: 14px;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 6px;
}

.story-owner-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 15px;
}

.story-metric {
    background-color: rgba(181, 138, 60, 0.08);
    border-left: 4px solid var(--color-primary);
    padding: 12px 16px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 20px;
}

.story-metric-label {
    font-size: 12px;
    color: var(--color-gray);
    font-weight: 600;
}

.story-metric-val {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-secondary);
}

.story-quote {
    font-size: 14px;
    color: var(--color-text);
    font-style: italic;
    line-height: 1.6;
}

/* ==========================================
   9. OPENING PROCESS TIMELINE (6 Steps)
   ========================================== */
.timeline-container {
    position: relative;
    margin-top: 50px;
}

.timeline-line {
    position: absolute;
    top: 50px;
    left: 5%;
    right: 5%;
    height: 2px;
    background-color: var(--color-gray-light);
    z-index: 1;
}

.timeline-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.timeline-step {
    width: 15%;
    text-align: center;
}

.timeline-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-white);
    border: 3px solid var(--color-gray-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

.timeline-step:hover .timeline-circle {
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(181, 138, 60, 0.2);
}

.timeline-step-num {
    font-size: 12px;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 6px;
    display: block;
}

.timeline-step-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 8px;
}

.timeline-step-desc {
    font-size: 12px;
    color: var(--color-gray);
    line-height: 1.4;
}

/* ==========================================
   10. COST SIMULATOR & SVG DONUT CHART
   ========================================== */
.simulator-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.simulator-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--color-gray-light);
    padding-bottom: 15px;
}

.sim-tab-pill {
    flex: 1;
    padding: 14px 10px;
    background-color: var(--color-white);
    color: var(--color-secondary);
    border: 1px solid var(--color-gray-light);
    border-radius: var(--pill-radius);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sim-tab-pill.active {
    background-color: var(--color-secondary);
    color: var(--color-bg);
    border-color: var(--color-secondary);
    box-shadow: 0 4px 15px rgba(78, 54, 41, 0.2);
}

.cost-table {
    width: 100%;
    border-collapse: collapse;
}

.cost-table tr {
    border-bottom: 1px solid var(--color-gray-light);
}

.cost-table th, 
.cost-table td {
    padding: 16px 8px;
    text-align: left;
    font-size: 15px;
}

.cost-table th {
    font-weight: 600;
    color: var(--color-gray);
    width: 50%;
}

.cost-table td {
    font-weight: 700;
    color: var(--color-secondary);
    text-align: right;
}

.cost-total-row {
    background-color: rgba(181, 138, 60, 0.05);
}

.cost-total-row th {
    color: var(--color-secondary);
    font-weight: 800;
    font-size: 18px;
}

.cost-total-row td {
    color: var(--color-primary);
    font-weight: 900;
    font-size: 22px;
}

/* Donut Chart Styling */
.chart-box {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    min-height: 320px;
}

.donut-chart-container {
    position: relative;
    width: 280px;
    height: 280px;
}

.donut-chart-container svg {
    width: 100%;
    height: 100%;
}

.donut-segment {
    fill: none;
    stroke-linecap: round;
    transition: stroke-dasharray 0.8s ease-in-out, stroke-dashoffset 0.8s ease-in-out;
}

/* Precise CSS Centering to avoid rotation/alignment bugs */
.chart-center-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
    z-index: 5;
    width: 160px;
}

.chart-center-val {
    font-size: 24px;
    font-weight: 900;
    color: var(--color-secondary);
    line-height: 1.1;
    margin-bottom: 4px;
}

.chart-center-lbl {
    font-size: 12px;
    color: var(--color-gray);
    font-weight: 600;
}

.chart-legends {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 4px;
}

/* ==========================================
   11. KAKAO MAP STORES SECTION
   ========================================== */
.stores-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
}

.stores-list {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

.store-card-item {
    background-color: var(--color-white);
    border-radius: var(--card-radius);
    padding: 20px;
    border: 1px solid var(--color-gray-light);
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.store-card-item:hover,
.store-card-item.active {
    border-color: var(--color-primary);
    box-shadow: 0 6px 20px rgba(181, 138, 60, 0.1);
    background-color: rgba(250, 246, 238, 0.5);
}

.store-card-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 6px;
}

.store-card-info {
    font-size: 13px;
    color: var(--color-gray);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.store-card-info i {
    font-size: 16px;
    color: var(--color-primary);
}

.map-wrapper {
    position: relative;
    border-radius: var(--card-radius);
    overflow: hidden;
    height: 500px;
    box-shadow: 0 10px 30px rgba(78, 54, 41, 0.06);
    border: 1px solid var(--color-gray-light);
}

#kakao-map-container {
    width: 100%;
    height: 100%;
}

/* Custom Overlay Style (Premium Hanok theme) */
.custom-overlay-wrap {
    position: absolute;
    bottom: 50px;
    left: -130px;
    width: 260px;
    background-color: var(--color-white);
    border-radius: var(--card-radius);
    box-shadow: 0 10px 25px rgba(78, 54, 41, 0.15);
    border-top: 4px solid var(--color-primary); /* Brass Yellow Top Line */
    z-index: 10;
}

.custom-overlay-content {
    padding: 16px;
    position: relative;
}

.custom-overlay-close {
    position: absolute;
    top: 12px;
    right: 12px;
    cursor: pointer;
    color: var(--color-gray);
    font-size: 18px;
    transition: color 0.2s ease;
}

.custom-overlay-close:hover {
    color: var(--color-secondary);
}

.custom-overlay-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 8px;
    padding-right: 20px;
}

.custom-overlay-row {
    font-size: 12px;
    color: var(--color-gray);
    margin-top: 4px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.custom-overlay-row i {
    color: var(--color-primary);
    margin-top: 2px;
}

/* ==========================================
   12. FAQ ACCORDION
   ========================================== */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--color-white);
    border-radius: var(--card-radius);
    margin-bottom: 16px;
    border: 1px solid var(--color-gray-light);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-header {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}

.faq-header:hover {
    background-color: rgba(250, 246, 238, 0.5);
}

.faq-question {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-secondary);
}

.faq-arrow {
    font-size: 24px;
    color: var(--color-primary);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-item.active {
    border-color: var(--color-primary);
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-body {
    display: none; /* Controlled by jQuery/JS slideToggle */
    padding: 0 24px 20px;
    border-top: 1px dashed var(--color-gray-light);
}

.faq-answer {
    padding-top: 16px;
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.6;
}

/* ==========================================
   13. CONTACT FORM SECTION
   ========================================== */
.contact-layout {
    max-width: 760px;
    margin: 0 auto;
}

.contact-card {
    padding: 40px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 8px;
}

.form-input, 
.form-select, 
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--color-gray-light);
    border-radius: var(--card-radius);
    font-family: var(--font-primary);
    font-size: 15px;
    color: var(--color-text);
    background-color: var(--color-bg);
    transition: all 0.3s ease;
}

.form-input:focus, 
.form-select:focus, 
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: var(--color-white);
    box-shadow: 0 0 0 4px rgba(181, 138, 60, 0.12);
}

.form-textarea {
    resize: none;
    height: 120px;
}

.form-agreement {
    margin-bottom: 30px;
}

.agreement-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--color-gray);
    cursor: pointer;
}

.agreement-label input {
    margin-top: 3px;
    accent-color: var(--color-primary);
}

.agreement-link {
    color: var(--color-secondary);
    text-decoration: underline;
    font-weight: 600;
}

.form-submit-btn {
    width: 100%;
    padding: 16px;
    font-size: 18px;
}

/* ==========================================
   14. FLOATING QUICK ACTION STACK
   ========================================== */
.floating-stack {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column-reverse; /* Bottom items stay at absolute bottom */
    gap: 12px;
    align-items: center;
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--color-white);
    color: var(--color-secondary);
    box-shadow: 0 8px 24px rgba(78, 54, 41, 0.15), 0 0 1px rgba(78, 54, 41, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    border: 1px solid rgba(78, 54, 41, 0.05);
}

.floating-btn i {
    font-size: 24px;
}

.floating-btn:hover {
    transform: translateY(-4px);
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.floating-btn.btn-phone {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.floating-btn.btn-phone:hover {
    background-color: var(--color-secondary);
}

/* Scroll-to-top button custom collapsible layout */
.floating-btn.btn-top {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    height: 0;
    width: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: none;
    transition: opacity 0.3s, transform 0.3s, height 0.3s, width 0.3s, margin 0.3s;
}

.floating-btn.btn-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    width: 56px;
    height: 56px;
    margin-bottom: 0;
    border: 1px solid rgba(78, 54, 41, 0.05);
}

/* ==========================================
   15. FOOTER STYLING
   ========================================== */
footer {
    background-color: var(--color-secondary);
    color: var(--color-bg);
    padding: 60px 0 40px;
    border-top: 1px solid rgba(250, 246, 238, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h4 {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.footer-info p {
    font-size: 14px;
    color: rgba(250, 246, 238, 0.7);
    line-height: 1.8;
}

.footer-links h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-white);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(250, 246, 238, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(250, 246, 238, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copy {
    font-size: 13px;
    color: rgba(250, 246, 238, 0.5);
}

.footer-admin-link {
    font-size: 13px;
    color: rgba(250, 246, 238, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-admin-link:hover {
    color: var(--color-primary);
}

/* ==========================================
   16. RESPONSIVE MEDIA QUERIES
   ========================================== */
@media (max-width: 1024px) {
    .brand-story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .interior-grid {
        grid-template-columns: 1fr 1fr;
    }
    .interior-item {
        height: 320px;
    }
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .menu-grid {
        grid-template-columns: 1fr 1fr;
    }
    .stories-grid {
        grid-template-columns: 1fr 1fr;
    }
    .simulator-layout {
        grid-template-columns: 1fr;
    }
    .stores-layout {
        grid-template-columns: 1fr;
    }
    .stores-list {
        max-height: 250px;
    }
    .timeline-line {
        display: none;
    }
    .timeline-steps {
        flex-direction: column;
        gap: 30px;
    }
    .timeline-step {
        width: 100%;
        display: flex;
        align-items: flex-start;
        text-align: left;
        gap: 20px;
    }
    .timeline-circle {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    .timeline-step-content {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    .section-title {
        font-size: 28px;
    }
    .hero-title {
        font-size: 32px;
    }
    .hero-desc {
        font-size: 15px;
    }
    .gnb-menu {
        display: none; /* In actual JS we will slide this down/overlay it */
    }
    .mobile-menu-btn {
        display: block;
    }
    .gnb-cta {
        display: none;
    }
    .glass-gnb {
        top: 10px;
        width: 95%;
    }
    .gnb-inner {
        padding: 8px 16px;
    }
    .interior-grid {
        grid-template-columns: 1fr;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .menu-grid {
        grid-template-columns: 1fr;
    }
    .stories-grid {
        grid-template-columns: 1fr;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-group.full-width {
        grid-column: span 1;
    }
    .contact-card {
        padding: 24px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .floating-stack {
        bottom: 20px;
        right: 20px;
    }
}

/* Custom Checkbox and Select Styling */
.custom-checkbox {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--color-gray);
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
    background-color: var(--color-white);
    position: relative;
    margin-top: 3px;
    flex-shrink: 0;
}

.custom-checkbox:hover {
    border-color: var(--color-primary);
}

.custom-checkbox:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.custom-checkbox:checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid var(--color-white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox:focus-visible {
    box-shadow: 0 0 0 3px rgba(181, 138, 60, 0.25);
    border-color: var(--color-primary);
}

select.form-control,
select.form-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23B58A3C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px !important;
}
