/* CSS Foundation */
:root {
    --primary: #0A2540;
    --secondary: #00B4D8;
    --secondary-hover: #0096C7;
    --text-main: #2A3B4C;
    --text-muted: #64748B;
    --bg-main: #ffffff;
    --bg-light: #F8FAFC;
    --border-color: #E2E8F0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 99px;
}

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

body {
    font-family: 'Prompt', sans-serif;
    color: var(--text-main);
    background-color: #ededed;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.site-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    background-color: #ededed;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Utilities */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

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

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

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

.btn {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--secondary), #0077B6);
    color: #fff;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px 0 rgba(0,180,216, 0.39);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,180,216, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 12px 30px;
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-md);
}

/* Navbar */
.navbar {
    background-color: var(--bg-main);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-logo img {
    height: 50px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-main);
    transition: var(--transition);
    position: relative;
    padding: 10px 0;
}

.nav-menu a:hover {
    color: var(--secondary);
}

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

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
}

.nav-contact {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
}

.nav-contact .social-icons {
    display: flex;
    gap: 10px;
}

.nav-contact .social-icons a {
    color: var(--primary);
    font-size: 24px;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.nav-contact .social-icons a .fa-line {
    color: #06C755;
    font-size: 32px;
}

.nav-contact .social-icons a:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

/* Hero Carousel */
.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
}

.carousel-btn:hover {
    background: rgba(0,0,0,0.6);
}

.carousel-btn.prev { left: 20px; }
.carousel-btn.next { right: 20px; }

/* Map Section */
.map-section {
    position: relative;
    margin-top: 40px;
}

.map-wrapper {
    position: relative;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-wrapper iframe {
    width: 100%;
    height: 550px;
    border: 0;
    display: block;
    filter: grayscale(0.5);
    transition: filter 1s ease;
}

.map-wrapper:hover iframe {
    filter: grayscale(0);
}

.map-action-card {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px -12px rgba(10, 37, 64, 0.25), 0 18px 36px -18px rgba(0, 0, 0, 0.3);
    text-align: center;
    width: 95%;
    max-width: 520px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    z-index: 10;
    animation: slideUp 0.8s ease-out;
}

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

.map-action-card h3 {
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
}

.map-action-card p {
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 30px;
    line-height: 1.6;
}

.map-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.map-buttons .btn {
    padding: 12px 28px;
    font-size: 0.95rem;
}

@keyframes slideUp {
    from { opacity: 0; transform: translate(-50%, 20px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

@media (max-width: 768px) {
    .map-action-card {
        padding: 30px 20px;
        bottom: 20px;
    }
    .map-wrapper iframe {
        height: 600px;
    }
    .map-action-card p {
        font-size: 0.9rem;
    }
}

/* Features Section */
.features-section {
    background-color: var(--bg-light);
}

.features-grid-top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.features-grid-bottom {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.feature-item {
    text-align: center;
    padding: 40px 24px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0,180,216, 0.2);
}

.feature-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-title {
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

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

/* Promotion Section */
.promotion-section {
    padding: 0;
}

.promotion-section img {
    width: 100%;
    height: auto;
}

/* About Section */
.about-section {
    display: flex;
    flex-wrap: wrap;
    background-color: var(--primary);
    color: white;
}

.about-image {
    flex: 1 1 50%;
    min-height: 400px;
}

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

.about-content {
    flex: 1 1 50%;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 30px;
    opacity: 0.9;
    font-weight: 300;
}

.about-content .btn {
    align-self: flex-start;
}

/* Categories Section */
.categories-section {
    background-color: var(--bg-main);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-main);
    background-color: #dcdcdc;
    display: inline-block;
    padding: 10px 30px;
    border-radius: 5px;
    font-size: 1.5rem;
}

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

.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.category-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}

.category-item img {
    width: 100%;
    transition: var(--transition);
}

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

.category-item:hover img {
    transform: scale(1.05);
}

.category-label {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #f7d23a;
    text-align: center;
    padding: 15px 5px 5px;
    font-weight: 500;
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: rgba(255,255,255,0.8);
    padding: 80px 0 20px;
    border-top: none;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    max-width: 200px;
    filter: brightness(0) invert(1);
}

.footer-info {
    flex: 1;
    min-width: 300px;
}

.footer-info h4 {
    margin-bottom: 20px;
    color: #fff;
    font-size: 1.2rem;
}

.footer-info p {
    margin-bottom: 12px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-info i {
    color: var(--secondary);
    font-size: 1.1rem;
}

.footer-info .fa-line {
    color: #06C755;
    font-size: 1.2rem;
}

.footer-disclaimer {
    flex: 1;
    min-width: 300px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
}

.footer-disclaimer strong {
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.footer-bottom p {
    background-color: transparent;
    color: inherit;
    display: block;
    padding: 10px 0;
    margin: 0;
    width: 100%;
}

/* Responsive */
@media (max-width: 992px) {
    .features-grid-top, .features-grid-bottom {
        grid-template-columns: repeat(2, 1fr);
    }
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid-top, .features-grid-bottom {
        grid-template-columns: 1fr;
    }
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-image, .about-content {
        flex: 1 1 100%;
    }
    .footer-content {
        flex-direction: column;
    }

    .nav-toggle {
        display: block;
        order: 2;
    }

    .nav-logo {
        order: 1;
    }

    .nav-contact {
        display: none; /* Hide social icons on mobile to save space */
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-main);
        flex-direction: column;
        gap: 0;
        box-shadow: var(--shadow-md);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
        z-index: 999;
    }

    .nav-menu.active {
        max-height: 300px;
    }

    .nav-menu li {
        width: 100%;
        border-top: 1px solid var(--border-color);
    }

    .nav-menu a {
        display: block;
        padding: 15px 20px;
        width: 100%;
    }

    .nav-menu a::after {
        display: none;
    }
}
