/* 
   Theme: Sky High
   Primary: #87CEEB (Sky Blue)
   Secondary: #FFFFFF (White)
   Style: โปร่งใส สบายตา Clean Minimal
*/

@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600;700&family=Sarabun:wght@300;400;500;600&display=swap');

:root {
    --primary-color: #2196F3;
    --primary-light: #87CEEB;
    --primary-dark: #0D47A1;
    --secondary-color: #FFFFFF;
    --accent-color: #E3F2FD;
    --text-dark: #1a2332;
    --text-muted: #5f7082;
    --text-light: #ffffff;
    --bg-light: #F0F8FF;
    --bg-mist: #E8F4FD;
    --transition-speed: 0.3s;
    --border-radius: 12px;
    --shadow-soft: 0 4px 20px rgba(33, 150, 243, 0.12);
    --shadow-hover: 0 8px 30px rgba(33, 150, 243, 0.22);
}

* { box-sizing: border-box; }

body {
    font-family: 'Kanit', 'Sarabun', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.4;
}

a { transition: all var(--transition-speed); }

/* ===== UTILITY CLASSES ===== */
.text-primary-deep { color: var(--primary-dark) !important; }
.bg-primary-deep { background-color: var(--primary-dark) !important; color: var(--text-light); }
.bg-secondary-ice { background-color: var(--accent-color) !important; }

/* ===== NAVBAR ===== */
.navbar {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(33, 150, 243, 0.1);
    padding: 12px 0;
    transition: all 0.3s;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary-dark) !important;
}

.navbar-brand i { color: var(--primary-light); }

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: all var(--transition-speed);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-dark) !important;
    background-color: var(--accent-color);
}

/* ===== BUTTONS ===== */
.btn-primary-deep {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all var(--transition-speed);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}
.btn-primary-deep:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.45);
}

.btn-line {
    background: linear-gradient(135deg, #00B900, #00d100);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 185, 0, 0.3);
}
.btn-line:hover {
    background: linear-gradient(135deg, #009900, #00B900);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 185, 0, 0.45);
}

.btn-sky {
    background: linear-gradient(135deg, #87CEEB, #2196F3);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 14px 36px;
    box-shadow: 0 6px 25px rgba(33, 150, 243, 0.4);
    transition: all 0.3s;
}
.btn-sky:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(33, 150, 243, 0.55);
    color: white;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #0D47A1 0%, #1976D2 40%, #42A5F5 75%, #87CEEB 100%);
    color: var(--text-light);
    padding: 110px 0 90px;
    text-align: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(135, 206, 235, 0.15) 0%, transparent 70%);
    animation: heroGlow 6s ease-in-out infinite alternate;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--bg-light);
    clip-path: ellipse(55% 100% at 50% 100%);
}

@keyframes heroGlow {
    from { transform: scale(1); opacity: 0.6; }
    to { transform: scale(1.1); opacity: 1; }
}

.hero-section h1 {
    color: #ffffff;
    font-weight: 800;
    font-size: clamp(1.8rem, 4vw, 3rem);
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(255,255,255,0.9);
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
}

.hero-section .container { position: relative; z-index: 2; }

