@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

* {
        font-family: 'Poppins', sans-serif;
        scroll-behavior: smooth;
}

:root {
        --brand-yellow: #FFDE41;
        --brand-neutral: #292929;
}

.fade-in {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
        opacity: 1;
        transform: translateY(0);
}

.hero-section {
        background: linear-gradient(135deg, rgba(41, 41, 41, 0.9) 0%, rgba(41, 41, 41, 0.7) 100%),
                    url('../img/bg.jpg') center/cover no-repeat;
        min-height: 100vh;
}

.card-hover {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.btn-brand {
        background-color: var(--brand-yellow);
        color: var(--brand-neutral);
        transition: all 0.3s ease;
}

.btn-brand:hover {
        background-color: #e6c93a;
        transform: scale(1.05);
        box-shadow: 0 10px 30px rgba(255, 222, 65, 0.4);
}

.social-btn {
        transition: all 0.3s ease;
}

.social-btn:hover {
    transform: scale(1.15) rotate(5deg);
}

.navbar {
    transition: all 0.3s ease;
}

/* Default navbar state (transparent on dark background) - WHITE text */
.navbar a,
.navbar span,
.navbar .menu li a,
.navbar .btn-ghost {
    color: white !important;
}

.navbar:not(.scrolled) .menu li a:hover {
    color: var(--brand-yellow) !important;
}

/* Dropdown menu - always has white background so needs dark text */
.navbar .dropdown-content {
    background-color: white !important;
}

.navbar .dropdown-content li a {
    color: var(--brand-neutral) !important;
}

.navbar .dropdown-content li a:hover {
    color: var(--brand-yellow) !important;
}

/* Scrolled navbar state (white background) - DARK text */
.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled a,
.navbar.scrolled span,
.navbar.scrolled .menu li a,
.navbar.scrolled .btn-ghost {
    color: var(--brand-neutral) !important;
}

.navbar.scrolled .menu li a:hover {
    color: var(--brand-yellow) !important;
}

/* Hamburger menu icon color */
.navbar .btn-ghost i,
.navbar .dropdown i {
    color: white;
    transition: color 0.3s ease;
}

.navbar.scrolled .btn-ghost i,
.navbar.scrolled .dropdown i {
    color: var(--brand-neutral);
}

section {
    transition: all 0.3s ease;
}

.service-icon {
    transition: all 0.4s ease;
}

.card-hover:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 222, 65, 0.7); }
    50% { box-shadow: 0 0 0 15px rgba(255, 222, 65, 0); }
}

.pulse-animation {
    animation: pulse-glow 2s infinite;
}

.gradient-text {
    background: linear-gradient(135deg, var(--brand-yellow) 0%, #f4c430 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.diff-item-1 img, .diff-item-2 img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Image Zoom Modal Styles */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal.active {
    display: flex;
    opacity: 1;
}

.image-modal-content {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-modal-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalImageIn 0.3s ease;
}

@keyframes modalImageIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--brand-yellow);
    color: var(--brand-neutral);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 10000;
}

.image-modal-close:hover {
    background-color: #fff;
    transform: rotate(90deg) scale(1.1);
}

/* Zoomable images cursor indicator */
.zoomable-image {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zoomable-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Gallery images specific hover */
#gallery img.zoomable-image:hover {
    transform: scale(1.05);
}

/* Service box links - remove underline and add hover lift */
.service-box-link {
    text-decoration: none;
    display: block;
    transform: translateY(0);
}

.service-box-link:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 222, 65, 0.3);
}