/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* ==================== HEADER (White Background) ==================== */
header {
    background: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* Logo Area */
.logo-area {
    flex-shrink: 0;
}

/* Logo Size - Optimized for all devices */
.site-logo {
    height: 65px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    transition: transform 0.3s;
}

.site-logo:hover {
    transform: scale(1.05);
}

/* Navigation Desktop */
nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

nav ul li a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s;
    padding: 8px 0;
}

nav ul li a:hover,
nav ul li a.active {
    color: #1a3c2c;
    border-bottom: 2px solid #1a3c2c;
}

/* Header Right (Desktop) */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-group {
    display: flex;
    gap: 10px;
}

.btn-call, .btn-wa {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-call {
    background: #1a3c2c;
    color: white;
}

.btn-call:hover {
    background: #0f261c;
    transform: translateY(-2px);
}

.btn-wa {
    background: #25D366;
    color: white;
}

.btn-wa:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.social-group {
    display: flex;
    gap: 10px;
}

.social-fb, .social-ig {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    transition: all 0.3s;
    text-decoration: none;
    font-size: 18px;
}

.social-fb {
    background: #1877f2;
    color: white;
}

.social-fb:hover {
    background: #0d5bd9;
    transform: translateY(-2px);
}

.social-ig {
    background: linear-gradient(45deg, #f09433, #d62976, #962fbf);
    color: white;
}

.social-ig:hover {
    transform: translateY(-2px);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
    z-index: 1002;
}

.mobile-menu-btn span {
    width: 28px;
    height: 3px;
    background: #333;
    transition: all 0.3s;
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Navigation Contact Section */
.mobile-nav-contact {
    display: none;
    margin-top: 40px;
    padding: 20px;
    border-top: 1px solid #eee;
    text-align: center;
}

.mobile-nav-call, .mobile-nav-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.mobile-nav-call {
    background: #1a3c2c;
    color: white;
}

.mobile-nav-wa {
    background: #25D366;
    color: white;
}

/* Mobile Bottom Bar */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 10px 20px;
    justify-content: center;
    gap: 20px;
    align-items: center;
    box-shadow: 0 -2px 15px rgba(0,0,0,0.15);
    z-index: 999;
    border-top: 1px solid #eee;
}

.mobile-bottom-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    font-size: 14px;
    padding: 10px 25px;
    border-radius: 30px;
    transition: all 0.3s;
    font-weight: 600;
}

.mobile-bottom-bar i {
    font-size: 18px;
}

.mobile-call {
    background: #1a3c2c;
    color: white;
    flex: 1;
}

.mobile-wa {
    background: #25D366;
    color: white;
    flex: 1;
}

/* ==================== FOOTER ==================== */
footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 50px 0 20px;
    margin-top: 60px;
}

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

.footer-col h3 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #ffd700;
}

.footer-col p {
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #ffd700;
    padding-left: 5px;
}

.footer-col .contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.footer-col .contact-info li i {
    width: 25px;
    color: #ffd700;
}

.footer-col .contact-info li a {
    color: #ccc;
    text-decoration: none;
}

.footer-col .contact-info li a:hover {
    color: #ffd700;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #333;
    border-radius: 50%;
    color: white;
    transition: all 0.3s;
    text-decoration: none;
}

.footer-social a:hover {
    background: #ffd700;
    color: #1a1a1a;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid #333;
    font-size: 14px;
}

.footer-bottom p {
    margin-bottom: 8px;
}

/* ==================== RESPONSIVE MOBILE STYLES ==================== */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    /* Logo Size Mobile */
    .site-logo {
        height: 50px;
        max-width: 180px;
    }
    
    /* Hide desktop header right */
    .desktop-only {
        display: none !important;
    }
    
    /* Show mobile menu button */
    .mobile-menu-btn {
        display: flex;
    }
    
    /* Mobile Navigation - Slide from right */
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: white;
        box-shadow: -5px 0 20px rgba(0,0,0,0.15);
        transition: right 0.3s ease;
        z-index: 1001;
        padding: 80px 20px 20px 20px;
        overflow-y: auto;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    nav ul li a {
        font-size: 18px;
        padding: 10px;
        display: block;
    }
    
    /* Show mobile nav contact section */
    .mobile-nav-contact {
        display: block;
    }
    
    /* Show mobile bottom bar */
    .mobile-bottom-bar {
        display: flex;
    }
    
    /* Add padding to body for bottom bar */
    body {
        padding-bottom: 75px;
    }
    
    main {
        padding-bottom: 20px;
    }
    
    /* Footer adjustments */
    footer {
        margin-bottom: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 35px;
    }
    
    .footer-col h3:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-col .contact-info li {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .site-logo {
        height: 45px;
        max-width: 160px;
    }
    
    .mobile-bottom-bar {
        padding: 8px 15px;
        gap: 12px;
    }
    
    .mobile-bottom-bar a {
        padding: 8px 15px;
        font-size: 13px;
    }
    
    .mobile-bottom-bar i {
        font-size: 16px;
    }
    
    .mobile-nav-call, .mobile-nav-wa {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .footer-grid {
        gap: 30px;
    }
    
    .footer-col h3 {
        font-size: 16px;
    }
    
    .footer-bottom {
        font-size: 12px;
    }
}

/* Active page highlight */
.nav-link.active {
    color: #1a3c2c;
    border-bottom: 2px solid #1a3c2c;
}