/* style.css */
:root {
    /* Color Palette - Warm, Personal, Trustworthy */
    --primary-color: #2b3a42; 
    --primary-light: #3f5159;
    --accent-color: #0b826e; 
    --accent-hover: #086b5b;
    --text-dark: #333333;
    --text-light: #5a5a5a;
    --bg-light: #fafafa;
    --white: #ffffff;
    
    /* Typography */
    --font-family: 'Assistant', sans-serif;
    
    /* Spacing & Layout */
    --container-width: 1000px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

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

.section-desc {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.title-underline {
    width: 50px;
    height: 4px;
    background-color: var(--accent-color);
    margin-bottom: 2rem;
    border-radius: 2px;
}

.title-underline.center {
    margin: 0 auto 2rem auto;
}

/* Scroll reveal */
.fade-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

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

.navbar.scrolled {
    background: rgba(43, 58, 66, 0.98);
    padding: 15px 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

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

.logo {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    background: rgba(0,0,0,0.2);
    padding: 5px 15px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.navbar.scrolled .logo {
    background: rgba(255,255,255,0.1);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: rgba(0,0,0,0.2);
    border: none;
    padding: 10px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

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

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

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

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links li a {
    color: var(--white);
    font-weight: 600;
    transition: var(--transition);
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.navbar.scrolled .nav-links li a {
    text-shadow: none;
}

.nav-links li a:hover {
    color: #e0f2f1;
}

.nav-btn {
    background: var(--accent-color);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 30px;
    text-shadow: none !important;
}

.nav-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    min-height: 500px;
    background: url('assets/main_picture.webp') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(43, 58, 66, 0.4), rgba(43, 58, 66, 0.7));
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.cta-group {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(11, 130, 110, 0.2);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(11, 130, 110, 0.3);
}

.btn-outline {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    color: var(--white);
    border: 2px solid var(--white);
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-arrow {
    width: 28px;
    height: 28px;
    color: rgba(255,255,255,0.7);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 1; }
}

/* Quick Info Bar */
.quick-info {
    background: var(--white);
    padding: 30px 0;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.03);
    position: relative;
    z-index: 20;
    margin-top: -40px;
    border-radius: 12px 12px 0 0;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
}

.info-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.info-icon {
    width: 28px;
    height: 28px;
    color: var(--accent-color);
}

.info-item span {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background: var(--bg-light);
}

.gallery-category {
    margin-bottom: 40px;
}

.gallery-category h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.gallery-category h3::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    flex-shrink: 0;
}

.category-grid {
    margin-top: 10px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 250px;
    gap: 15px;
    margin-top: 30px;
}

/* Single-image grids should not be oversized */
.image-grid .gallery-img.main-span:only-child {
    grid-row: span 1;
    max-height: 400px;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    z-index: 2;
    position: relative;
}

.main-span {
    grid-column: 1 / -1;
    grid-row: span 2;
}

/* About Section */
.about {
    padding: 60px 0;
    background: var(--white);
}

.about-text p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.06);
}

.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(11, 130, 110, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--accent-color);
}

.feature-card:hover .feature-icon {
    color: var(--white);
}

.feature-icon {
    width: 32px;
    height: 32px;
    color: var(--accent-color);
    transition: var(--transition);
}

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

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Location Section */
.location {
    padding: 80px 0;
    background: var(--white);
}

.location-text {
    text-align: center;
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: var(--text-light);
}

.map-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: url('assets/img_1.webp') no-repeat center center/cover;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(43, 58, 66, 0.9);
}

.contact-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.contact-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    text-align: center;
}

.contact-card p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.contact-phone {
    margin-top: 20px;
    margin-bottom: 0;
}

.contact-phone a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    direction: ltr;
    display: inline-block;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 25px 0;
    font-size: 0.9rem;
}

/* Floating WhatsApp */
.float-wa {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 55px;
    height: 55px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    animation: waPulse 3s ease-in-out infinite;
}

.float-wa:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
    animation: none;
}

@keyframes waPulse {
    0%, 100% { box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3); }
    50% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5), 0 0 0 10px rgba(37, 211, 102, 0.1); }
}

.wa-icon {
    width: 28px;
    height: 28px;
}

/* WhatsApp Large Button */
.wa-large-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25d366;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
    margin-top: 10px;
}

.wa-large-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
    color: white;
}

.wa-large-icon {
    width: 24px;
    height: 24px;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.92);
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
    transition: opacity 0.15s ease;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 2001;
}

.close-lightbox:hover {
    color: #bbb;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(5px);
    z-index: 2001;
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.25);
}

.lightbox-prev {
    right: 20px;
}

.lightbox-next {
    left: 20px;
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: rgba(43, 58, 66, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transition: right 0.35s ease;
        padding: 40px;
        box-shadow: -5px 0 20px rgba(0,0,0,0.2);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links li a {
        font-size: 1.2rem;
        text-shadow: none;
    }

    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .cta-group {
        flex-direction: column;
        align-items: center;
    }
    
    .quick-info {
        margin-top: 0;
        border-radius: 0;
    }
    
    .contact-card {
        padding: 30px 20px;
    }
    
    .image-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }
    
    .main-span {
        grid-column: 1 / -1;
        grid-row: span 1;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
    }

    .lightbox-prev {
        right: 10px;
    }

    .lightbox-next {
        left: 10px;
    }

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