/* ===== PROMO BADGE ===== */
.promo-badge {
    background: linear-gradient(135deg, #FF6B35, #FF3D00);
    color: white;
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(255, 61, 0, 0.4);
    animation: pulseBadge 2s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes pulseBadge {
    0%,100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

/* Campaign Box (Sky theme) */
.campaign-hero {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 30px 40px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.campaign-price-box {
    background: linear-gradient(135deg, #0D47A1, #1565C0);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.campaign-price {
    font-size: 3.5rem;
    font-weight: 800;
    color: #FFD700;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.flash-badge {
    background: linear-gradient(135deg, #FF6B35, #FF3D00);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 8px;
}

/* ===== SECTIONS ===== */
.section-padding { padding: 80px 0; }

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 18px;
    font-size: clamp(1.4rem, 3vw, 2rem);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary-dark));
    border-radius: 4px;
}

/* ===== FEATURE CARDS ===== */
.feature-card {
    background: #fff;
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-speed);
    height: 100%;
    text-align: center;
    border: 1px solid rgba(33,150,243,0.08);
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.feature-icon {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 18px;
    display: inline-block;
}

/* ===== PROBLEM CARDS ===== */
.problem-card {
    background: #fff8f8;
    padding: 24px;
    border-left: 4px solid #ef5350;
    border-radius: 0 12px 12px 0;
    margin-bottom: 16px;
    transition: all 0.3s;
}
.problem-card:hover { transform: translateX(8px); }
.problem-card h5 { color: #c62828; font-size: 1rem; margin-bottom: 6px; }
.problem-card p { color: var(--text-muted); margin: 0; font-size: 0.9rem; }

/* ===== SERVICES ===== */
.service-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s;
    height: 100%;
}
.service-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.service-card h5 { color: #ffffff; }
.service-card p { color: rgba(255,255,255,0.75); font-size: 0.92rem; }

/* ===== STATS ===== */
.stat-box {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255,255,255,0.08);
    border-radius: 16px;
    transition: all 0.3s;
}
.stat-box:hover { background: rgba(255,255,255,0.15); transform: scale(1.03); }
.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: #FFD700;
    display: block;
}
.stat-label { color: rgba(255,255,255,0.8); font-size: 0.9rem; margin-top: 4px; }

/* ===== TIMELINE ===== */
.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 16px;
    transition: all 0.3s;
}
.timeline-item:hover { transform: translateX(8px); box-shadow: var(--shadow-hover); }
.timeline-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, #0D47A1, #1976D2, #2196F3);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(135,206,235,0.15) 0%, transparent 70%);
}

/* ===== FLOATING BUTTONS ===== */
.floating-contact {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

.floating-btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    transition: all 0.3s;
    text-decoration: none;
    position: relative;
}
.floating-btn:hover { transform: scale(1.15); color: white; }
.floating-btn::before {
    content: attr(title);
    position: absolute;
    right: 70px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.floating-btn:hover::before { opacity: 1; }
.float-line { background: linear-gradient(135deg, #00B900, #00d100); }
.float-phone { background: linear-gradient(135deg, #0D47A1, #1976D2); }

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(135deg, #0D47A1, #0a3880);
    color: var(--text-light);
    padding: 60px 0 24px;
}
footer a { color: #87CEEB; text-decoration: none; transition: all 0.3s; }
footer a:hover { color: #ffffff; text-decoration: underline; }

/* ===== FAQ ACCORDION ===== */
.accordion-button {
    font-weight: 600;
    color: var(--primary-dark);
    background: transparent;
}
.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background: var(--accent-color);
}
.accordion-button:focus { box-shadow: 0 0 0 3px rgba(33,150,243,0.2); }

/* ===== LOCATION CARDS ===== */
.location-card {
    background: #fff;
    border: 1px solid rgba(33,150,243,0.1);
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    transition: all 0.3s;
    text-decoration: none;
    color: var(--text-dark);
    display: block;
}
.location-card:hover {
    background: var(--accent-color);
    border-color: var(--primary-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
    color: var(--primary-dark);
}

/* ===== ADMIN ===== */
.admin-sidebar {
    background: linear-gradient(180deg, #0D47A1, #1565C0);
    min-height: 100vh;
    padding: 20px 0;
}
.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.8) !important;
    padding: 12px 20px !important;
    border-radius: 0;
    border-left: 3px solid transparent;
}
.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    color: #fff !important;
    background: rgba(255,255,255,0.1) !important;
    border-left-color: #87CEEB !important;
}

/* ===== KEYWORD SECTION ===== */
.keyword-tag {
    display: inline-block;
    background: var(--accent-color);
    color: var(--primary-dark);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin: 4px;
    border: 1px solid rgba(33,150,243,0.2);
    transition: all 0.3s;
}
.keyword-tag:hover {
    background: var(--primary-light);
    color: white;
    transform: translateY(-2px);
}

/* ===== TRACKING ===== */
.tracking-btn { cursor: pointer; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-section { padding: 80px 0 70px; }
    .section-padding { padding: 50px 0; }
    .campaign-hero { padding: 20px; }
    .campaign-price { font-size: 2.5rem; }
    .floating-btn { width: 52px; height: 52px; font-size: 20px; }
}
