@charset "utf-8";

/* Variables */
:root {
    --primary-color: #0F1C3F; /* Deep Navy */
    --secondary-color: #BFA15F; /* Premium Gold */
    --accent-color: #D4AF37; /* Metallic Gold */
    --text-color: #333333;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --header-height: 80px;
    --mobile-header-height: 60px;
}

/* Base Reset & Typography */
/* Base Reset & Typography */
* { box-sizing: border-box; } /* Critical for responsive sizing */

html, body {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.6;
    scroll-behavior: smooth;
    /* overflow-x: hidden; */ /* Prevent horizontal scroll globally */
    width: 100%;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; display: block; }

/* Utility Classes */
.container {
    max-width: 1200px;
    width: 100%; /* Ensure fluid width */
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.text-center { text-align: center; }

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    margin: 20px auto 0;
}

.section-desc {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
}

/* Header */
#landing_header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.logo img {
    height: 37px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--primary-color);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-btn {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 600;
}

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

/* Mobile Menu */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Mobile Styles */
@media (max-width: 768px) {
    #landing_header { height: var(--mobile-header-height); }
    
    .nav-links {
        display: none;
        position: absolute;
        top: var(--mobile-header-height);
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        gap: 20px;
        text-align: center;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hamburger { display: block; }
    
    .section-title { font-size: 2rem; }
}

/* Hero Section */
#hero {
    position: relative;
    color: white;
    height: 100vh;
    padding-top: var(--header-height);
    overflow: hidden; /* Ensure backgrounds don't spill */
}

/* Individual Slide Backgrounds */
/* Slide 1 - Day */
.hero-slide:nth-child(1) {
    background: linear-gradient(rgba(15, 28, 63, 0.4), rgba(15, 28, 63, 0.4)), url('../img/hero_bg.png') no-repeat center center/cover;
}

/* Slide 2 - Nature */
.hero-slide:nth-child(2) {
    background: linear-gradient(rgba(15, 28, 63, 0.4), rgba(15, 28, 63, 0.4)), url('../img/hero_bg_nature.png') no-repeat center center/cover;
}

/* Slide 3 - Night */
.hero-slide:nth-child(3) {
    background: linear-gradient(rgba(15, 28, 63, 0.5), rgba(15, 28, 63, 0.5)), url('../img/hero_bg_night.png') no-repeat center center/cover;
}

#hero .hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    width: 100%;
    height: 100%;
    /* display: flex; Removed flex from container, let slides handle it */
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Full height of hero */
    opacity: 0;
    transition: opacity 1.5s ease-in-out; /* Slower transition for nicer effect */
    pointer-events: none;
    
    /* Flex content centering */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

#hero h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
}

#hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

#hero .hero-cta {
    background: var(--secondary-color);
    color: white;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 4px;
    display: inline-block;
}

/* Simple Footer */
footer {
    background: var(--primary-color);
    color: rgba(255,255,255,0.7);
    padding: 50px 0;
    text-align: center;
}


/* Mobile Floater */
#mobile_floater {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    display: none;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.float-btn {
    display: block;
    float: left;
    width: 33.33%;
    height: 60px;
    line-height: 60px;
    text-align: center;
    color: white;
    font-size: 1rem;
    font-weight: 600;
}

.float-btn i {
    margin-right: 5px;
}

.float-btn.call {
    background: #008764; /* Phone Call Green */
}
.float-btn.kakao {
    background: #FEE500; /* Kakao Yellow */
    color: #3C1E1E; /* Kakao Brown Text */
}
.float-btn.register {
    background: #0f1c3f; /* Navy */
}


/* Hero Section */
#hero {
    position: relative;
    color: white;
}

.hero-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5); /* Overlay */
    z-index: 1;
}

#hero .hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

/* Overview Table */
.overview-table-wrap {
    max-width: 800px;
    margin: 0 auto;
    border-top: 2px solid var(--primary-color);
}

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

