/* ===================================
   North Pole Ice - Main Stylesheet
   Frozen Aurora Glassmorphism Theme
   =================================== */

/* CSS Variables - Frozen Aurora Theme */
:root {
    /* Frozen Aurora Colors - Blue Theme */
    --gradient-start: #0A1628;
    --gradient-mid: #1E3A5F;
    --gradient-end: #2B5278;
    --accent-cyan: #5BA4D9;
    --accent-light: #EBF4FF;
    --accent-red: #FF6B6B;
    --white: #ffffff;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.85);
    --text-muted: rgba(255, 255, 255, 0.7);

    /* Legacy mappings for compatibility */
    --primary-dark: #0B1426;
    --primary-medium: #5ED4F5;
    --primary-light: #5ED4F5;
    --accent-blue: #5ED4F5;
    --dark-text: #ffffff;
    --light-text: rgba(255, 255, 255, 0.7);

    /* Glass Effects - Dark Theme */
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-bg-strong: rgba(255, 255, 255, 0.12);
    --glass-bg-card: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-border-strong: rgba(255, 255, 255, 0.25);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    --glass-shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.3);
    --blur-amount: 20px;

    /* Shadows */
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.25);

    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);

    /* Border Radius */
    --border-radius: 20px;
    --border-radius-sm: 12px;
    --border-radius-lg: 28px;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Kanit', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background: linear-gradient(
        -45deg,
        var(--gradient-start),
        var(--gradient-mid),
        var(--gradient-end),
        var(--gradient-mid),
        var(--gradient-start)
    );
    background-size: 400% 400%;
    background-attachment: fixed;
    animation: aurora 20s ease infinite;
    min-height: 100vh;
    overflow-x: hidden;
}

@keyframes aurora {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
    position: relative;
}

/* ===================================
   Wave Dividers
   =================================== */
.wave-divider {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin: 0;
    padding: 0;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 80px;
}

.wave-divider.wave-to-light {
    margin-top: -1px;
}

.wave-divider.wave-to-dark {
    margin-bottom: -1px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 15px;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-light));
    border-radius: 2px;
    margin-bottom: 40px;
}

.section-divider.center {
    margin-left: auto;
    margin-right: auto;
}

.section-divider.light {
    background: linear-gradient(90deg, var(--white), var(--primary-light));
}

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

/* ===================================
   Navbar - Liquid Glass
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(11, 20, 38, 0.8);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 10px 0;
}

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

.nav-logo img {
    height: 50px;
    transition: var(--transition);
    filter: invert(1);
}

.navbar.scrolled .nav-logo img {
    height: 40px;
    filter: invert(1);
}

.nav-menu {
    display: flex;
    gap: 35px;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
    position: relative;
    padding: 5px 0;
}

.navbar.scrolled .nav-link {
    color: var(--white);
}

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

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

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

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

.navbar.scrolled .nav-toggle {
    color: var(--dark-text);
}

/* ===================================
   Hero Section - Liquid Glass
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: url('images/NP_entrance.jpg') center/cover no-repeat;
    padding: 100px 0 60px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(1, 22, 39, 0.85) 0%, rgba(26, 58, 82, 0.7) 50%, rgba(45, 90, 123, 0.6) 100%);
    pointer-events: none;
}


.hero-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-logo {
    width: 220px;
    margin: 0 auto 30px;
    display: block;
    animation: fadeInUp 1s ease forwards;
    filter: invert(1);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 25px;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin: 0 auto 35px;
    max-width: 750px;
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

.hero-image {
    position: relative;
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

.hero-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}


.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    z-index: 1;
}

/* ===================================
   Floating Ice Particles
   =================================== */
.ice-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.ice-particle {
    position: absolute;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, rgba(235, 244, 255, 0.2) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: fallParticle linear infinite;
}

.ice-particle::before {
    content: '';
    position: absolute;
    inset: 30%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
    border-radius: 50%;
}

