/* CSS Variables */
:root {
    /* Primary Colors */
    --primary-red: #c71616;
    --primary-red-dark: #a31e20;
    --primary-dark: #2f1a1a;
    --primary-dark-light: #422424;
    
    /* Text Colors */
    --text-primary: #333;
    --text-secondary: #666;
    --text-light: #bdc3c7;
    
    /* Background Colors */
    --bg-white: #FFFFFF;
    --bg-light: #f8f9fa;
    --bg-overlay: #f0f0f0;
    
    /* Border Colors */
    --border-light: #e1e1e1;
    --border-dark: #34495e;
    
    /* Success/Error Colors */
    --success-bg: #d4edda;
    --success-text: #155724;
    --success-border: #c3e6cb;
    --error-bg: #f8d7da;
    --error-text: #721c24;
    --error-border: #f5c6cb;
    
    /* Gradient Colors */
    --gradient-start: #f5f7fa;
    --gradient-end: #c3cfe2;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* Typography - Headings */
h1, h2, h3, h4 {
    font-family: 'Orbitron', sans-serif;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-red);
}

body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: var(--bg-white);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-red);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-red);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.7) 33%,
        rgba(187, 48, 51, 0.7) 100%);
    z-index: 1;
}

.hero-background img,
.hero-background video,
.hero-background iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border: none;
}

/* Hero Images Grid (3 images side by side) */
.hero-images {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-image-item {
    flex: 1;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.hero-image-item::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 8px;
    height: 100%;
    z-index: 1;
}

.hero-image-item:last-child::after {
    display: none;
}

.hero-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: grayscale(100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 37, 47, 0.8) 0%, rgba(191, 93, 94, 0.6) 100%);
    z-index: -1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
    animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
}

.highlight {
    color: var(--primary-red);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
    animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s forwards;
    opacity: 0;
}

.btn-primary, .btn-secondary {
    padding: 15px 35px;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary-red);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-red-dark);
    transform: translateY(-3px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    transform: translateY(-3px);
}

/* Services Section */
.services {
    padding: 0;
    background: var(--bg-light);
}

.services .section-header {
    padding: 80px 20px 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    max-width: 100%;
    width: 100%;
}

.service-card {
    background: white;
    padding: 0;
    text-align: center;
    transition: transform 0.3s ease;
    overflow: hidden;
    position: relative;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-red);
    clip-path: inset(0 100% 100% 0);
    transition: clip-path 0.8s ease;
    pointer-events: none;
    z-index: 10;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 0, 0, 0.6);
    z-index: 1;
    transition: background 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card:hover::before {
    clip-path: inset(0 0 0 0);
}

.service-card:hover::after {
    background: rgba(0, 0, 0, 0.4);
}

.service-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-icon {
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 2rem;
    color: white;
    margin: 0 2rem 1rem;
    position: relative;
    z-index: 2;
}

.service-card p {
    color: white;
    line-height: 1.6;
    padding: 0 8rem;
    position: relative;
    z-index: 2;
    font-size: 1rem;
}

/* About Section */
.about {
    padding: 80px 0 0;
    background: var(--bg-white);
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
    padding: 2rem 0 5rem;
}

.about-text {
    text-align: left;
}

.about-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.project-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--bg-gray);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.project-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-red);
    color: white;
    transition: transform 0.3s ease;
}

.project-icon svg {
    width: 28px;
    height: 28px;
}

.project-content h4 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.project-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 60px 0;
    max-width: 100%;
    width: 100%;
}

.feature {
    background: linear-gradient(135deg, rgba(191, 93, 94, 0.9), rgba(191, 93, 94, 0.7));
    padding: 2.5rem;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: transform 0.3s ease;
}

.feature:nth-child(1) {
    background: rgb(19, 19, 19);
}

.feature:nth-child(2) {
    background: rgb(179, 25, 28);
}

.feature:nth-child(3) {
    background: rgb(82, 0, 3);
}

.feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    align-self: flex-start;
    color: white;
    margin-bottom: auto;
}

.feature-icon svg {
    width: 48px;
    height: 48px;
}

.feature-content {
    text-align: left;
    margin-top: auto;
}

.feature-content h4 {
    color: white;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.5;
}

/* Carousel */
.carousel{
    margin: 0 0 2rem;
}

.clients-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 60px 0;
}

.clients-carousel::before,
.clients-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.carousel-track {
    display: flex;
    animation: scroll 20s linear infinite;
    width: fit-content;
}

.carousel-track:hover {
    animation-play-state: paused;
}

.carousel-item {
    flex-shrink: 0;
    width: 250px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}

.carousel-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.carousel-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.about-owners-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
    padding: 80px 0 120px;
}

.about-owners-header {
    text-align: left;
}

.about-owners-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

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

.owner-card {
    display: flex;
    flex-direction: column;
}

.owner-image {
    width: 100%;
    height: 350px;
    margin: 0 0 1rem;
    overflow: hidden;
}

.owner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.owner-card h4 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin: 0 0 0.5rem;
    font-weight: 900;
}

.owner-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}


/* Contact Section */
.contact {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.contact-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.contact-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(70, 11, 11, 0.8);
    z-index: 1;
}

.contact-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-left .section-header {
    text-align: left;
    margin-bottom: 3rem;
}

.contact-left .section-header h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.contact-left .section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: white;
}

.contact-left .section-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    font-size: 1.1rem;
}

.contact-item svg {
    color: white;
    flex-shrink: 0;
}

.contact-form {
    background: white;
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-light);
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Open Sans', Arial, sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background: var(--primary-red);
    color: white;
    padding: 15px 30px;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-family: 'Open Sans', Arial, sans-serif;
}

.btn-submit:hover {
    background: var(--primary-red-dark);
    transform: translateY(-2px);
    
}


.btn-submit:active {
    transform: translateY(0);
}

/* Footer */
.footer {
    background: rgb(19, 19, 19);;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-left {
    flex: 1;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--primary-red);
    font-size: 1.2rem;
    text-align: right;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 80px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-left p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 500px;
}