.overview-table th, .overview-table td {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.overview-table th {
    background: #f9f9f9;
    width: 30%;
    font-weight: 600;
    color: var(--primary-color);
}

/* Feature Grid */
.feature-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.feature-item {
    flex: 1;
    min-width: 250px;
    background: white;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-radius: 8px;
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.feature-item h4 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Form Styles */
.landing-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    background: rgba(255,255,255,0.9);
    font-size: 1rem;
}

.checkbox-group label {
    display: inline-block;
    margin-right: 15px;
    font-weight: normal;
    cursor: pointer;
}

.agree-label {
    cursor: pointer;
    font-size: 0.95rem;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: white;
    color: var(--primary-color);
}

/* Sub Page Hero */
.sub-hero {
    height: 400px;
    background: linear-gradient(rgba(15, 28, 63, 0.7), rgba(15, 28, 63, 0.7)), url('../img/hero_bg.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: var(--header-height);
}

.sub-hero h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.sub-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Brand Section */
.brand-intro {
    margin-bottom: 80px;
}

.brand-logo-text {
    font-size: 4rem;
    font-weight: 100;
    letter-spacing: 20px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: 'Times New Roman', serif; /* Classic feel */
}

.brand-slogan {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 40px;
    font-style: italic;
}

.brand-desc p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.brand-values {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.value-item {
    flex: 1;
    text-align: center;
    border: 1px solid #eee;
    transition: all 0.3s;
    overflow: hidden; /* For image zoom effect */
    background: white;
}

.value-item:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform: translateY(-5px);
}

.val-img {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.val-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.val-txt {
    padding: 30px 20px;
}

.val-num {
    font-size: 3rem;
    font-weight: 900;
    color: #eee;
    margin-bottom: 10px;
    line-height: 1;
}

.value-item:hover .val-num {
    color: var(--secondary-color);
}

.value-item h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.visual-grid {
    display: flex;
    gap: 30px;
}

.visual-box {
    flex: 1;
    height: 350px;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    color: white;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.visual-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* Dark Overlay */
    z-index: 1;
    transition: background 0.3s;
}

.visual-box:hover::before {
    background: rgba(0, 0, 0, 0.2); /* Lighten on hover */
}

.visual-timeless {
    background: url('../img/brand_timeless.png') no-repeat center center/cover;
}

.visual-eco {
    background: url('../img/brand_eco.png') no-repeat center center/cover;
}

.v-txt {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.v-txt h5 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.v-txt p {
    font-size: 1.1rem;
    opacity: 0.9;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
    .sub-hero { height: 300px; margin-top: var(--mobile-header-height); }
    .sub-hero h2 { font-size: 2rem; }
    .brand-logo-text { font-size: 2.5rem; letter-spacing: 10px; }
    .brand-values, .visual-grid { flex-direction: column; }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #hero{
        padding-top: var(--mobile-header-height);
    }
    /* Layout & Utilities */
    .container {
        padding: 0 15px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title { 
        font-size: 1.8rem; 
    }
    
    .section-desc {
        font-size: 1rem;
        margin-bottom: 30px;
        padding: 0 10px;
        word-break: keep-all;
    }

    /* Header */
    #landing_header { height: var(--mobile-header-height); }
    
    .logo img {
        height: 30px; /* Smaller logo on mobile */
    }

    .nav-links {
        display: none;
        position: absolute;
        top: var(--mobile-header-height);
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        gap: 20px;
        text-align: center;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hamburger { display: block; }
    
    /* Hero Section */
    #hero h2 {
        font-size: 2rem; /* Reduce hero title size */
        margin-bottom: 1.5rem;
    }
    
    #hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 20px;
        word-break: keep-all;
    }
    
    #hero .hero-cta {
        padding: 12px 30px;
        font-size: 1rem;
    }

    /* Overview Table */
    .overview-table th, .overview-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    
    .overview-table th {
        background: #f1f1f1;
        border-bottom: none;
        padding-bottom: 5px;
    }
    
    .overview-table td {
        padding-top: 5px;
        border-bottom: 1px solid #ddd;
    }

    /* Feature Grid */
    .feature-grid {
        flex-direction: column;
        gap: 20px;
        margin-top: 30px;
    }
    
    .feature-item {
        min-width: unset; /* Remove min-width constraint */
        padding: 30px 20px;
    }
    
    /* Form */
    .landing-form {
        padding: 25px 15px;
    }
    
    .form-group input[type="text"] {
        font-size: 16px; /* Prevent IOS zoom on focus */
    }
    
    .checkbox-group label {
        display: block; /* Stack checkboxes vertically on mobile */
        margin-bottom: 10px;
    }

    /* Footer */
    footer {
        font-size: 0.9rem;
        padding: 40px 15px 80px 15px; /* Extra bottom padding for floater */
        word-break: keep-all;
    }
}

/* Force Full Width Map */
.root_daum_roughmap_landing {
    width: 100% !important;
    max-width: none !important;
}

.root_daum_roughmap_landing .wrap_map {
    height: 480px !important; /* Increase height for better visibility */
}

@media (max-width: 768px) {
    .root_daum_roughmap_landing .wrap_map {
        height: 360px !important; /* Adjust map height for mobile */
    }
}

