/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Reveal from left */
.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* Reveal from right */
.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Reveal with scale */
.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Reveal with fade only */
.reveal-fade {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-fade.active {
    opacity: 1;
}

/* Staggered children animation */
.stagger-children > * {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-children.active > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.active > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.active > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.active > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.active > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children.active > *:nth-child(6) { transition-delay: 0.6s; }
.stagger-children.active > *:nth-child(7) { transition-delay: 0.7s; }
.stagger-children.active > *:nth-child(8) { transition-delay: 0.8s; }
.stagger-children.active > *:nth-child(9) { transition-delay: 0.9s; }

.stagger-children.active > * {
    opacity: 1;
    transform: translateY(0);
}

/* Disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale,
    .reveal-fade,
    .stagger-children > * {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ===== MODERN HERO/ABOUT SECTION ===== */
.hero-about-section {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

/* Glass Card Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
    justify-content: center;
}

/* When stats grid is empty/hidden, remove margin */
.stats-grid:empty,
.stats-grid[style*="display: none"] {
    margin-bottom: 0;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--burgundy);
    line-height: 1;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Main Content */
.hero-about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.content-left {
    padding-right: 40px;
}

/* Modern Section Label */
.section-label-modern {
    display: inline-block;
    background: var(--burgundy);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

/* Mega Title - Bold Typography */
.mega-title {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.lead-text {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--text-medium);
    margin-bottom: 20px;
    font-weight: 400;
}

.body-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 40px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--burgundy);
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.feature-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Modern Buttons */
.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-modern {
    display: inline-block;
    padding: 18px 40px;
    border-radius: 50px !important;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.btn-primary-modern {
    background: var(--burgundy);
    color: var(--white);
    border-color: var(--burgundy);
}

.btn-primary-modern:hover {
    background: var(--burgundy-dark);
    color: var(--white);
    border-color: var(--burgundy-dark);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 30px rgba(128, 0, 32, 0.3);
}

.btn-secondary-modern {
    background: transparent;
    color: var(--text-dark);
    border-color: var(--text-dark);
    border-radius: 50px !important;
}

.btn-secondary-modern:hover {
    background: var(--text-dark);
    color: var(--white);
    transform: translateY(-2px) scale(1.02);
    border-radius: 50px !important;
}

/* Image Stack */
.content-right {
    position: relative;
    height: 600px;
}

.image-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.image-card {
    position: absolute;
    overflow: hidden;
    padding: 8px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.img-1 {
    width: 400px;
    height: 500px;
    top: 0;
    left: 0;
    z-index: 2;
}

.img-2 {
    width: 350px;
    height: 450px;
    bottom: 0;
    right: 0;
    z-index: 1;
}

/* Swapped state */
.image-stack.swapped .img-1 {
    width: 350px;
    height: 450px;
    top: auto;
    bottom: 0;
    left: auto;
    right: 0;
    z-index: 1;
}

.image-stack.swapped .img-2 {
    width: 400px;
    height: 500px;
    top: 0;
    bottom: auto;
    left: 0;
    right: auto;
    z-index: 2;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-about-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .content-left {
        padding-right: 0;
    }
    
    .mega-title {
        font-size: 4rem;
    }
    
    .content-right {
        height: 500px;
    }
    
    .img-1 {
        width: 350px;
        height: 450px;
    }
    
    .img-2 {
        width: 300px;
        height: 400px;
    }
    
    .image-stack.swapped .img-1 {
        width: 300px;
        height: 400px;
        top: auto;
        bottom: 0;
        left: auto;
        right: 0;
        z-index: 1;
    }
    
    .image-stack.swapped .img-2 {
        width: 350px;
        height: 450px;
        top: 0;
        bottom: auto;
        left: 0;
        right: auto;
        z-index: 2;
    }
}

@media (max-width: 768px) {
    .hero-about-section {
        padding: 80px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 60px;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .mega-title {
        font-size: 3rem;
    }
    
    .lead-text {
        font-size: 1.2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .content-right {
        height: 400px;
    }
    
    .img-1 {
        width: 280px;
        height: 350px;
    }
    
    .img-2 {
        width: 240px;
        height: 300px;
    }
    
    .image-stack.swapped .img-1 {
        width: 240px;
        height: 300px;
        top: auto;
        bottom: 0;
        left: auto;
        right: 0;
        z-index: 1;
    }
    
    .image-stack.swapped .img-2 {
        width: 280px;
        height: 350px;
        top: 0;
        bottom: auto;
        left: 0;
        right: auto;
        z-index: 2;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .mega-title {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-modern {
        width: 100%;
        text-align: center;
    }
    
    .content-right {
        height: 350px;
    }
    
    .img-1 {
        width: 220px;
        height: 280px;
    }
    
    .img-2 {
        width: 180px;
        height: 240px;
    }
    
    .image-stack.swapped .img-1 {
        width: 180px;
        height: 240px;
        top: auto;
        bottom: 0;
        left: auto;
        right: 0;
        z-index: 1;
    }
    
    .image-stack.swapped .img-2 {
        width: 220px;
        height: 280px;
        top: 0;
        bottom: auto;
        left: 0;
        right: auto;
        z-index: 2;
    }
}

/* ===== COMPANY VALUES SECTION ===== */
.section-values {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    position: relative;
}

.section-values::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--burgundy) 0%, var(--burgundy-light) 100%);
}

.values-header {
    text-align: center;
    margin-bottom: 60px;
}

.values-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.values-subtitle {
    font-size: 1.2rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    justify-content: center;
}

.value-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--burgundy);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(128, 0, 32, 0.15);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
}

.value-icon i {
    font-size: 2rem;
    color: var(--white);
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

.value-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.value-text {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.7;
}

/* Values Grid Responsive Centering */
@media (min-width: 992px) {
    .values-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Center the last 2 items when 5 values */
    .values-grid .value-card:nth-child(4),
    .values-grid .value-card:nth-child(5) {
        grid-column: span 1;
    }
}

@media (max-width: 767px) {
    .section-values {
        padding: 60px 0;
    }
    
    .values-title {
        font-size: 2rem;
    }
    
    .values-subtitle {
        font-size: 1rem;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }
    
    .value-card {
        padding: 25px 15px;
    }
    
    .value-icon {
        width: 50px;
        height: 50px;
    }
    
    .value-icon i {
        font-size: 1.3rem;
    }
    
    .value-title {
        font-size: 1rem;
    }
    
    .value-text {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .values-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
    
    .value-card {
        padding: 30px 20px;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
    }
    
    .value-icon i {
        font-size: 1.5rem;
    }
}

/* ===== SERVICES SECTION ===== */
.section-services {
    padding: 100px 0;
    background: var(--white);
    position: relative;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-label {
    display: inline-block;
    background: var(--burgundy);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.services-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.services-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--burgundy) 0%, var(--burgundy-light) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(128, 0, 32, 0.15);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(128, 0, 32, 0.1) 0%, rgba(128, 0, 32, 0.05) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--burgundy);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: var(--burgundy);
    transform: scale(1.1) rotate(5deg);
}

.service-card:hover .service-icon i {
    color: var(--white);
}

.service-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.service-description {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--burgundy);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-link i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: var(--burgundy-dark);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Services Responsive */
@media (min-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .section-services {
        padding: 60px 0;
    }
    
    .services-title {
        font-size: 2rem;
    }
    
    .services-subtitle {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 30px 25px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 1.5rem;
    }
}

/* ===== PORTFOLIO SECTION ===== */
.section-portfolio {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8f8f8 0%, #ffffff 50%, #f8f8f8 100%);
    position: relative;
    overflow: hidden;
}

.section-portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--burgundy) 0%, var(--burgundy-light) 100%);
}

.portfolio-header {
    text-align: center;
    margin-bottom: 50px;
}

.portfolio-label {
    display: inline-block;
    background: var(--burgundy);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.portfolio-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.portfolio-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Portfolio Filters */
.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 12px 28px;
    border: 2px solid var(--burgundy) !important;
    background: transparent;
    color: var(--burgundy);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px !important;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--burgundy);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(128, 0, 32, 0.3);
    border-radius: 50px !important;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: portfolioFadeIn 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
}

@keyframes portfolioFadeIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Staggered animation delays */
.portfolio-item:nth-child(1) { animation-delay: 0.05s; }
.portfolio-item:nth-child(2) { animation-delay: 0.1s; }
.portfolio-item:nth-child(3) { animation-delay: 0.15s; }
.portfolio-item:nth-child(4) { animation-delay: 0.2s; }
.portfolio-item:nth-child(5) { animation-delay: 0.25s; }
.portfolio-item:nth-child(6) { animation-delay: 0.3s; }
.portfolio-item:nth-child(7) { animation-delay: 0.35s; }
.portfolio-item:nth-child(8) { animation-delay: 0.4s; }
.portfolio-item:nth-child(9) { animation-delay: 0.45s; }
.portfolio-item:nth-child(10) { animation-delay: 0.5s; }

/* Fade out animation for filtering */
.portfolio-item.fade-out {
    animation: portfolioFadeOut 0.3s ease forwards;
}

@keyframes portfolioFadeOut {
    to {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
    }
}

.portfolio-item:nth-child(1),
.portfolio-item:nth-child(4) {
    grid-row: span 2;
    aspect-ratio: auto;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(128, 0, 32, 0.2);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        transparent 40%,
        rgba(128, 0, 32, 0.95) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    width: fit-content;
}

.portfolio-item-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
    font-family: var(--font-heading);
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.portfolio-item:hover .portfolio-item-title {
    transform: translateY(0);
}

.portfolio-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.15s;
}

