:root {
    --bg-body: #ffffff;
    --bg-beige: #f4f2ee;
    --text-dark: #111111;
    --radius-xl: 30px;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-dark);
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

/* Utilities */
.rounded-5xl {
    border-radius: var(--radius-xl);
}

.rounded-top-5xl {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.bg-light-beige {
    background-color: var(--bg-beige);
}

.ls-1 {
    letter-spacing: 2px;
}

/* HERO SECTION */
.hero-wrapper {
    height: 85vh;
    position: relative;
    background: #000;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: opacity 1s ease;
}

.fade-out-element {
    opacity: 0 !important;
    pointer-events: none;
}

.hero-overlay-text {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 100%;
}

.hero-overlay-text h1 {
    font-size: 8rem;
    letter-spacing: -3px;
}

@media (max-width: 768px) {
    .hero-overlay-text h1 {
        font-size: 2.8rem;
        /* Changed from 4rem to 3rem */
    }

    .hero-wrapper {
        height: 60vh;
    }
}

/* Glassmorphism Cards */
.glass-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 20px;
    z-index: 20;
}

.glass-card-left {
    bottom: 50px;
    left: 50px;
    width: 300px;
    color: white;
}

.glass-card-center {
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 100px;
}

/* Play Button */
.play-button {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.play-button:hover {
    transform: scale(1.1);
}

/* --- PREMIUM BADGE STYLING --- */
.premium-badge {
    position: absolute;
    bottom: 40px;
    right: 40px;
    width: 140px;
    height: 140px;
    z-index: 20;
    pointer-events: none;
}

.badge-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: rotateSlow 20s linear infinite;
}

.badge-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(227, 196, 150, 0.3);
}

@keyframes rotateSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .premium-badge {
        width: 100px;
        height: 100px;
        bottom: 20px;
        right: 20px;
    }

    .badge-center {
        width: 35px;
        height: 35px;
    }
}

/* CATALOG CARDS */
.catalog-card {
    position: relative;
    cursor: pointer;
}

.catalog-card img {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

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

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    color: white;
    opacity: 0;
    transition: opacity 0.3s;
}

.catalog-card:hover .card-overlay {
    opacity: 1;
}

.card-btn-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    opacity: 1;
    z-index: 2;
}

/* PROCESS SECTION STYLES */
.text-outline {
    color: transparent;
    -webkit-text-stroke: 1px var(--text-dark);
    font-family: 'Outfit', sans-serif;
    display: block;
    line-height: 1;
    transition: all 0.4s ease;
}

.process-card:hover .text-outline {
    color: var(--text-dark);
    opacity: 1 !important;
    transform: translateX(10px);
}

.process-card {
    cursor: default;
}

.process-card p {
    line-height: 1.6;
}

/* --- CERTIFICATE INTERACTIONS --- */
.hover-scale {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cert-badge-wrapper:hover .hover-scale {
    transform: translateY(-5px) scale(1.05);
}

.hover-opacity-100 {
    transition: opacity 0.3s ease;
}

.cert-badge-wrapper:hover .hover-opacity-100 {
    opacity: 1 !important;
    color: var(--text-dark) !important;
}

/* --- ACCORDION STYLES --- */
.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.1);
}

.accordion-button:not(.collapsed) {
    color: var(--text-dark);
    background-color: transparent;
}

.accordion-button::after {
    filter: grayscale(1);
}

/* --- SCROLL TRANSITION LOGIC --- */

/* Navbar Button Animation */
#nav-wa-item {
    transition: all 0.5s ease;
    max-width: 200px;
    opacity: 1;
    overflow: hidden;
    white-space: nowrap;
}

#nav-wa-item.fade-out {
    opacity: 0;
    max-width: 0;
    margin-left: 0 !important;
    pointer-events: none;
}

/* Floating Button Transition */
.whatsapp-float {
    position: fixed;
    bottom: -80px;
    right: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    background: white;
    padding: 8px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);

    transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        opacity 0.5s ease,
        max-width 0.3s ease,
        transform 0.3s ease;

    overflow: hidden;
    max-width: 60px;
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
}

.whatsapp-icon {
    width: 45px;
    height: 45px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.whatsapp-text {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    margin-left: 12px;
    margin-right: 15px;
    opacity: 0;
    transition: opacity 0.3s;
}

.whatsapp-float.is-visible {
    bottom: 30px;
    opacity: 1;
    pointer-events: auto;
}

.whatsapp-float:hover {
    max-width: 200px;
    transform: translateY(-5px);
}

.whatsapp-float:hover .whatsapp-text {
    opacity: 1;
}

footer li {
    color: #c3c3c3;
}

footer li:hover {
    color: rgba(var(--bs-warning-rgb), var(--bs-text-opacity)) !important;
}

.social-links a i {
    color: #c3c3c3 !important;
}

.social-links a i:hover {
    color: rgba(var(--bs-warning-rgb), var(--bs-text-opacity)) !important;
}

/* --- GALLERY / PAST WORK SECTION --- */
.gallery-card {
    position: relative;
    border-radius: 20px;
    /* Matches your glass-card style */
    overflow: hidden;
    aspect-ratio: 1 / 1;
    /* Forces a perfect square shape for neatness */
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures image fills the square without stretching */
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-card:hover img {
    transform: scale(1.08);
    /* Subtle zoom effect */
}

/* Optional: Adds a label overlay on hover */
.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.gallery-card:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

/* --- LIGHTBOX CAROUSEL STYLES --- */
#pastWorkModal .modal-content {
    background-color: transparent;
    border: none;
}

#pastWorkModal .carousel-item {
    text-align: center;
    background: transparent;
}

#pastWorkModal .carousel-item img {
    max-height: 85vh;
    /* Prevents image from being taller than screen */
    max-width: 100%;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Make arrows bigger and clearer */
#pastWorkModal .carousel-control-prev-icon,
#pastWorkModal .carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(0, 0, 0, 0.5);
    /* Dark background behind arrow for visibility */
    border-radius: 50%;
    background-size: 50%;
}