body {
    font-family: 'Barlow', sans-serif;
}

.campaign-bar {
    z-index: 60;
}

.font-barlow {
    font-family: 'Barlow', sans-serif;
}

.font-inter {
    font-family: 'Barlow', sans-serif;
}

.font-playfair {
    font-family: 'Barlow', sans-serif;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 50;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.nav-link {
    font-size: 15px;
    font-weight: 600;
    color: #374151;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #facc15;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #facc15;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 40;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    right: -100%;
    top: 0;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: white;
    z-index: 50;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.hamburger {
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    background: none;
    border: none;
}

.hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #111827;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 11px;
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 11px;
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 11px;
}

.btn-primary {
    background: #111827;
    color: white;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid #111827;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #facc15;
    transition: left 0.3s ease;
    z-index: 0;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    border-color: #facc15;
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.btn-primary span {
    position: relative;
    z-index: 1;
}

.btn-primary-orange {
    background: #facc15;
    color: black;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #facc15;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary-orange:hover {
    background: #ca8a04;
    border-color: #ca8a04;
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(250, 204, 21, 0.3);
}

.btn-outline-white {
    border: 2px solid white;
    color: white;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-white:hover {
    background: white;
    color: #111827;
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(255,255,255,0.2);
}

.hero-section-modern {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 20px 60px;
}

@media (min-width: 768px) {
    .hero-section-modern {
        padding: 100px 20px 60px;
    }
}

.hero-section-subpage {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding: 140px 20px 60px;
}

@media (min-width: 768px) {
    .hero-section-subpage {
        padding: 120px 20px 80px;
    }
}

.hero-background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(27, 27, 27, 0.85) 0%, rgba(27, 27, 27, 0.75) 100%);
    z-index: 1;
}

.premium-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #facc15, #fbbf24);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.premium-card:hover::before {
    transform: translateX(0);
}

.premium-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
    border-color: #facc15;
}

.service-card-image {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.05);
}

.service-card-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.service-image-top {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .service-image-top {
        height: 240px;
    }
}

.service-image-top::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.4) 100%);
    transition: opacity 0.3s ease;
}

.service-card-image:hover .service-image-top::after {
    opacity: 0.6;
}

.service-body {
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .service-body {
        padding: 2rem;
    }
}

.service-link {
    color: #facc15;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 0.75rem;
}

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.service-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.service-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.3) 100%);
}

.service-content {
    padding: 1.5rem;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    background: white;
    border: 2px solid #facc15;
    color: #facc15;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 14px;
}

@media (min-width: 768px) {
    .filter-btn {
        padding: 10px 24px;
    }
}

.filter-btn:hover,
.filter-btn.active {
    background: #facc15;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(250, 204, 21, 0.2);
}

.gallery-item-teaser {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    aspect-ratio: 4/3;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    transition: all 0.4s ease;
}

@media (min-width: 768px) {
    .gallery-item-teaser {
        border-radius: 16px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    }
}

.gallery-item-teaser:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

@media (min-width: 768px) {
    .gallery-item-teaser:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    }
}

.gallery-item-teaser img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item-teaser:hover img {
    transform: scale(1.1);
}

.gallery-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 40%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.gallery-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem;
    color: white;
    z-index: 2;
}

.gallery-text h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.375rem;
    line-height: 1.3;
}

.gallery-text p {
    font-size: 0.875rem;
    opacity: 0.95;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .gallery-text {
        padding: 1.5rem;
    }

    .gallery-text h3 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .gallery-text p {
        font-size: 0.9375rem;
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    aspect-ratio: 1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(250, 204, 21, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay p {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    padding: 0 20px;
    text-align: center;
}

.decorative-line {
    height: 3px;
    width: 100px;
    background: linear-gradient(90deg, transparent, #facc15, transparent);
    margin: 0 auto;
}

.cta-with-bg {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.9) 0%, rgba(202, 138, 4, 0.85) 100%);
    z-index: 1;
}


.cta-button-white {
    background: white;
    color: #111827;
    padding: 14px 32px;
    font-weight: 700;
    font-size: 15px;
    border-radius: 12px;
    display: inline-block;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

@media (min-width: 768px) {
    .cta-button-white {
        padding: 18px 48px;
        font-size: 17px;
        box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    }
}

.cta-button-white:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    background: #fef3c7;
}

.cta-button-outline {
    background: transparent;
    color: #111827;
    border: 2px solid #111827;
    padding: 12px 32px;
    font-weight: 700;
    font-size: 15px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

@media (min-width: 768px) {
    .cta-button-outline {
        border: 3px solid #111827;
        padding: 16px 48px;
        font-size: 17px;
    }
}

.cta-button-outline:hover {
    background: white;
    color: #111827;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255,255,255,0.3);
}

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.premium-input {
    width: 100%;
    border: none;
    border-bottom: 2px solid #e5e7eb;
    padding: 14px 0;
    background: transparent;
    transition: all 0.3s ease;
    font-size: 16px;
}

.premium-input:focus {
    outline: none;
    border-color: #facc15;
}

.footer-premium {
    background: #1b1b1b;
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
}

@media (min-width: 768px) {
    .footer-premium {
        padding: 6rem 0 2rem;
    }
}

.footer-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(250, 204, 21, 0.6), transparent);
}

.footer-link-premium {
    color: #9ca3af;
    transition: all 0.3s ease;
    font-size: 15px;
    display: inline-block;
    position: relative;
}

.footer-link-premium::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #facc15;
    transition: width 0.3s ease;
}

.footer-link-premium:hover {
    color: #facc15;
    transform: translateX(5px);
}

.footer-link-premium:hover::before {
    width: 100%;
}

.footer-modern {
    background: #111827;
    color: white;
    padding: 5rem 0 2rem;
}

.footer-link {
    color: #9ca3af;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-link:hover {
    color: #facc15;
}

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.hover-scale {
    transition: transform 0.5s ease;
}

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

.subpage-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.subpage-image-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0.75rem;
}

@media (min-width: 768px) {
    .subpage-image-grid img {
        height: 250px;
    }
}

@media (min-width: 1024px) {
    .subpage-image-grid img {
        height: 300px;
    }
}

/* Lightbox styles */
.lightbox {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 1000px; /* Max width for the image */
    max-height: 90vh; /* Max height for the content */
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    display: block;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    object-fit: contain; /* Ensures the image fits within boundaries without cropping */
}

.lightbox-close {
    position: absolute;
    top: -15px; /* Adjust as needed */
    right: -15px; /* Adjust as needed */
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    background: #333;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #fff;
    z-index: 1001; /* Ensure close button is above image */
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 30px;
        width: 40px;
        height: 40px;
    }
}


@media (max-width: 768px) {
    .hero-section {
        padding-top: 140px;
        padding-bottom: 40px;
    }

    .service-card-image {
        margin-bottom: 0;
    }

    .gallery-item-teaser {
        aspect-ratio: 1;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem !important;
        line-height: 1.2;
    }

    .section-title {
        font-size: 1.875rem !important;
    }

    .cta-with-bg {
        padding: 4rem 0;
        min-height: 400px;
    }
}
