/* ========== BASE STYLES ========== */

:root {
    --duck-egg: #EAF6F6;
    --teal: #0A7373;
    --gold: #C9A227;
    --text-dark: #1A1A1A;
    --text-light: #555555;
    --white: #FFFFFF;
    --border-soft: #DCECEC;
}

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

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--duck-egg);
    color: var(--text-dark);
    line-height: 1.6;
}

/* ========== NAVBAR ========== */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: var(--white);
    border-bottom: 2px solid var(--border-soft);
}

.logo {
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--teal);
    letter-spacing: 1px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--teal);
}

/* ========== HERO SECTION ========== */

.hero {
    padding: 120px 40px;
    text-align: center;
}

.hero h1 {
    font-size: 2.6rem;
    margin-bottom: 20px;
    color: var(--teal);
}

.hero p {
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0 auto 30px auto;
    color: var(--text-light);
}

.cta-button {
    background: var(--gold);
    color: var(--white);
    padding: 14px 26px;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.2s;
}

.cta-button:hover {
    background: var(--teal);
}
/* ========== PAGE HEADER ========== */

.page-header {
    text-align: center;
    padding: 80px 20px 40px 20px;
}

.page-header h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--teal);
}

.page-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}


/* ========== SERVICES LAYOUT ========== */

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    padding: 40px;
    max-width: 1100px;
    margin: 0 auto 80px auto;
}

.service-card {
    background: var(--white);
    padding: 30px 25px;
    border-radius: 10px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.09);
}

.service-card h2 {
    color: var(--teal);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.5;
}
/* ========== PORTFOLIO GRID ========== */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    padding: 40px;
    max-width: 1100px;
    margin: 0 auto 80px auto;
}

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

.portfolio-img {
    width: 100%;
    height: 260px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--border-soft);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.placeholder {
    background: linear-gradient(135deg, var(--duck-egg), var(--border-soft));
}

.portfolio-item h3 {
    margin-top: 15px;
    font-size: 1.1rem;
    color: var(--teal);
}
.portfolio-item a {
    text-decoration: none;
    display: block;
}

.portfolio-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-top: 6px;
    line-height: 1.4;
}

.portfolio-img:hover {
    filter: brightness(0.9);
    cursor: pointer;
    transition: 0.2s ease;
}

/* ========== ABOUT SECTION ========== */

.about-section {
    max-width: 900px;
    margin: 0 auto 80px auto;
    padding: 20px 40px;
}

.about-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.about-card h2 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: var(--teal);
}

.about-card p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
}
/* ========== CONTACT SECTION ========== */

.contact-section {
    max-width: 700px;
    margin: 0 auto 80px auto;
    padding: 20px 40px;
}

.contact-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.contact-card h2 {
    font-size: 1.9rem;
    margin-bottom: 20px;
    text-align: center;
    color: var(--teal);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Text inputs and textarea */

.contact-form input,
.contact-form textarea,
.contact-select {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--border-soft);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: white;
    transition: 0.2s ease;
}

/* Dropdown styling */

.contact-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='4,7 10,13 16,7' fill='none' stroke='%230A7373' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
}
/* Contact Form Button – FIXED */
.contact-form button {
    display: inline-block;
    width: 100%;
    padding: 16px;
    background: var(--teal);
    color: white;
    border: none;
    font-size: 1.15rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.15s ease;
}

/* Hover animation */
.contact-form button:hover {
    background: var(--gold);
    transform: translateY(-2px);
}

/* Pressed click */
.contact-form button:active {
    transform: translateY(0px);
}

/* ========== MOBILE FIXES ========== */

@media (max-width: 600px) {

    /* Prevent sideways scroll */
    body {
        overflow-x: hidden;
    }

    /* Navbar layout */
    .navbar {
        flex-direction: column;
        align-items: center;
        padding: 20px 10px;
        text-align: center;
    }

    .logo {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }

    .nav-links {
        flex-direction: column;
        gap: 12px;
    }

    .nav-links a {
        font-size: 1rem;
    }

    /* Hero tweaks so it's not massive on mobile */
    .hero {
        padding: 80px 20px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta-button {
        font-size: 1rem;
        padding: 12px 20px;
    }
}
    /* Success Popup */
.success-popup {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--teal);
    color: white;
    padding: 16px 26px;
    border-radius: 8px;
    font-size: 1rem;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
    z-index: 999999;
}

.success-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

/* ========== HIGHLIGHTS SECTION ========== */

.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 40px;
    max-width: 1100px;
    margin: 0 auto 60px auto;
}

.highlight-item {
    background: var(--white);
    padding: 25px 20px;
    border-radius: 10px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
}

.highlight-item h3 {
    color: var(--teal);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.highlight-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Mobile tweak for hero + highlights */

@media (max-width: 600px) {

    .hero {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .highlights {
        padding: 20px;
        gap: 15px;
    }
}
/* ========== FOOTER ========== */

.footer {
    text-align: center;
    padding: 30px 20px;
    background: var(--teal);
    color: var(--white);
    margin-top: 60px;
}

.footer p {
    margin: 5px 0;
    font-size: 0.95rem;
}
/* ========== LIGHTBOX ========== */

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    flex-direction: column; /* This is key */
    padding: 20px;
    z-index: 9999;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    cursor: pointer;
}
/* Fade-in animation */
.lightbox.fade-in {
    animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Caption styles */
.lightbox-caption {
    color: white;
    font-size: 1.2rem;
    text-align: center;
    margin-top: 20px;
    padding: 0 20px;
    max-width: 90%;
    text-shadow: 0 0 6px rgba(0,0,0,0.6);
}
/* Arrows */
.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: white;
    cursor: pointer;
    user-select: none;
    padding: 10px;
}

.lightbox-arrow.left {
    left: 40px;
}

.lightbox-arrow.right {
    right: 40px;
}

.lightbox-arrow:hover {
    color: var(--gold);
}
/* ========== SCROLL ANIMATION ========== */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--teal);
    color: white;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(50px);
    transition: 0.3s ease;
}

.cookie-banner.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cookie-banner button {
    background: var(--gold);
    border: none;
    padding: 8px 16px;
    color: white;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s ease;
}

.cookie-banner button:hover {
    background: white;
    color: var(--teal);
}

