/* Aura Air Service - Premium Style Sheet */

/* Design Tokens & Theme Variables */
:root {
    --bg-air: #f4fafe;          /* Sky Blue tint backdrop */
    --bg-dark: #0a1128;         /* Midnight deep Navy */
    --bg-card: #ffffff;         /* White */
    
    --primary-color: #0077b6;   /* Ocean/Steel Blue */
    --primary-hover: #005682;
    --accent-color: #00b4d8;    /* Bright Sky Cyan */
    --accent-dark: #0096c7;
    --accent-warn: #ffb703;     /* Warm Amber warning/rating */
    --accent-red: #e63946;      /* Hotline alert red */
    --accent-soft: #e0f2fe;     /* Very soft light blue */
    
    --text-color: #1d3557;      /* Dark navy grey */
    --text-light: #526784;      /* Muted steel grey */
    --text-white: #ffffff;
    
    --border-air: #d0e8f7;
    --border-accent: #b0e0f7;
    
    --font-thai: 'Prompt', sans-serif;
    
    --transition: 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-air: 0 10px 30px rgba(0, 119, 182, 0.05);
    --shadow-hover: 0 15px 40px rgba(0, 119, 182, 0.12);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-air);
    color: var(--text-color);
    font-family: var(--font-thai);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-color);
    font-weight: 600;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

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

.accent-text {
    color: var(--primary-color);
    font-weight: 700;
}

/* Section Title System */
.section-title {
    margin-bottom: 50px;
}

.section-title.text-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sub-title {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 6px;
}

.sub-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 2px;
    background-color: var(--accent-color);
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.35;
}

/* Pulse / Breathing Button Animation for CTAs */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.4);
    }
    70% {
        transform: scale(1.03);
        box-shadow: 0 0 0 10px rgba(230, 57, 70, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(230, 57, 70, 0);
    }
}

.pulse-button {
    animation: pulse 2s infinite;
}

/* Button Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-thai);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 15px 35px;
    font-size: 1rem;
}

.btn-full-width {
    width: 100%;
}

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

.btn-accent:hover {
    background-color: #cd2c38;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.3);
}

.btn-outline-white {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

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

.btn-phone {
    background-color: var(--accent-red);
    color: white;
}

.btn-phone:hover {
    background-color: #cd2c38;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.35);
}

.btn-line {
    background-color: #06c755;
    color: white;
}

.btn-line:hover {
    background-color: #05b04b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 199, 85, 0.25);
}

/* Header & Navigation */
.air-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(244, 250, 254, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-air);
    transition: var(--transition);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--text-color);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cooling-icon {
    color: var(--primary-color);
    animation: rotateSlow 10s linear infinite;
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.nav-links {
    display: flex;
    gap: 16px;
}

.nav-link {
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 500;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* Language Switcher */
.lang-switch {
    background: transparent;
    border: 1px solid var(--border-air);
    color: var(--text-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-family: var(--font-thai);
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.lang-switch:hover {
    border-color: var(--primary-color);
    background-color: var(--accent-soft);
}

.lang-switch span {
    opacity: 0.5;
    transition: var(--transition);
}

.lang-switch .active-lang {
    opacity: 1;
    font-weight: 700;
    color: var(--primary-color);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-toggle:hover {
    color: var(--primary-color);
}

/* Mobile Drawer */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: var(--bg-air);
    z-index: 102;
    padding: 40px 30px;
    box-shadow: -5px 0 35px rgba(0, 119, 182, 0.08);
    display: flex;
    flex-direction: column;
    gap: 30px;
    transition: var(--transition);
}

.mobile-menu.open {
    right: 0;
}

.close-menu {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.close-menu:hover {
    color: var(--primary-color);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-lang-switch {
    align-self: flex-start;
    margin-bottom: 15px;
}

.mobile-link {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
    padding: 6px 0;
    border-bottom: 1px solid rgba(208, 232, 247, 0.4);
}

.mobile-link:hover {
    color: var(--primary-color);
    padding-left: 6px;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 17, 40, 0.45);
    backdrop-filter: blur(4px);
    z-index: 101;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.menu-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-image: url('assets/air_hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    color: var(--text-white);
    padding: 120px 0 80px 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 17, 40, 0.8) 0%, rgba(0, 119, 182, 0.45) 100%);
    z-index: 1;
}

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

.hero-content {
    max-width: 680px;
}

.hero-tag {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 500;
    background-color: rgba(0, 180, 216, 0.2);
    border: 1px solid rgba(0, 180, 216, 0.4);
    padding: 6px 20px;
    border-radius: 50px;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    backdrop-filter: blur(5px);
}

.hero-content h1 {
    font-size: 3.4rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.25;
    margin-bottom: 25px;
}

.hero-content p {
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* Highlights Section */
.highlights-section {
    padding: 100px 0;
    background-color: var(--bg-air);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.highlight-card {
    background-color: var(--bg-card);
    padding: 45px 35px;
    border-radius: 20px;
    box-shadow: var(--shadow-air);
    border: 1px solid rgba(208, 232, 247, 0.4);
    transition: var(--transition);
    text-align: center;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-accent);
}

.highlight-card .icon-box {
    width: 70px;
    height: 70px;
    background-color: var(--accent-soft);
    color: var(--primary-color);
    font-size: 1.8rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition);
}

.highlight-card:hover .icon-box {
    background-color: var(--primary-color);
    color: white;
    transform: rotateY(360deg);
}

.highlight-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.highlight-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Services & Pricing Section */
.services-section {
    padding: 100px 0;
    background-color: #ffffff;
    border-top: 1px solid var(--border-air);
    border-bottom: 1px solid var(--border-air);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--bg-air);
    padding: 45px 35px;
    border-radius: 24px;
    box-shadow: var(--shadow-air);
    border: 1px solid rgba(208, 232, 247, 0.4);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    background-color: #ffffff;
}

.service-card.popular {
    border: 2px solid var(--primary-color);
    background-color: #ffffff;
    box-shadow: 0 15px 35px rgba(0, 119, 182, 0.15);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--text-white);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0, 119, 182, 0.25);
}

.service-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-red);
    margin-bottom: 18px;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
    background-color: var(--bg-air);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 300px;
    box-shadow: 0 5px 15px rgba(0, 119, 182, 0.05);
}

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