.portfolio-item:hover .portfolio-location {
    transform: translateY(0);
}

.portfolio-location i {
    font-size: 0.85rem;
}

.portfolio-zoom {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burgundy);
    font-size: 1.2rem;
    opacity: 0;
    transform: scale(0.5) rotate(-45deg);
    transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-zoom {
    opacity: 1;
    transform: scale(1) rotate(0);
}

/* Featured Badge */
.portfolio-featured {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--burgundy);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.portfolio-featured i {
    font-size: 0.7rem;
}

/* Lightbox Styles */
.portfolio-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.portfolio-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-close:hover {
    background: var(--burgundy);
    transform: rotate(90deg);
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-info {
    text-align: center;
    margin-top: 25px;
    color: var(--white);
}

.lightbox-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.lightbox-location {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.lightbox-category {
    display: inline-block;
    background: var(--burgundy);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: capitalize;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: var(--burgundy);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

/* Portfolio Responsive */
@media (max-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .portfolio-item:nth-child(1),
    .portfolio-item:nth-child(4) {
        grid-row: span 1;
        aspect-ratio: 4/3;
    }
}

@media (max-width: 991px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .section-portfolio {
        padding: 60px 0;
    }
    
    .portfolio-title {
        font-size: 2rem;
    }
    
    .portfolio-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .portfolio-overlay {
        padding: 20px;
    }
    
    .portfolio-item-title {
        font-size: 1.2rem;
    }
    
    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .lightbox-prev {
        left: 15px;
    }
    
    .lightbox-next {
        right: 15px;
    }
    
    .lightbox-title {
        font-size: 1.4rem;
    }
}

/* ===== CONTACT SECTION ===== */
.section-contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    position: relative;
    overflow: hidden;
}

.section-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--burgundy) 0%, var(--burgundy-light) 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 60px;
    align-items: start;
}