/* Crystal variant */
.ice-particle.crystal {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(91, 164, 217, 0.15) 50%, rgba(255, 255, 255, 0.2) 100%);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    border-radius: 0;
}

.ice-particle.crystal::before {
    display: none;
}

@keyframes fallParticle {
    0% {
        transform: translateY(-20px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(100vh) rotate(180deg);
        opacity: 0;
    }
}

/* Horizontal drift animation */
@keyframes driftLeft {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-30px); }
}

@keyframes driftRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(30px); }
}

/* Button Styles - Glass */
.btn {
    display: inline-block;
    padding: 16px 36px;
    font-family: 'Kanit', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-light));
    color: var(--gradient-start);
    animation: fadeInUp 1s ease 0.8s forwards;
    opacity: 0;
    box-shadow: 0 4px 20px rgba(91, 164, 217, 0.4);
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(91, 164, 217, 0.5);
    filter: brightness(1.1);
}

/* ===================================
   Motto (in Gallery Section)
   =================================== */
.gallery-motto {
    text-align: center;
    padding: 40px 20px 10px;
    margin-top: 40px;
}

.gallery-motto .motto-main {
    font-size: 2rem;
    font-weight: 600;
    color: var(--gradient-start);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0;
    text-shadow: none;
}

.gallery-motto .motto-heart {
    color: var(--accent-cyan);
    font-size: 1.6rem;
}

/* ===================================
   About Section - Icy White Theme
   =================================== */
.about {
    background: var(--accent-light);
    position: relative;
    box-shadow:
        inset 0 20px 30px -20px rgba(0, 0, 0, 0.15),
        inset 0 -20px 30px -20px rgba(0, 0, 0, 0.15);
}

/* Dark text overrides for icy white sections */
.about .section-title {
    color: var(--gradient-start);
}

.about .section-divider {
    background: linear-gradient(90deg, var(--accent-cyan), var(--gradient-mid));
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    color: var(--gradient-start);
    margin-bottom: 20px;
    text-align: justify;
    line-height: 1.9;
}

.about-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.about-image:hover img {
    transform: scale(1.05);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: var(--primary-light);
    opacity: 0.3;
    border-radius: 50%;
    z-index: -1;
}

/* ===================================
   Products Section - Glassmorphism
   =================================== */
.products {
    background: transparent;
    overflow: hidden;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.product-card {
    background: var(--glass-bg-card);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
    border: 1px solid var(--glass-border);
}

.product-card:hover {
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        0 0 30px rgba(91, 164, 217, 0.25),
        inset 0 0 30px rgba(91, 164, 217, 0.03);
    border-color: var(--accent-cyan);
    background: var(--glass-bg-strong);
}

.product-image {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.5s ease;
}

.product-img-default {
    transform: translateX(0);
}

.product-img-hover {
    transform: translateX(100%);
}

.product-card:hover .product-img-default {
    transform: translateX(-100%);
}

.product-card:hover .product-img-hover {
    transform: translateX(0);
}

.product-content {
    padding: 30px;
    text-align: center;
}

.product-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
}

.product-desc {
    color: var(--text-muted);
    font-size: 1rem;
}

/* ===================================
   Services Section - Glassmorphism
   =================================== */
.services {
    background: transparent;
    position: relative;
    overflow: hidden;
}

.services-decoration {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.services-decoration img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services .container {
    position: relative;
    z-index: 1;
}

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

.service-card {
    background: var(--glass-bg-card);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
}

.service-card:hover {
    border-color: var(--accent-cyan);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        0 0 30px rgba(91, 164, 217, 0.25),
        inset 0 0 30px rgba(91, 164, 217, 0.03);
    background: var(--glass-bg-strong);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--gradient-start);
    box-shadow: 0 8px 24px rgba(91, 164, 217, 0.3);
}

.service-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.service-desc {
    color: var(--light-text);
    margin-bottom: 20px;
}