.gallery-info {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(10, 17, 40, 0) 0%, rgba(10, 17, 40, 0.9) 85%);
    padding: 30px 20px 20px 20px;
    color: var(--text-white);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.gallery-info h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 5px;
}

.gallery-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

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

.gallery-item:hover .gallery-info {
    bottom: 0;
}

/* Contact & Info Section */
.contact-section {
    padding: 100px 0;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-air);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
}

.location-map .address {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: -30px;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.location-map .address i {
    color: var(--primary-color);
    margin-top: 5px;
}

.map-card {
    background-color: var(--bg-air);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(208, 232, 247, 0.5);
    box-shadow: var(--shadow-air);
}

.map-placeholder {
    padding: 50px 30px;
    text-align: center;
    background: linear-gradient(180deg, #f4fafe 0%, #ffffff 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 320px;
}

.map-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    animation: bounce 2.5s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.map-placeholder h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.map-placeholder p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 25px;
    max-width: 420px;
}

/* Hours & Booking */
.hours-list {
    background-color: var(--bg-air);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-air);
    border: 1px solid rgba(208, 232, 247, 0.5);
    margin-bottom: 35px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px dashed var(--border-air);
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row .day {
    font-weight: 500;
    color: var(--text-color);
}

.hours-row .time {
    color: var(--primary-color);
    font-weight: 600;
}

.hours-row.closed .time {
    color: var(--accent-red);
}

.quick-contact {
    background-color: var(--accent-soft);
    padding: 35px;
    border-radius: 20px;
    border: 1px solid rgba(0, 119, 182, 0.15);
}

.quick-contact h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-color);
}

.quick-contact p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 25px;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Footer Section */
.air-footer {
    background-color: var(--bg-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 40px 0;
    font-size: 0.9rem;
}

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

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-socials a:hover {
    background-color: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-3px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 119, 182, 0.25);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 99;
}

.back-to-top:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 991px) {
    .navbar {
        height: 75px;
    }
    
    .nav-links, .nav-actions {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.7rem;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .location-map .address {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
        padding-top: 100px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gallery-item {
        height: 280px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
