/* ===== GLOBAL VARIABLES ===== */
:root {
    /* Color Palette */
    --color-white: #FFFFFF;
    --color-beige: #F9F8F6;
    --color-soft-gold: #a31e5b;
    --color-gold-hover: #821748;
    --color-dark: #2C2B29;
    --color-gray: #757575;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;

    /* Spacing & Sizes */
    --max-width: 1200px;
    --nav-height: 80px;

    /* Effects */
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --border-radius: 12px;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-dark);
    background-color: var(--color-white);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ===== PROGRESS BAR ===== */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background-color: var(--color-soft-gold);
    z-index: 10000;
    transition: width 0.1s;
}

/* ===== LOADING ANIMATION ===== */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease-out;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--color-beige);
    border-top-color: var(--color-soft-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* ===== TYPOGRAPHY & UTILS ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: 100px 0;
}

.section-padding-pt-0 {
    padding-top: 0;
}

.section-padding-pb-0 {
    padding-bottom: 0;
}

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

.section-title {
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--color-gray);
    max-width: 600px;
    margin: 0 auto;
}

.section-title-left {
    text-align: left !important;
}

.section-title-mb-20 {
    margin-bottom: 20px !important;
}

/* ===== BUTTONS & RIPPLE ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 35px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--color-soft-gold);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-dark);
    border: 2px solid var(--color-soft-gold);
}

.btn-outline:hover {
    background-color: var(--color-soft-gold);
    color: var(--color-white);
}

/* Ripple logic */
.ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    pointer-events: none;
    border-radius: 50%;
    animation: ripples 0.6s linear;
}

@keyframes ripples {
    0% {
        width: 0;
        height: 0;
        opacity: 0.5;
    }

    100% {
        width: 400px;
        height: 400px;
        opacity: 0;
    }
}

/* ===== NAVBAR (GLASSMORPHISM) ===== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: var(--transition);
    background: var(--color-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-dark);
}

.logo img {
    max-height: 50px;
}

.header.scrolled .logo {
    color: var(--color-dark);
}

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

.nav-links li a {
    color: var(--color-dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.header.scrolled .nav-links li a {
    color: var(--color-dark);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--color-soft-gold);
    transition: var(--transition);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.whatsapp-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-cta:hover {
    background-color: #1EBE55;
    transform: translateY(-2px);
    color: white;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-dark);
}

.header.scrolled .hamburger {
    color: var(--color-dark);
}

/* ===== HERO SECTION (PARALLAX) ===== */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    /* Extra height for parallax */
    background: url('../images/banner.png') center/cover no-repeat;
    z-index: -2;
    transform: translateY(0);
    will-change: transform;
}

/* .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(163,30,91,0.6) 0%, rgba(0,0,0,0.5) 50%, rgba(163,30,91,0.8) 100%);
    z-index: -1;
} */

.hero-content {
    color: var(--color-white);
    max-width: 800px;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 300;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* ===== ABOUT SECTION ===== */
.about {
    background-color: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-img img {
    border-radius: var(--border-radius);
    transition: transform 0.8s ease;
}

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

.about-text h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--color-gray);
    margin-bottom: 20px;
}

/* ===== SERVICES SECTION ===== */
.services {
    background-color: var(--color-beige);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.service-card {
    background-color: var(--color-white);
    padding: 50px 40px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--color-soft-gold);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--color-beige);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--color-soft-gold);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--color-soft-gold);
    color: var(--color-white);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--color-gray);
}

/* ===== GALLERY SECTION (LIGHTBOX) ===== */
.gallery {
    background-color: var(--color-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 4/5;
    cursor: pointer;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 43, 41, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay i {
    color: var(--color-white);
    font-size: 2.5rem;
    transform: scale(0.5);
    transition: var(--transition);
}

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

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

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

.gallery-overlay-content {
    text-align: center;
}

.gallery-overlay-icon {
    margin-bottom: 10px;
    display: block;
}

.gallery-overlay-title {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-height: 90vh;
    max-width: 90vw;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--color-soft-gold);
    transform: rotate(90deg);
}

/* ===== WHY CHOOSE US ===== */
.why-us {
    background: linear-gradient(rgba(44, 43, 41, 0.95), rgba(44, 43, 41, 0.95)), url('https://images.unsplash.com/photo-1511285560929-80b456fea0bc?auto=format&fit=crop&q=80') center/cover fixed;
    color: var(--color-white);
}

.why-us .section-title p {
    color: #CCC;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.feature-item i {
    font-size: 3rem;
    color: var(--color-soft-gold);
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--color-white);
}

