/* 
   Premium Design System for Humphreys & Osan Suites
   - Modern Typography: Outfit & Inter
   - Color Palette: Deep Navy, Gold Accents, Clean Grays
   - Effects: Glassmorphism, Micro-animations, HSL based gradients
*/

:root {
    /* Colors */
    --primary-h: 220;
    --primary-s: 40%;
    --primary-l: 15%;
    
    --accent-h: 45;
    --accent-s: 85%;
    --accent-l: 60%;

    --primary: hsl(var(--primary-h), var(--primary-s), var(--primary-l));
    --primary-light: hsl(var(--primary-h), var(--primary-s), 25%);
    --accent: hsl(var(--accent-h), var(--accent-s), var(--accent-l));
    --accent-dark: hsl(var(--accent-h), var(--accent-s), 45%);
    
    --bg-light: hsl(var(--primary-h), 20%, 98%);
    --bg-white: #ffffff;
    --text-main: hsl(var(--primary-h), var(--primary-s), 10%);
    --text-muted: hsl(var(--primary-h), 15%, 45%);
    
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Spacing & Borders */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --container-max: 1200px;
    
    /* Animation */
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: var(--container-max);
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    z-index: 1000;
    padding: 16px 32px;
    transition: var(--transition);
}

.navbar.scrolled {
    top: 0;
    width: 100%;
    max-width: none;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 48px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.logo {
    font-size: 24px;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--accent-dark);
}

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

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-main);
}

.nav-links a:hover {
    color: var(--accent-dark);
}

.nav-cta {
    background: var(--primary);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: var(--primary-light);
}

/* --- Language Toggle --- */
.lang-switch {
    display: flex;
    align-items: center;
}

.lang-btn {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 4px;
    border-radius: 20px;
    cursor: pointer;
    position: relative;
    width: 80px;
    height: 32px;
    transition: var(--transition);
}

.lang-label {
    flex: 1;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
    transition: var(--transition);
    color: var(--text-muted);
}

.lang-slider {
    position: absolute;
    width: 36px;
    height: 24px;
    background: var(--primary);
    border-radius: 12px;
    transition: var(--transition);
    z-index: 1;
}

/* Toggle States */
.lang-en .en { color: #fff; }
.lang-ko .ko { color: #fff; }

.lang-en .lang-slider { left: 4px; }
.lang-ko .lang-slider { left: 40px; }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: url('photo/KakaoTalk_Photo_2026-04-21-00-04-52%20018.jpeg') no-repeat center center/cover;
    color: #fff;
    padding: 0 24px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.85));
}

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

.hero h1 {
    font-size: clamp(40px, 8vw, 72px);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero p {
    font-size: clamp(16px, 2vw, 20px);
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* --- Buttons --- */
.btn {
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent);
    color: var(--primary);
}

.btn-primary:hover {
    background: var(--accent-dark);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-3px);
}

/* --- Features Section --- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 16px;
    color: var(--primary);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 18px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: left;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 15px;
}

/* --- Suites Section --- */
.suites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.suite-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.suite-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.suite-img-wrapper {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.suite-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.suite-card:hover .suite-img {
    transform: scale(1.1);
}

.suite-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.suite-info {
    padding: 32px;
}

.suite-info h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.suite-info p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 24px;
}

.suite-specs {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.suite-specs li {
    font-size: 14px;
}

.suite-specs span {
    font-weight: 600;
    color: var(--text-muted);
    margin-right: 4px;
}

.btn-text {
    font-weight: 700;
    color: var(--primary);
    display: inline-block;
}

.btn-text:hover {
    color: var(--accent-dark);
    transform: translateX(5px);
}

/* --- Gallery Section --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.gallery-item {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

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

/* --- Location Section --- */
.location-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.location-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.stat strong {
    display: block;
    font-size: 28px;
    color: var(--primary);
    font-family: 'Outfit';
}

.stat span {
    color: var(--text-muted);
    font-size: 14px;
}

.social-links-grid {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.social-btn {
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    transition: var(--transition);
}

.social-btn.yt { background: #FF0000; }
.social-btn.ig { background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); }

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    opacity: 0.9;
}

.location-map {
    height: 400px;
    background: #e2e8f0;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.map-placeholder {
    text-align: center;
    color: var(--text-muted);
}

.map-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

/* --- Contact Section --- */
.contact.scaled-up {
    padding: 120px 0;
    background: var(--bg-white);
}

.contact.scaled-up .contact-card {
    background: var(--primary);
    color: #fff; /* Ensure all text inside is white */
    padding: 80px;
    border-radius: var(--radius-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.contact.scaled-up .contact-header h2 {
    font-size: 48px;
    margin-bottom: 16px;
}

.contact.scaled-up .contact-header p {
    font-size: 20px;
    opacity: 0.8;
}

.contact.scaled-up label {
    font-size: 16px;
    margin-bottom: 12px;
}

.contact.scaled-up input, 
.contact.scaled-up select, 
.contact.scaled-up textarea {
    padding: 18px 24px;
    font-size: 18px;
}

.btn-lg {
    padding: 20px 40px;
    font-size: 20px;
}

.contact-header {
    text-align: center;
    margin-bottom: 48px;
}

.contact-header h2 {
    font-size: 36px;
    margin-bottom: 12px;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

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

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

label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.8;
}

input, select, textarea {
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
}

.btn-block {
    width: 100%;
}

/* --- WhatsApp Floating Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    background: #25D366;
    color: #fff;
    padding: 12px 24px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
}

.whatsapp-label {
    font-size: 14px;
    font-weight: 600;
}

/* --- Footer --- */
.footer {
    padding: 80px 0 40px;
    background: var(--bg-white);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

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

.footer-info h3 {
    margin-bottom: 16px;
    color: var(--primary);
}

.footer-info p {
    color: var(--text-muted);
    font-size: 15px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text-muted);
    padding-top: 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-links {
    display: flex;
    gap: 24px;
}

/* --- Animations --- */
.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    animation: reveal 0.8s forwards ease-out;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes reveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.7;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid #fff;
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 2px;
    animation: mouse-scroll 2s infinite;
}

@keyframes mouse-scroll {
    0% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, 15px); }
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .location-wrapper {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .navbar {
        padding: 12px 24px;
    }
    .mobile-menu-btn {
        display: block;
    }
    .section {
        padding: 60px 0;
    }
    .contact.scaled-up {
        padding: 60px 0;
    }
    .contact.scaled-up .contact-card {
        padding: 32px 24px;
        border-radius: var(--radius-md);
    }
    .contact.scaled-up .contact-header h2 {
        font-size: 28px;
    }
    .contact.scaled-up .contact-header p {
        font-size: 16px;
    }
    .contact.scaled-up input, 
    .contact.scaled-up select, 
    .contact.scaled-up textarea {
        padding: 12px 16px;
        font-size: 16px;
    }
    .btn-lg {
        padding: 16px 32px;
        font-size: 18px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