.service-toggle {
    background: none;
    border: 2px solid var(--accent-cyan);
    color: var(--accent-cyan);
    padding: 10px 25px;
    border-radius: 25px;
    font-family: 'Kanit', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.service-toggle:hover {
    background: var(--accent-cyan);
    color: var(--gradient-start);
}

.service-toggle i {
    transition: var(--transition);
}

.service-toggle.active i {
    transform: rotate(180deg);
}

.service-areas {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    margin-top: 0;
}

.service-areas.active {
    max-height: 350px;
    margin-top: 20px;
}

.service-areas ul {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    padding: 20px;
}

.service-areas li {
    padding: 8px 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-areas li i {
    color: var(--accent-cyan);
}

/* ===================================
   Quality Section - Liquid Glass
   =================================== */
.quality {
    background: url('images/NP_IceMake.jpg') center/cover no-repeat fixed;
    color: var(--white);
    text-align: center;
}

.quality-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(1, 22, 39, 0.9) 0%,
        rgba(26, 58, 82, 0.85) 100%
    );
}

.quality-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.quality .section-title {
    color: var(--white);
}

.quality-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.95;
}

.quality-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.quality-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 25px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.quality-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
}

.quality-badge i {
    font-size: 2.5rem;
    color: var(--accent-cyan);
}

.quality-badge span {
    font-size: 1.1rem;
    font-weight: 600;
}

/* ===================================
   Clients Section - Glassmorphism
   =================================== */
.clients {
    background: transparent;
    position: relative;
}

.clients::before,
.clients::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 80px;
    pointer-events: none;
    z-index: 0;
}

.clients::before {
    top: 0;
    background: linear-gradient(to bottom, var(--gradient-mid), transparent);
}

.clients::after {
    bottom: 0;
    background: linear-gradient(to top, var(--gradient-mid), transparent);
}

.clients .container {
    position: relative;
    z-index: 1;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.client-item {
    background: var(--glass-bg-card);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border-radius: var(--border-radius);
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
    border: 1px solid var(--glass-border);
}

.client-item:hover {
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        0 0 30px rgba(91, 164, 217, 0.25),
        inset 0 0 30px rgba(91, 164, 217, 0.03);
    border-color: var(--accent-cyan);
    background: var(--glass-bg-strong);
}

.client-item i {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    min-width: 30px;
}

.client-item span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* ===================================
   Gallery Section - Icy White Theme
   =================================== */
.gallery {
    background: var(--accent-light);
    position: relative;
    box-shadow:
        inset 0 20px 30px -20px rgba(0, 0, 0, 0.15),
        inset 0 -20px 30px -20px rgba(0, 0, 0, 0.15);
}

.gallery .section-title {
    color: var(--gradient-start);
}

.gallery .section-divider {
    background: linear-gradient(90deg, var(--accent-cyan), var(--gradient-mid));
}

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

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(11, 20, 38, 0.6) 0%,
        transparent 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay i {
    font-size: 2rem;
    color: var(--accent-cyan);
    transform: scale(0.5);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

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

.gallery-item:hover {
    border-color: var(--accent-cyan);
}

/* ===================================
   Contact Section - Plain White Card
   =================================== */
.contact {
    background: transparent;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}

.contact-grid-three {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px;
    align-items: stretch;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
    background: var(--white);
    border: none;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 55px;
    height: 55px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--accent-cyan);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--accent-cyan);
}

.contact-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gradient-start);
    margin-bottom: 5px;
}

.contact-details a,
.contact-details p {
    display: block;
    color: var(--gradient-mid);
    font-size: 1rem;
    line-height: 1.6;
}

.contact-details a:hover {
    color: var(--accent-cyan);
}

/* Line QR Code */
.line-qr {
    margin-top: 15px;
    text-align: center;
}

