html {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}
/* --- ГЛОБАЛНИ НАСТРОЙКИ --- */
:root {
    --primary: #ff6b00; /* Индустриално оранжево */
    --logo-gold: #d4af37; /* PRO WELD gold */
    --logo-gold-dark: #b8860b;
    --logo-gold-gradient: linear-gradient(90deg, #f0c674 0%, #b8860b 100%);
    --dark: #1a1a1a;
    --light: #f4f4f4;
    --text-gray: #666;
    --white: #ffffff;
    --font-head: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

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

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- НАВИГАЦИЯ --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: #181616;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 45px;
    width: auto;
}

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

.nav-links a {
    font-weight: 500;
    font-size: 15px;
    text-transform: uppercase;
    color: rgb(255, 145, 19);
    transition: color 0.3s;
}

.nav-links a:hover { color: var(--primary); }

/* specific nav items use logo gold gradient */
.nav-links a[href="index.html"],
.nav-links a[href="services.html"],
.nav-links a[href="galery.html"] {
    display: inline-block;
    background: var(--logo-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}
.nav-links a[href="index.html"]:hover,
.nav-links a[href="services.html"]:hover,
.nav-links a[href="galery.html"]:hover {
    opacity: 0.8;
}

.btn-contact {
    padding: 10px 25px;
    background: var(--white);
    color: var(--dark) !important;
    border-radius: 2px;
    transition: 0.3s;
}
.btn-contact:hover { background: var(--logo-gold); }

/* --- HERO СЕКЦИЯ --- */
.hero {
    height: 90vh; /* Почти цял екран */
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('2.jpg');
    background-size: cover;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(images/fon.png);
    background-position: center;
    background-attachment: fixed; /* Parallax ефект */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 60px;
}

.hero-content h4 {
    color: var(--logo-gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: 700;
    animation: slideDown 1s ease;
}

.hero-content h1 {
    font-family: var(--font-head);
    font-size: 65px;
    line-height: 1.1;
    margin-bottom: 30px;
    text-transform: uppercase;
    animation: fadeIn 1.5s ease;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: slideUp 1s ease 0.5s backwards; /* Леко забавяне */
}

.btn-primary, .btn-secondary {
    padding: 15px 35px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    border: 2px solid var(--logo-gold);
    transition: 0.3s;
    cursor: pointer;
}

.btn-primary {
    background: var(--logo-gold);
    color: var(--white);
}
.btn-primary:hover {
    background: transparent;
    color: var(--logo-gold);
}

.btn-secondary {
    border-color: var(--white);
    color: var(--white);
}
.btn-secondary:hover {
    background: var(--white);
    color: var(--dark);
}

/* --- ПЛУВАЩИ КАРТИ (Floating Cards) --- */
.info-cards-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: -80px; /* Издърпваме ги нагоре върху снимката */
    padding: 0 5%;
    position: relative;
    z-index: 10;
}

.info-card {
    background: var(--white);
    padding: 40px 30px;
    width: 350px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
    border-bottom: 3px solid transparent;
}

.info-card:hover, .info-card.active {
    transform: translateY(-10px);
    border-bottom: 3px solid var(--logo-gold);
}

.info-card i {
    font-size: 40px;
    color: var(--logo-gold); /* fallback */
    margin-bottom: 20px;
    display: inline-block;
    background: var(--logo-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.info-card h3 {
    font-family: var(--font-head);
    font-size: 20px;
    margin-bottom: 10px;
}

.info-card p {
    font-size: 14px;
    color: var(--text-gray);
}

/* --- ABOUT SECTION --- */
.about-section {
    padding: 100px 5%;
    background: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.subtitle {
    color: var(--logo-gold);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
}

.about-text h2 {
    font-family: var(--font-head);
    font-size: 42px;
    margin-bottom: 25px;
    line-height: 1.2;
}

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

.text-link {
    color: var(--dark);
    font-weight: 700;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 2px;
    transition: 0.3s;
}
.text-link:hover { color: var(--primary); }

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 20px 20px 0px rgba(0,0,0,0.05); /* Декоративна сянка */
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--logo-gold-gradient); /* logo gold gradient */
    color: var(--white);
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.18); /* softer gold shadow */
}

.experience-badge .years {
    font-size: 40px;
    font-weight: 700;
    font-family: var(--font-head);
    line-height: 1;
}
.experience-badge .text {
    font-size: 14px;
    line-height: 1.2;
    font-weight: 500;
}

/* --- SERVICES --- */
.services {
    padding: 140px 5% 100px;
    background: #f8f9fa; /* Много светло сиво */
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h2 {
    font-family: var(--font-head);
    font-size: 40px;
}
.divider {
    width: 60px;
    height: 4px;
    background: var(--logo-gold);
    margin: 15px auto;
}

.service-item {
    background: var(--white);
    transition: 0.3s;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.srv-img {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.srv-info {
    padding: 30px;
}

.srv-info h3 {
    font-family: var(--font-head);
    font-size: 22px;
    margin-bottom: 10px;
}

.srv-info p {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 15px;
}

.srv-info a {
    display: inline-block;
    background: var(--logo-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    transition: opacity 0.2s ease;
}
.srv-info a:hover {
    opacity: 0.8;
}

/* --- FOOTER --- */
footer {
    background: #111;
    color: #aaa;
    padding: 60px 5% 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 1fr 1.8fr;
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto 40px;
    align-items: stretch;
}

.footer-col {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.footer-col h3 {
    color: var(--white);
    font-family: var(--font-head);
    margin-bottom: 20px;
    font-size: 20px;
}
.footer-col h3 span { color: var(--primary); }

.footer-col p { margin-bottom: 10px; }

.map-col {
    display: flex;
    flex-direction: column;
}

.map-wrap {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    height: 220px;
    margin-top: auto;
}

.footer-col iframe {
    width: 100%;
    height: 100%;
    min-height: 220px;
    border: 0;
    border-radius: 12px;
    display: block;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
}

/* --- МОБИЛНА ВЕРСИЯ --- */
.burger { display: none; cursor: pointer; }
.burger div {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 5px;
    transition: 0.3s;
}
.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .line2 {
    opacity: 0;
}
.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

@media screen and (max-width: 1024px) {
    .info-cards-container {
        margin-top: 30px; /* Махаме ефекта на застъпване при таблети */
        flex-wrap: wrap;
    }
    .info-card { width: 100%; }
    
    .hero { height: auto; padding: 150px 0 100px; }
}

@media screen and (max-width: 768px) {
    /* Мобилно меню */
    .nav-links {
        position: absolute;
        right: 0px;
        top: 70px;
        background: var(--white);
        flex-direction: column;
        width: 100%;
        padding: 20px 0;
        transform: translateX(100%);
        transition: 0.4s ease-in;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    .nav-active { transform: translateX(0%); }
    
    .burger { display: block; }
    
    /* Hero */
    .hero-content h1 { font-size: 40px; }
    .hero-btns { flex-direction: column; padding: 0 40px; }
    
    /* About */
    .about-content { grid-template-columns: 1fr; }
    .experience-badge { left: 0; bottom: -20px; width: 100%; justify-content: center; }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .map-wrap,
    .footer-col iframe {
        min-height: 200px;
        height: 200px;
    }

    /* Gallery */
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
    .gallery img {
        height: 150px;
    }
    .modal-content {
        width: 100%;
        height: 100vh;
        max-width: none;
        max-height: none;
        object-fit: contain;
    }
    .nav-btn {
        font-size: 24px;
        padding: 8px;
    }
    .close {
        font-size: 30px;
        right: 20px;
    }

    /* Services */
    .timeline::before {
        left: 40px;
    }
    .timeline-item {
        margin-bottom: 40px;
    }
    .timeline-item .timeline-content {
        text-align: left !important;
        padding-left: 100px !important;
        padding-right: 20px !important;
        width: auto !important;
    }
    .timeline-marker {
        left: 40px;
        width: 40px;
        height: 40px;
        font-size: 16px;
        transform: translateX(-50%);
    }
}

/* --- АНИМАЦИИ (Keyframes) --- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- ГАЛЕРИЯ --- */
.gallery-section {
    padding: 100px 5% 50px;
    background-color: var(--light);
    text-align: center;
}

.gallery-section h2 {
    font-family: var(--font-head);
    font-size: 36px;
    margin-bottom: 10px;
    color: var(--dark);
}

.gallery-section p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

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

.modal-content {
    display: block;
    width: 80%;
    max-width: 700px;
    max-height: 80vh;
    object-fit: contain;
    transition: transform 0.2s ease, opacity 0.3s ease;
    transform: scale(1);
    transform-origin: center center;
    touch-action: pan-y pinch-zoom;
    cursor: zoom-in;
    pointer-events: auto;
}

.modal-content.zoomed {
    cursor: zoom-out;
}

.modal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 30;
    pointer-events: auto;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 30px;
    padding: 10px;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 30;
}

.nav-btn:hover {
    background: rgba(0,0,0,0.8);
}

.prev {
    left: 15px;
}

.next {
    right: 15px;
}

/* --- SERVICES HERO --- */
.services-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('images/services-bg.jpg'); /* Assuming a background image, or use the same */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* --- DETAILED SERVICES --- */
.detailed-services {
    padding: 100px 5%;
    background: var(--light);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary), #ff8533);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
    margin-right: 60px;
    width: 40%;
    text-align: right;
    padding-left: 30px;
    padding-right: 30px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
    margin-left: 60px;
    width: 40%;
    text-align: left;
    padding-left: 30px;
    padding-right: 30px;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }
.timeline-item:nth-child(6) { animation-delay: 0.6s; }
.timeline-item:nth-child(7) { animation-delay: 0.7s; }

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    transform: translateX(-50%);
    box-shadow: 0 0 0 4px var(--light), 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1;
}

.timeline-content {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.timeline-content h3 {
    font-family: var(--font-head);
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--dark);
}

.timeline-content h3 i {
    margin-right: 10px;
    color: var(--primary);
}

.timeline-content p {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.6;
    
}

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

/* --- SERVICES GRID --- */
.services {
    padding: 120px 5% 100px;
    background: var(--light);
}

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

@media (max-width: 768px) {
    .services {
        padding: 140px 5% 40px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .services {
        padding: 160px 5% 30px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.service-item {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    text-decoration: none;
    color: inherit;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.service-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-item h3 {
    padding: 20px;
    font-family: var(--font-head);
    font-size: 20px;
    color: var(--dark);
    margin: 0;
}

/* --- SERVICE DETAIL --- */
.service-detail {
    padding: 0;
}

.service-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: skewY(-3deg);
    transform-origin: center;
}

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

.hero-overlay {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    transform: skewY(3deg);
}

.hero-overlay h1 {
    font-family: var(--font-head);
    font-size: 48px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin: 0;
}

.service-content {
    padding: 80px 5% 40px;
    background: var(--white);
}

.service-content .container {
    max-width: 800px;
    margin: 0 auto;
}

.service-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-gray);
    text-align: left;
    margin: 0;
}

/* Responsive adjustments for service detail */
@media (max-width: 768px) {
    .service-hero {
        height: 50vh;
        min-height: 300px;
    }
    
    .hero-overlay h1 {
        font-size: 36px;
    }
    
    .service-content {
        padding: 60px 5% 40px;
    }
}

@media (max-width: 480px) {
    .service-hero {
        height: 40vh;
        min-height: 250px;
    }
    
    .hero-overlay h1 {
        font-size: 28px;
    }
    
    .service-content {
        padding: 40px 5% 30px;
    }
    
    .service-content p {
        font-size: 16px;
        line-height: 1.6;
    }
}

/* --- GALLERY CATEGORIES --- */
.gallery-categories {
    padding: 120px 5% 40px;
    background: var(--light);
}

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

.category-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.category-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    color: var(--white);
    transition: background 0.3s;
}

.category-item:hover .category-overlay {
    background: rgba(255, 107, 0, 0.8);
}

.category-overlay h3 {
    font-family: var(--font-head);
    font-size: 28px;
    margin-bottom: 15px;
}

.category-overlay p {
    font-size: 18px;
    opacity: 0.9;
}

/* Responsive for categories grid */
@media screen and (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media screen and (max-width: 768px) {
    .gallery-categories {
        padding: 140px 5% 40px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-overlay h3 {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .category-overlay p {
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .gallery-categories {
        padding: 160px 5% 30px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .category-item img {
        height: 250px;
    }
    
    .category-overlay h3 {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .category-overlay p {
        font-size: 14px;
    }
}
@media screen and (max-width: 480px) {
    .timeline-item .timeline-content {
        padding-left: 90px !important;
        padding: 20px;
        width: auto !important;
    }
    .timeline-marker {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    .timeline::before {
        left: 35px;
    }
    .timeline-marker {
        left: 35px;
    }
}

@media screen and (max-width: 768px) {
    
    /* Правим снимката да заема почти целия екран */
    .modal-content {
        width: 100% !important;     /* Важно: заема цялата ширина */
        max-width: 95vw !important; /* Оставя съвсем малко място отстрани */
        height: auto;
        max-height: 80vh;
        object-fit: contain;
        pointer-events: auto; /* Връщаме кликането за самата снимка */
    }

    /* Наместваме контейнера */
    .modal-container {
        padding: 0;
        width: 100%;
    }

    /* Преместваме бутоните в самите ъгли, за да не пречат */
    .nav-btn {
        padding: 15px 12px;
        background: rgba(0,0,0,0.4);
        font-size: 24px;
        z-index: 2002; /* Най-отгоре */
        pointer-events: auto;
    }

    .prev { left: 0; }
    .next { right: 0; }

    /* Бутонът за затваряне */
    .close {
        top: 10px;
        right: 15px;
        font-size: 45px;
        z-index: 2003;
        color: #fff;
        text-shadow: 0 0 5px rgba(0,0,0,0.5); /* Сянка за по-добра видимост */
    }
}