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

:root {
    --primary-orange: #FF6B35;
    --primary-blue: #2E5EAA;
    --dark-blue: #1C3A6E;
    --light-orange: #FFa270;
    --white: #FFFFFF;
    --black: #1A1A1A;
    --gray-light: #F5F5F5;
    --gray-medium: #E0E0E0;
    --gray-dark: #666666;
    --text-dark: #333333;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.2);
}

/* Touch optimizations for mobile */
button, .btn, a, .portfolio-item, .nav-link {
    -webkit-tap-highlight-color: rgba(255, 107, 53, 0.2);
    -webkit-touch-callout: none;
    touch-action: manipulation;
}

/* Smooth scrolling for all devices */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

/* Navigation */
.navbar {
    background: var(--white);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow);
    border-bottom: 3px solid var(--primary-orange);
}

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

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

.logo-img {
    height: 120px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--black);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

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

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

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

.book-btn {
    background: var(--primary-orange);
    color: var(--white) !important;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.3);
}

.book-btn::after {
    display: none;
}

.book-btn:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 94, 170, 0.3);
}

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

.nav-social a {
    color: var(--primary-blue);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--gray-light);
}

.nav-social a:hover {
    color: var(--white);
    background: var(--primary-orange);
    transform: translateY(-2px);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: 
        linear-gradient(135deg, rgba(46, 94, 170, 0.4) 0%, rgba(28, 58, 110, 0.5) 100%),
        url('https://cloudimg-professional-services.s3.us-east-1.amazonaws.com/throne-services/photos/WhatsApp%20Image%202025-10-02%20at%2013.15.29.jpeg');
    background-size: 110%;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 115px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 2;
    position: relative;
    padding: 3rem;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    backdrop-filter: blur(3px);
    max-width: 800px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    background: linear-gradient(45deg, var(--white), var(--light-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.hero-location {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 3rem;
}

.btn {
    padding: 15px 35px;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: var(--primary-orange);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
    background: var(--light-orange);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

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

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-3px);
}

.hero-features {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    opacity: 0.95;
}

.hero-feature svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-orange);
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 10px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray-dark);
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}

.services-grid .service-card:nth-child(4) {
    grid-column: 1 / 3;
    grid-row: 2;
    justify-self: center;
}

.services-grid .service-card:nth-child(5) {
    grid-column: 2 / 4;
    grid-row: 2;
    justify-self: center;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
    border-top: 3px solid var(--primary-orange);
    width: 100%;
    max-width: 350px;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

.service-icon {
    background: linear-gradient(135deg, var(--primary-orange), var(--light-orange));
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon svg {
    width: 35px;
    height: 35px;
    fill: var(--white);
}

.service-card h3 {
    color: var(--black);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--gray-dark);
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

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

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

.about-text h2 {
    color: var(--black);
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-orange);
}

.about-text p {
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: var(--gray-light);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature:hover {
    background: linear-gradient(135deg, var(--primary-orange), var(--light-orange));
    color: var(--white);
    transform: translateX(5px);
}

.feature:hover svg {
    fill: var(--white);
}

.feature svg {
    fill: var(--primary-blue);
}

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-image-container {
    text-align: center;
}

.about-image-container img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow);
    display: block;
}

.image-caption {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--primary-blue);
    font-weight: 600;
    text-align: center;
}

/* Portfolio Section */
.portfolio {
    padding: 80px 0;
    background: var(--gray-light);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

.portfolio-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

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

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

.portfolio-content {
    padding: 20px;
}

.portfolio-content h3 {
    color: var(--black);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.portfolio-content p {
    color: var(--gray-dark);
}

/* Reviews Section */
.reviews {
    padding: 80px 0;
    background: var(--white);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
    max-width: 1200px;
    margin: 0 auto 50px auto;
}

.review-card {
    background: var(--gray-light);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-orange);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

.review-rating {
    margin-bottom: 15px;
}

.star {
    color: var(--primary-orange);
    font-size: 1.2rem;
}

.review-text {
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.review-author strong {
    display: block;
    color: var(--black);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.review-author span {
    color: var(--primary-blue);
    font-size: 0.9rem;
}

.review-summary {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 40px 0;
    border-top: 1px solid var(--gray-medium);
}

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

.summary-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 5px;
}

.summary-label {
    color: var(--gray-dark);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
}

.contact .section-title {
    color: var(--white);
}

.contact .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--white);
}

.contact-info p {
    margin-bottom: 30px;
    line-height: 1.8;
    opacity: 0.95;
}

.contact-details {
    display: grid;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    background: var(--primary-orange);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary-orange);
}

.contact-item a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-orange);
}

.emergency {
    color: var(--primary-orange);
    font-weight: 600;
    margin-top: 10px;
}

.service-areas {
    margin-top: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.service-areas h4 {
    color: var(--primary-orange);
    margin-bottom: 10px;
}

.contact-map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 100%;
    height: 400px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    max-height: 400px;
}

.cta-section {
    text-align: center;
    padding: 50px 0 0;
}

.cta-section h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo {
    height: 70px;
    width: auto;
    margin-bottom: 15px;
    mix-blend-mode: screen;
    filter: invert(1) brightness(1.2);
}

.footer-info p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-orange);
}