.feature-item p {
    color: #CCC;
    font-size: 0.9rem;
}

/* ===== VIDEO SECTION ===== */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    width: 100%;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ===== PORTFOLIO SPECIFIC ===== */
.inner-page .header {
    background: var(--color-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.inner-page .header .logo,
.inner-page .header .nav-links li a {
    color: var(--color-dark);
}

.text-dark {
    color: var(--color-dark) !important;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--color-gray);
    color: var(--color-gray);
    padding: 8px 25px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.filter-btn.active,
.filter-btn:hover {
    border-color: var(--color-soft-gold);
    color: var(--color-soft-gold);
}

.portfolio-header {
    background-color: var(--color-beige);
    text-align: center;
    padding-top: 150px;
    padding-bottom: 80px;
}

.portfolio-header h1 {
    color: var(--color-dark);
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.portfolio-header .title-divider {
    width: 60px;
    height: 3px;
    background-color: var(--color-soft-gold);
    margin: 0 auto 20px;
}

.portfolio-header p {
    color: var(--color-gray);
    max-width: 600px;
    margin: 0 auto;
}

.portfolio-filter-mb {
    margin-bottom: 50px !important;
}

.hide {
    display: none !important;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background-color: var(--color-beige);
    text-align: center;
}

.cta-box {
    background-color: var(--color-white);
    padding: 80px 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 800px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-box p {
    color: var(--color-gray);
    margin-bottom: 40px;
}

/* ===== FOOTER ===== */
.footer {
    background-color: #000000;
    color: var(--color-white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    /* color: var(--color-white); */
    font-size: 2rem;
    margin-bottom: 20px;
    display: block;
}

.footer-about {
    max-width: 350px;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--color-soft-gold);
    transform: translateY(-3px);
}

.footer-links h4 {
    color: var(--color-white);
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a:hover {
    color: var(--color-soft-gold);
}

.footer-logo img {
    max-height: 60px;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.footer-contact-icon {
    color: var(--color-soft-gold);
    margin-right: 10px;
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
}

/* ===== FLOATING WHATSAPP BUTTON ===== */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: var(--transition);
    animation: bounce 2s infinite;
}

.floating-whatsapp:hover {
    background-color: #1EBE55;
    color: white;
    transform: translateY(-5px) scale(1.1);
    animation: none;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* ===== UTILITIES ===== */
.mt-20 {
    margin-top: 20px !important;
}

.mb-20 {
    margin-bottom: 20px !important;
}

.mb-50 {
    margin-bottom: 50px !important;
}

.text-white {
    color: var(--color-white) !important;
}

.border-white {
    border-color: var(--color-white) !important;
}

.btn-large {
    font-size: 1.1rem;
    padding: 18px 40px;
}

.whatsapp-icon-large {
    font-size: 1.4rem;
    margin-right: 10px;
}

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

/* Delay modifiers */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 992px) {

    .about-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-right .whatsapp-cta {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .header.scrolled .hamburger {
        color: var(--color-dark);
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        padding: 30px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        text-align: center;
    }

    .hero-bg {
        background: url('../images/banner-mobile.png') center/cover no-repeat;
    }

    .nav-links.active li a {
        color: var(--color-dark);
        font-size: 1.1rem;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

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

    .section-padding {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .footer {
        padding: 50px 0 20px;
    }

    .page-header {
        padding-top: 120px !important;
        padding-bottom: 50px !important;
    }

    .page-header h1 {
        font-size: 2.5rem !important;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .hero-btns .btn {
        width: 100%;
        justify-content: center;
    }
}