/* Contact Info Side */
.contact-info {
    color: var(--white);
}

.contact-header {
    margin-bottom: 40px;
}

.contact-label {
    display: inline-block;
    background: var(--burgundy);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.contact-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.contact-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* Contact Cards */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--burgundy);
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    background: var(--burgundy);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-icon i {
    font-size: 1.2rem;
    color: var(--white);
}

.contact-card-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 5px;
}

.contact-card-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.5;
}

.contact-card-content p.secondary {
    font-size: 0.85rem;
    margin-top: 3px;
}

/* Social Links */
.contact-social h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.section-contact .social-links a.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white) !important;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.section-contact .social-links a.social-link i {
    color: var(--white) !important;
    font-size: 1.3rem;
}

.section-contact .social-links a.social-link:hover {
    background: var(--burgundy) !important;
    transform: translateY(-5px) scale(1.1);
}

/* Contact Form Side */
.contact-form-side {
    display: flex;
    flex-direction: column;
}

.form-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 25px;
    font-family: var(--font-heading);
}

/* Contact Form Box */
.contact-form-wrapper {
    background: var(--white);
    border-radius: 20px;
    padding: 35px 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

/* Override styles.css grid layout */
.section-contact .contact-form {
    display: block !important;
    grid-template-columns: none !important;
}

.section-contact .contact-form .form-row {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 20px;
    margin-bottom: 20px;
}

.section-contact .contact-form .form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form .form-group.full-width {
    width: 100%;
}

.contact-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f8f8f8;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--burgundy);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(128, 0, 32, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 18px 40px;
    background: var(--burgundy);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    background: var(--burgundy-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(128, 0, 32, 0.3);
}

.btn-submit .btn-loading {
    display: none;
}

.btn-submit.loading .btn-text,
.btn-submit.loading .fa-paper-plane {
    display: none;
}

.btn-submit.loading .btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.form-message {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 10px;
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Contact Map */
.contact-map {
    margin-top: 60px;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Contact Section Responsive */
@media (max-width: 1200px) {
    .contact-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .contact-form-wrapper {
        padding: 30px;
    }
    
    .form-section-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 991px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-form-side {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }
    
    .form-section-title {
        text-align: center;
    }
}

@media (max-width: 767px) {
    .section-contact {
        padding: 60px 0;
    }
    
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 25px 20px;
    }
    
    .section-contact .contact-form .form-row {
        flex-direction: column;
    }
    
    .section-contact .contact-form .form-row .form-group {
        flex: 1 1 100%;
    }
    
    .form-section-title {
        font-size: 1.5rem;
    }
    
    .contact-map {
        height: 300px;
        margin-top: 40px;
    }
}

/* ===== PORTFOLIO VIEW MORE BUTTON ===== */
.portfolio-view-more {
    text-align: center;
    margin-top: 50px;
}

.btn-outline-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    background: transparent;
    border: 2px solid var(--primary-color, #8B1538);
    color: var(--primary-color, #8B1538);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-color, #8B1538);
    color: white;
}

.btn-outline-primary i {
    transition: transform 0.3s ease;
}

.btn-outline-primary:hover i {
    transform: translateX(5px);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.05rem;
}