.footer-social {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.footer-social a {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.footer-social a:hover {
    transform: translateY(-3px);
}

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

/* Responsive Design */
@media (max-width: 1024px) and (min-width: 769px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .logo-img {
        height: 95px;
    }

    .nav-social {
        display: none;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 100px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px var(--shadow);
        padding: 20px 0;
    }

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

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

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

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        gap: 15px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .services-grid .service-card:nth-child(4),
    .services-grid .service-card:nth-child(5) {
        grid-column: 1;
        grid-row: auto;
        justify-self: center;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-images {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image-container img {
        height: 250px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .review-summary {
        flex-direction: column;
        gap: 30px;
    }

    .nav-social {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

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

    .hero-location {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 8px;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero-buttons {
        width: 100%;
        gap: 15px;
        margin-bottom: 4rem;
    }

    .hero-features {
        gap: 20px;
        font-size: 0.9rem;
    }

    .hero-feature {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .hero-feature svg {
        width: 20px;
        height: 20px;
    }

    .service-card {
        padding: 20px;
        margin-bottom: 20px;
    }

    .service-card h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .service-card p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .service-card ul li {
        font-size: 0.85rem;
        padding: 3px 0;
    }

    .about-text h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .about-text h3 {
        font-size: 1.2rem;
        margin: 1.5rem 0 0.8rem 0;
    }

    .about-text p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .about-features {
        gap: 15px;
        margin-top: 20px;
    }

    .about-features .feature {
        font-size: 0.85rem;
    }

    .about-image-container img {
        height: 220px;
    }

    .image-caption {
        font-size: 0.8rem;
        margin-top: 10px;
    }

    .review-card {
        padding: 20px;
        margin-bottom: 20px;
    }

    .review-text {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .review-author strong {
        font-size: 0.9rem;
    }

    .review-author span {
        font-size: 0.8rem;
    }

    .contact-item {
        padding: 15px;
        margin-bottom: 15px;
    }

    .contact-item h4 {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }

    .contact-item p,
    .contact-item a {
        font-size: 0.9rem;
    }

    .contact-map {
        height: 300px;
        margin-top: 20px;
    }

    .contact-map iframe {
        height: 300px;
    }

    .cta-section {
        padding: 30px 0;
    }

    .cta-section h3 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .cta-section p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .footer-content {
        padding: 20px 0;
    }

    .footer-info p {
        font-size: 0.9rem;
    }

    .footer-links {
        margin: 20px 0;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-links a {
        font-size: 0.9rem;
        padding: 8px 12px;
    }

    .footer-bottom {
        padding-top: 15px;
        font-size: 0.8rem;
    }

    .container {
        padding: 0 15px;
    }

    .services,
    .about,
    .portfolio,
    .reviews,
    .contact {
        padding: 50px 0;
    }

    .nav-container {
        padding: 0 15px;
    }

    .logo-img {
        height: 85px;
    }
}

/* Privacy Policy Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: auto;
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.close {
    color: var(--text-secondary);
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: var(--primary-orange);
}

.privacy-content {
    line-height: 1.6;
    color: var(--text-primary);
}

.privacy-content h3 {
    color: var(--primary-blue);
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.privacy-content ul {
    margin: 10px 0 20px 20px;
}

.privacy-content li {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 20px;
        max-height: 75vh;
    }
    
    .close {
        font-size: 24px;
        right: 15px;
        top: 10px;
    }
}

/* Portfolio Overlay */
.portfolio-item {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(46, 94, 170, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.portfolio-overlay-content {
    text-align: center;
    color: white;
}

.portfolio-overlay-content span {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
}

.portfolio-overlay-content svg {
    opacity: 0.8;
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    overflow: auto;
}

.gallery-modal-content {
    background-color: var(--white);
    margin: 2% auto;
    padding: 20px;
    border-radius: 15px;
    width: 95%;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.gallery-close {
    color: var(--text-secondary);
    float: right;
    font-size: 32px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10;
}

.gallery-close:hover,
.gallery-close:focus {
    color: var(--primary-orange);
}

.gallery-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.gallery-main {
    position: relative;
    text-align: center;
}

.gallery-main img {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px var(--shadow);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.gallery-nav button {
    background: rgba(46, 94, 170, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-nav button:hover {
    background: var(--primary-orange);
    transform: scale(1.1);
}

.gallery-nav button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.gallery-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-height: 150px;
    overflow-y: auto;
    padding: 10px;
    background: var(--light-gray);
    border-radius: 10px;
}

.gallery-thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.gallery-thumbnail:hover {
    border-color: var(--primary-orange);
    transform: scale(1.05);
}

.gallery-thumbnail.active {
    border-color: var(--primary-blue);
    transform: scale(1.1);
}

.gallery-counter {
    text-align: center;
    margin-top: 15px;
    color: var(--text-secondary);
    font-weight: 500;
}

@media (max-width: 768px) {
    .gallery-modal-content {
        width: 98%;
        margin: 1% auto;
        padding: 15px;
        max-height: 95vh;
    }
    
    .gallery-main img {
        max-height: 50vh;
    }
    
    .gallery-nav button {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .gallery-nav {
        padding: 0 10px;
    }
    
    .gallery-thumbnails {
        max-height: 100px;
    }
    
    .gallery-thumbnail {
        width: 60px;
        height: 45px;
    }
}