.line-qr img {
    width: 150px;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.line-qr-text {
    font-size: 0.85rem;
    color: var(--gradient-mid);
    opacity: 0.8;
    margin-top: 8px;
}

/* 24-Hour Service */
.service-hours .contact-details p {
    color: var(--accent-cyan);
    font-weight: 500;
}

.contact-map {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: none;
    background: var(--white);
}

.contact-grid-three .contact-map {
    display: flex;
    flex-direction: column;
}

.contact-grid-three .contact-map iframe {
    flex: 1;
    min-height: 300px;
}

.contact-map iframe {
    display: block;
}

.map-link {
    display: block;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-light));
    color: var(--gradient-start);
    text-align: center;
    padding: 15px;
    font-weight: 600;
    transition: var(--transition);
}

.map-link:hover {
    filter: brightness(1.1);
}

.map-link i {
    margin-right: 8px;
}

/* ===================================
   Footer - Glassmorphism
   =================================== */
.footer {
    background: rgba(11, 20, 38, 0.8);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border-top: 1px solid var(--glass-border);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--glass-border);
}

.footer-logo img {
    height: 60px;
    opacity: 0.9;
    filter: invert(1);
}

.footer-nav {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-nav a:hover {
    color: var(--accent-cyan);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact a i {
    color: var(--accent-cyan);
}

.footer-contact a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-credit {
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--accent-cyan);
    opacity: 0.8;
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-15px);
    }
    60% {
        transform: translateX(-50%) translateY(-7px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-grid {
        gap: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .about-grid {
        gap: 40px;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    /* Navbar Mobile */
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(11, 20, 38, 0.95);
        backdrop-filter: blur(var(--blur-amount));
        -webkit-backdrop-filter: blur(var(--blur-amount));
        border-left: 1px solid var(--glass-border);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 20px;
        box-shadow: var(--glass-shadow-lg);
        transition: right 0.3s ease;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        color: var(--text-primary);
        font-size: 1.1rem;
    }

    /* Hero Mobile */
    .hero {
        padding: 100px 0 40px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-content {
        text-align: center;
        order: 1;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image {
        order: 2;
    }

    .hero-image::before {
        display: none;
    }

    .hero-logo {
        margin: 0 auto 20px;
        width: 120px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-desc {
        font-size: 1.1rem;
        max-width: 100%;
    }

    /* Wave Divider Mobile */
    .wave-divider svg {
        height: 50px;
    }

    /* Motto Mobile */
    .gallery-motto {
        padding: 30px 15px 0;
        margin-top: 25px;
    }

    .gallery-motto .motto-main {
        font-size: 1.6rem;
        flex-wrap: wrap;
    }

    .gallery-motto .motto-heart {
        font-size: 1.5rem;
    }

    /* About Mobile */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image {
        order: -1;
    }

    /* Products Mobile */
    .products-grid {
        grid-template-columns: 1fr;
    }

    /* Services Mobile */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Gallery Mobile */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Contact Mobile */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid-three {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-grid-three .contact-info {
        box-shadow: none;
    }

    .contact-grid-three .contact-info:first-child {
        border-radius: var(--border-radius) var(--border-radius) 0 0;
        margin-bottom: -2px;
        position: relative;
        z-index: 1;
    }

    .contact-grid-three .contact-info:nth-child(2) {
        border-radius: 0 0 var(--border-radius) var(--border-radius);
        margin-bottom: 25px;
    }

    .contact-grid-three .contact-map {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    }

    .contact-map iframe {
        height: 300px;
    }

    /* Footer Mobile */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-nav {
        justify-content: center;
    }

    .footer-contact {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-desc {
        font-size: 1rem;
    }

    /* Wave Divider Small */
    .wave-divider svg {
        height: 40px;
    }

    .gallery-motto {
        padding: 25px 10px 0;
        margin-top: 20px;
    }

    .gallery-motto .motto-main {
        font-size: 1.1rem;
        flex-wrap: wrap;
        gap: 8px;
    }

    .gallery-motto .motto-heart {
        font-size: 1.1rem;
    }

    .btn {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .quality-badges {
        flex-direction: column;
        gap: 20px;
    }

    .quality-badge {
        padding: 20px 30px;
    }

    .clients-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