.footer-section ul {
    list-style: none;
    text-align: left;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.footer-section ul li a:hover {
    color: var(--primary-red);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 0;
    text-align: right;
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    h2 {
        font-size: 2rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    /* Hero images responsive - vertical layout */
    .hero-images {
        flex-direction: column;
    }

    .hero-image-item {
        width: 100%;
        height: 33.33%;
    }

    .hero-image-item::after {
        width: 100%;
        height: 8px;
        top: auto;
        bottom: 0;
        right: 0;
    }

    .hero-image-item:last-child::after {
        display: none;
    }

    .hero-container {
        text-align: center;
        padding: 0 20px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 0 40px;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 40px 0;
    }

    .feature {
        min-height: 300px;
        padding: 2rem;
    }

    .feature-icon svg {
        width: 36px;
        height: 36px;
    }

    .feature-content h4 {
        font-size: 1.5rem;
    }

    .feature-content p {
        font-size: 0.9rem;
    }

    /* Projects grid responsive */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-item {
        flex-direction: column;
        gap: 1rem;
    }

    .project-icon {
        width: 56px;
        height: 56px;
    }

    .project-icon svg {
        width: 32px;
        height: 32px;
    }

    .project-content h4 {
        font-size: 1.1rem;
    }

    .about-owners-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 120px 0;
    }

    .about-owners {
        grid-template-columns: 1fr;
        gap: 6rem;
    }

    .owner-image {
        height: 500px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-buttons {
        justify-content: center;
        gap: 1rem;
    }

    .btn-primary, .btn-secondary {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .video-item video {
        height: 180px;
    }
    
    .services-videos h3 {
        font-size: 1.6rem;
    }
    
    /* Clients carousel responsive */
    .carousel{
        margin: 2rem 0 4rem;
    }

    .carousel-item {
        width: 200px;
        height: 120px;
        padding: 0 30px;
    }
    
    .clients-carousel::before,
    .clients-carousel::after {
        width: 80px;
    }

    /* Adapt fade animations for mobile */
    .fade-in {
        transform: translateY(30px);
    }

    .fade-in-left {
        transform: translateX(-30px);
    }

    .fade-in-right {
        transform: translateX(30px);
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

@media (max-width: 480px) {
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-right {
        align-items: flex-start;
    }

    .footer-section h4 {
        text-align: left;
    }

    .footer-bottom {
        text-align: left;
    }

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

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-primary, .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .service-card {
        padding: 0;
        min-height: 350px;
    }

    .service-card h3 {
        font-size: 1.2rem;
        margin: 1rem 0.8rem 0.8rem;
    }

    .service-card p {
        font-size: 0.9rem;
        padding: 0 1rem 1rem;
    }

    .contact-info h3 {
        font-size: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
    
    /* Clients carousel mobile */
    .carousel-item {
        width: 150px;
        height: 100px;
        padding: 0 20px;
    }
    
    .clients-carousel {
        padding: 40px 0;
    }
    
    .clients-carousel::before,
    .clients-carousel::after {
        width: 50px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(120px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.fade-in-left {
    opacity: 0;
    transform: translateX(-150px);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.fade-in-right {
    opacity: 0;
    transform: translateX(150px);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Hero Content Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Success/Error Messages */
.message {
    padding: 1rem;
    margin-bottom: 1rem;
    display: none;
}

.message.success {
    background: var(--success-bg);
    color: var(--success-text);
    border: 1px solid var(--success-border);
}

.message.error {
    background: var(--error-bg);
    color: var(--error-text);
    border: 1px solid var(--error-border);
}

/* Service Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.modal.closing {
    opacity: 0;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    cursor: pointer;
}

.modal-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 90vh;
    max-height: 90vh;
    background: white;
    overflow: hidden;
    animation: modalSlideUp 0.5s ease;
    transition: height 0.3s ease, max-height 0.3s ease;
}

.modal-container.expanded {
    height: 100vh;
    max-height: 100vh;
}

.modal.closing .modal-container {
    animation: modalSlideDown 0.4s ease forwards;
}

@keyframes modalSlideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes modalSlideDown {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(100%);
    }
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--primary-red);
    border: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.modal-close:hover {
    background: var(--primary-red-dark);
}

.modal-close:hover svg {
    color: white;
}

.modal-close svg {
    color: white;
    transition: color 0.3s ease;
}

.modal-content {
    display: flex;
    width: 100%;
    height: 100%;
}

.modal-info {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    padding: 4rem 3rem;
    background: var(--bg-light);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.modal-title {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.modal-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.modal-features {
    margin-top: 1.5rem;
    padding-left: 1.5rem;
    list-style-type: disc;
}

.modal-features li {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.modal-features li::marker {
    color: var(--primary-red);
}

.modal-subsection:not(:first-child) {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-light);
}

.subsection-title {
    font-size: 1.8rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-weight: 600;
}

.modal-subsection p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.modal-gallery {
    flex: 1;
    padding: 4rem 3rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    overflow-y: auto;
    align-content: start;
}

.modal-gallery img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Mobile Responsive for Modal */
@media (max-width: 768px) {
    .modal-content {
        flex-direction: column;
        overflow-y: auto;
        height: 100%;
    }

    .modal-info {
        flex: 0 0 auto;
        max-width: 100%;
        position: relative;
        height: auto;
        padding: 3rem 2rem 2rem;
    }

    .modal-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .modal-description {
        font-size: 1rem;
    }

    .modal-gallery {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 1.5rem;
        overflow-y: initial;
    }

    .modal-gallery img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .modal-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .modal-info {
        padding: 2.5rem 1.5rem 1.5rem;
    }

    .modal-title {
        font-size: 1.6rem;
    }

    .modal-gallery {
        padding: 4rem 1.5rem;
        gap: 1rem;
    }
}