/* GLOBAL STYLES */

:root {
    --brand-orange: #ff8c00;
    --brand-green: #2ECC71;
    --text-white: #ffffff;
}

body {
    background-color: var(--brand-orange);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    margin: 0;
}

/* HEADER & NAVIGATION */

#header-placeholder {
    position: relative;
    z-index: 5000;
}

.navbar {
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%) !important;
    border-bottom: none;
    padding: 1.5rem 0;
    z-index: 2000;
}

.nav-link {
    color: var(--text-white) !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.nav-link:hover {
    color: var(--brand-green) !important;
}

.logo-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3000;
}

/* MOBILE OVERLAY */

.mobile-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2500;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    display: flex;
    opacity: 1;
}

.mobile-nav-link {
    font-size: 2rem;
    color: white;
    text-decoration: none;
    font-weight: 800;
    margin: 15px 0;
    text-transform: uppercase;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
}

/* HERO SECTION (Index Page) */

.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.1)),
    url('assets/hero.webp') no-repeat center center/cover;
    display: flex;
    align-items: center;
}

.hero-text {
    border-left: 8px solid var(--text-white);
    padding-left: 2rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.hero-text h1 { font-size: clamp(2.5rem, 8vw, 4.5rem); font-weight: 800; line-height: 0.9; }
.hero-text p { font-size: 1.2rem; letter-spacing: 5px; text-transform: uppercase; }

/* PAGE HEADERS & TITLES */

.gallery-header, .project-header, .contact-header {
    padding-top: 180px;
    padding-bottom: 40px;
    text-align: center;
}

#page-title, #project-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 800;
    text-transform: uppercase;
}

/* GALLERY & MASONRY GRID */

.gallery-container { padding: 60px 0 80px 0; }

#image-gallery {
    column-count: 3;
    column-gap: 1.5rem;
}

.img-wrapper {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255,255,255,0.1);
}

.gallery-img {
    width: 100%;
    transition: transform 0.5s ease;
}

.img-wrapper:hover .gallery-img { transform: scale(1.05); }

/* --- PROJECT CARDS --- */

.project-grid { padding-bottom: 80px; }
.project-link { text-decoration: none; color: inherit; display: block; }

.project-card-wrapper {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 1, 0.3, 1), transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.project-card-wrapper.reveal { opacity: 1; transform: translateY(0); }

.project-card {
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px; height: 350px; display: flex; align-items: flex-end;
    justify-content: center; text-align: center; padding: 30px;
    transition: all 0.4s ease; position: relative; overflow: hidden;
}

.project-thumb {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0.5; transition: 0.5s ease; z-index: 1;
}

.project-card h3 {
    font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
    z-index: 2; margin: 0; text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.project-card:hover .project-thumb { transform: scale(1.05); opacity: 0.8; }
.project-card:hover { border-color: var(--brand-green); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }

/* --- BUTTONS --- */

.btn-view-all, .btn-back {
    border: 2px solid var(--text-white);
    color: var(--text-white);
    padding: 12px 40px;
    text-transform: uppercase;
    font-weight: 800;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.btn-back:hover { background: white; color: var(--brand-orange); }

/* LOADERS & ANIMATIONS */

#loader {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    width: 100%;
}

.loading-text {
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.6;
    animation: pulse 1.5s infinite;
    color: white;
}

@keyframes pulse {
    0% { opacity: 0.3; } 50% { opacity: 0.8; } 100% { opacity: 0.3; }
}

/* FOOTER */

footer { padding: 60px 0 40px 0; }
.footer-line { width: 100%; height: 1px; background: rgba(255,255,255,0.3); margin-bottom: 40px; }
.footer-contact { font-size: 0.9rem; color: white; text-decoration: none; transition: 0.3s; }
.footer-contact:hover { color: var(--brand-green); }

.social-links a {
    font-size: 1.4rem;
    color: var(--text-white);
    margin: 0 8px;
    transition: 0.3s;
    display: inline-block;
}

.social-links a:hover { color: var(--brand-green); transform: translateY(-3px); }

/* --- PRICING PAGE STYLES --- */

.pricing-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.pricing-card:hover { transform: translateY(-8px); box-shadow: 0 20px 45px rgba(0,0,0,0.3); }

.pricing-img-wrapper {
    position: relative;
    height: 320px;
    width: 100%;
    background-color: #f8f9fa;
    overflow: hidden;
}

.pricing-img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.6s ease-in-out, transform 0.6s ease; opacity: 0; }
.pricing-card:hover .pricing-img { transform: scale(1.05); }

.price-badge {
    position: absolute; top: 1.5rem; right: 1.5rem;
    background: var(--brand-green); color: #fff;
    font-weight: 800; font-size: 1.2rem;
    padding: 0.4rem 1rem; border-radius: 50px; z-index: 10;
}

.card-footer-custom { background: #ffffff; border-top: 1px solid #f0f0f0; }

.btn-details {
    color: #333333; text-decoration: none; display: flex; align-items: center;
    justify-content: space-between; width: 100%; padding: 1.25rem 1.5rem;
    background: none; border: none;
}

.package-title { color: #333333; font-weight: 800; font-size: 1.3rem; margin: 0; text-transform: uppercase; letter-spacing: 1px; }

.btn-details:hover .package-title, .btn-details:hover i { color: var(--brand-green); }
.btn-details i { transition: transform 0.3s ease; font-size: 1.4rem; color: #333333; }
.btn-details[aria-expanded="true"] i { transform: rotate(180deg); }

.package-details-content { padding: 0 1.5rem 1.5rem 1.5rem; background-color: #ffffff; color: #555555; font-size: 0.95rem; }
.package-details-content li::before { content: "•"; color: var(--brand-green); font-weight: bold; position: absolute; left: -1rem; }

.btn-book { background: #000000; color: white; font-weight: 800; text-transform: uppercase; width: 100%; padding: 0.8rem; border-radius: 6px; transition: 0.3s; text-decoration: none; display: block; text-align: center; }
.btn-book:hover { background: var(--brand-green); color: white; transform: translateY(-2px); }

/* --- CONTACT PAGE STYLES --- */

.contact-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    color: #333333;
    overflow: hidden;
}

.contact-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background-color: #f0f0f0;
    background-image: url('assets/contact-image.webp'); /* Update this path later */
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}

.contact-text h2 {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #000000;
}

.contact-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555555;
    margin-bottom: 2rem;
}

.contact-method {
    margin-bottom: 1.5rem;
}

.contact-method a {
    color: #000000;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.2rem;
    transition: 0.3s;
}

.contact-method a:hover {
    color: var(--brand-green);
}

.contact-socials-list {
    display: flex;
    gap: 20px;
    margin-top: 1rem;
}

.contact-socials-list a {
    font-size: 1.8rem;
    color: #333;
    transition: 0.3s;
}

.contact-socials-list a:hover {
    color: var(--brand-green);
    transform: translateY(-3px);
}

/* MEDIA QUERIES */

@media (max-width: 992px) {
    #image-gallery { column-count: 2; }
    .contact-card { padding: 2rem; }
}

@media (max-width: 767px) {
    .contact-text h2 { font-size: 2rem; }
}

@media (max-width: 576px) {
    #image-gallery { column-count: 1; }
}