
:root {
    --primary-blue: #0A1F3D;
    --accent-blue: #1e88e5;  
    --accent-hover: #0b5e9e;
    --white: #ffffff;
    --warm-bg: #FFFDF9;
    --section-bg: #F4EBE1;
    --text-dark: #2C2C2C;
    --text-light: #5A5A5A;
    --shadow-soft: 0 8px 25px rgba(0,0,0,0.08);
    --shadow-hover: 0 12px 35px rgba(30, 136, 229, 0.2);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--warm-bg);
    overflow-x: hidden;
    line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

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


.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--primary-blue);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.subtitle {
    margin-top: 15px;
    color: var(--text-light);
    font-size: 1.1rem;
    font-style: italic;
}

.underline, .underline-left {
    height: 5px;
    background-color: var(--accent-blue);
    border-radius: 5px;
}

.underline { width: 90px; margin: 15px auto 0; }
.underline-left { width: 90px; margin-top: 15px; }

/* ==================== NAVBAR ==================== */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    z-index: 1000;
    transition: var(--transition);
}

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

/* LOGO GRANDE */
.logo img {
    height: 110px;
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.1));
}

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

.nav-links a {
    font-weight: 600;
    color: var(--primary-blue);
    transition: var(--transition);
    font-size: 1.05rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-blue);
    transition: var(--transition);
}

.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--accent-blue); }

.social-icons-nav a {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-left: 20px;
    transition: var(--transition);
}

.social-icons-nav a:hover {
    color: var(--accent-blue);
    transform: scale(1.1);
}

.menu-toggle {
    display: none;
    font-size: 2rem;
    color: var(--primary-blue);
    cursor: pointer;
}

/* ==================== HERO SECTION ==================== */
.hero {
    height: 100vh;
    background: url('../img/stand10.jpg') center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(10, 31, 61, 0.9) 0%, rgba(10, 31, 61, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin-top: 50px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero h1 span { color: var(--accent-blue); }

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    font-weight: 400;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.btn-primary {
    background-color: var(--accent-blue);
    color: var(--white);
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: var(--transition);
    display: inline-block;
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.4);
}

.btn-primary:hover {
    background-color: var(--white);
    color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* ==================== PRODUCTS CAROUSEL ==================== */
.products { background-color: var(--warm-bg); }

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}

.carousel-track-wrapper {
    overflow: hidden;
    width: 92%;
    padding: 30px 0;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    gap: 25px;
}

.carousel-item {
    min-width: calc(33.333% - 17px);
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
}

.carousel-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.carousel-img-wrapper {
    overflow: hidden;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
    transition: transform 0.5s ease;
}

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

.carousel-item h3 {
    text-align: center;
    padding: 20px;
    font-size: 1.4rem;
    color: var(--primary-blue);
    text-transform: capitalize;
    font-weight: 600;
    background: var(--white);
    position: relative;
    z-index: 2;
}

.carousel-btn {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    z-index: 10;
    font-size: 1.5rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.carousel-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: scale(1.1);
}

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

/* ==================== LIGHTBOX MODAL ==================== */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 31, 61, 0.95);
    backdrop-filter: blur(5px);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 85%;
    max-height: 80vh;
    margin-top: 5vh;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: zoomIn 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10000;
}

.modal-nav:hover {
    background: var(--accent-blue);
    transform: translateY(-50%) scale(1.05);
}

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

#modalCaption {
    margin: auto;
    display: block;
    width: 80%;
    text-align: center;
    color: var(--accent-blue);
    padding: 20px 0;
    font-size: 2rem;
    font-weight: 700;
    text-transform: capitalize;
    animation: zoomIn 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 40px;
    color: var(--white);
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10001;
}

.close-modal:hover { color: var(--accent-blue); }

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ==================== ABOUT SECTION ==================== */
.about { background-color: var(--section-bg); }

.about-content {
    background: var(--white);
    padding: 60px;
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.about-content::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 10px; height: 100%;
    background-color: var(--accent-blue);
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
}

.about-text span { color: var(--accent-blue); }

.about-text p {
    margin-top: 25px;
    color: var(--text-light);
    font-size: 1.15rem;
}

/* ==================== CONTACT SECTION ==================== */
.contact { background-color: var(--warm-bg); }

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    text-align: center;
}

.contact-card {
    background: var(--white);
    padding: 50px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border-bottom: 5px solid transparent;
}

.contact-card:hover {
    transform: translateY(-10px);
    border-bottom: 5px solid var(--accent-blue);
    box-shadow: var(--shadow-hover);
}

.location-card {
    cursor: pointer;
    display: block;
}

.map-hint {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.9rem;
    background: rgba(30, 136, 229, 0.1);
    padding: 5px 12px;
    border-radius: 30px;
    color: var(--accent-blue);
}

.icon-wrapper {
    width: 80px; height: 80px;
    background: rgba(30, 136, 229, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.icon-wrapper i {
    font-size: 2.5rem;
    color: var(--accent-blue);
}

.contact-card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.contact-card p, .phone-link {
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 500;
}

.phone-link:hover { color: var(--accent-blue); }

.social-links-large {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.social-links-large a {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    color: var(--white);
    font-weight: 600;
    transition: var(--transition);
    font-size: 1.1rem;
}

.social-links-large .fb { background: #1877F2; }
.social-links-large .ig { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }

.social-links-large a:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ==================== FOOTER ==================== */
footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 60px 20px 20px;
    text-align: center;
}

.footer-logo img {
    height: 90px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
}

.footer-info p { font-size: 1.1rem; margin-bottom: 20px; color: rgba(255,255,255,0.8); }

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px; height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.3rem;
    margin: 0 10px;
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--accent-blue);
    transform: translateY(-5px);
}

.powered-by {
    margin-top: 30px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.menutech-logo {
    height: 28px;
    width: auto;
    border-radius: 50%;
    background-color: #f57c00;
    object-fit: cover;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.2);
}

.footer-bottom {
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
}

/* ==================== ANIMATIONS ==================== */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
    .carousel-item { min-width: calc(50% - 12.5px); }
    .hero h1 { font-size: 3.2rem; }
    .logo img { height: 85px; }
}

@media (max-width: 768px) {
    .nav-container { padding: 12px 5%; }
    .logo img { height: 70px; }
    
    .nav-links {
        position: absolute;
        top: 100%; left: -100%; width: 100%;
        background-color: var(--white);
        flex-direction: column; align-items: center;
        padding: 30px 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        transition: 0.4s ease;
    }

    .nav-links.active { left: 0; }
    .social-icons-nav { display: none; }
    .menu-toggle { display: block; }

    .carousel-item { min-width: 100%; }
    .carousel-item img { height: 350px; }
    
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
    .about-content { padding: 40px 25px; }

    .modal-nav { width: 40px; height: 40px; font-size: 1.2rem; }
    .prev-modal { left: 5px; }
    .next-modal { right: 5px; }
    #modalCaption { font-size: 1.2rem; }
}