 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Arial', sans-serif;
        }

        body {
            background-color: #f5f5f5;
            color: #333;
            line-height: 1.6;
        }

        header {
            display: flex;
            background: linear-gradient(135deg, #006400, #228B22);
            color: white;
            padding: 1rem 0;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .logo-icon {
            font-size: 2.5rem;
        }

        .logo-text h1 {
            font-size: 3rem;
            margin-bottom: 5px;
        }

        .logo-text p {
            font-size: 1rem;
            opacity: 0.9;
        }

        .nav-container {
           margin-left: auto;
        }
       
        nav ul {
            display: flex;
            list-style: none;
            gap: 20px;
        }

        nav a {
            color: white;
            text-decoration: none;
            font-weight: bold;
            transition: color 0.3s;
            padding: 5px 10px;
            border-radius: 3px;
        }

        nav a:hover {
            background-color: rgba(255,255,255,0.2);
        }

        .hero {
            background: url('../img/pogran1.jpg') no-repeat center center;
            background-size: cover;
            width: 100%;
            height: 900px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: white;
            position: relative;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.4);
        }

        .hero-content {
            position: relative;
            z-index: 1;
            max-width: 900px;
            padding: 0 20px;
        }

        .hero h2 {
            font-size: 2.5rem;
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
        }

        .hero p {
            font-size: 1.5rem;
            margin-bottom: 20px;
        }

        .btn {
            display: inline-block;
            background: #006400;
            color: white !important;
            padding: 12px 30px;
            border: none;
            border-radius: 5px;
            text-decoration: none;
            font-weight: bold;
            transition: background 0.3s;
            cursor: pointer;
        }

        .btn:hover {
            background: #228B22;
        }

        section {
            padding: 60px 0;
        }

        .section-title {
            text-align: center;
            margin-bottom: 40px;
            color: #006400;
            font-size: 2rem;
        }

        .about-content {
            display: flex;
            align-items: center;
            gap: 40px;
            flex-wrap: wrap;
        }

        .about-text {
            flex: 1;
            min-width: 300px;
        }

        .about-image {
            flex: 1;
            min-width: 300px;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .about-image img {
            width: 100%;
            height: auto;
            display: block;
        }

        .activities-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .activity-card {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s;
            height: 100%;
            display: flex;
            flex-direction: column;
            cursor: pointer;
        }

        .activity-card:hover {
            transform: translateY(-10px);
        }

        .activity-image {
            height: 200px;
            overflow: hidden;
        }

        .activity-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }

        .activity-card:hover .activity-image img {
            transform: scale(1.1);
        }

        .activity-content {
            padding: 20px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .activity-content h3 {
            color: #006400;
            margin-bottom: 10px;
        }

        .activity-read-more {
            margin-top: 15px;
            padding: 8px 15px;
            background: #006400;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 14px;
            align-self: flex-start;
            transition: background 0.3s;
        }

        .activity-read-more:hover {
            background: #228B22;
        }

        .news-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 30px;
        }

        .news-card {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s, box-shadow 0.3s;
            display: flex;
            flex-direction: column;
            height: 100%;
            min-height: 450px;
        }

        .news-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        }

        .news-image-container {
            height: 220px;
            width: 100%;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #f8f9fa;
            border-bottom: 1px solid #eee;
        }

        .news-image-container img {
            max-width: 100%;
            max-height: 100%;
            width: auto;
            height: auto;
            object-fit: contain;
            padding: 10px;
            transition: transform 0.5s ease;
        }

        .news-card:hover .news-image-container img {
            transform: scale(1.05);
        }

        .news-card-content {
            padding: 25px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .news-card-title {
            color: #006400;
            font-size: 1.3rem;
            margin-bottom: 10px;
            line-height: 1.3;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            min-height: 3em;
        }

        .news-card-date {
            color: #666;
            font-size: 0.9rem;
            margin-bottom: 15px;
            font-style: italic;
        }

        .news-card-text {
            color: #555;
            line-height: 1.6;
            flex: 1;
            margin-bottom: 15px;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .news-card-author {
            color: #888;
            font-size: 0.85rem;
            margin-top: auto;
            border-top: 1px solid #eee;
            padding-top: 10px;
        }

        .news-no-image {
            background: linear-gradient(135deg, #006400, #228B22);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
        }

        .news-no-image-content {
            text-align: center;
            padding: 20px;
        }

        .news-no-image-icon {
            font-size: 3rem;
            margin-bottom: 10px;
        }

        .news-loading {
            text-align: center;
            padding: 60px;
            color: #666;
            grid-column: 1 / -1;
            font-size: 1.1rem;
        }

        .news-empty {
            text-align: center;
            padding: 60px;
            color: #666;
            grid-column: 1 / -1;
            font-style: italic;
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 15px;
        }

        .gallery-item {
            border-radius: 10px;
            overflow: hidden;
            height: 200px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            cursor: pointer;
            position: relative;
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }

        .gallery-item:hover img {
            transform: scale(1.1);
        }

        .gallery-item::after {
            content: '🔍';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 2rem;
            opacity: 0;
            transition: opacity 0.3s;
            pointer-events: none;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
        }

        .gallery-item:hover::after {
            opacity: 1;
        }

        .section-button {
            background: white;
            border-radius: 10px;
            padding: 25px;
            text-align: center;
            justify-content: center;
            align-items: center;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
            margin-top: 30px;
        }

        .section-text{
            text-align: center;
        }
        
        .button-group {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            margin-top: 20px;
            justify-content: center;
        }

        .contacts-content {
            display: flex;
            gap: 40px;
            flex-wrap: wrap;
        }

        .contact-info {
            flex: 1;
            min-width: 300px;
        }

        .contact-form {
            flex: 1;
            min-width: 300px;
        }

        .contact-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 20px;
        }

        .contact-icon {
            font-size: 1.5rem;
            margin-right: 15px;
            color: #006400;
            min-width: 30px;
        }

        .contact-image {
            flex: 1;
            min-width: 100px;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            margin-top: 20px;
        }

        .contact-image img {
            width: 100%;
            height: auto;
            display: block;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
        }

        .form-group textarea {
            height: 150px;
            resize: vertical;
        }

        .checkbox-group {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            margin: 25px 0;
            padding: 15px;
            background: #f8f9fa;
            border-radius: 8px;
        }

        .checkbox-group input {
            width: auto;
            margin-top: 3px;
            transform: scale(1.2);
        }

        .policy-link {
            color: #667eea;
            text-decoration: none;
            font-weight: 600;
            cursor: pointer;
        }

        .policy-link:hover {
            text-decoration: underline;
        }

        .error-message {
            color: #e74c3c;
            font-size: 0.85rem;
            margin-top: 5px;
            display: none;
        }

        .success-message {
            background: #d4edda;
            color: #155724;
            padding: 15px;
            border-radius: 8px;
            margin-top: 20px;
            border: 1px solid #c3e6cb;
            display: none;
        }

        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            z-index: 1000;
            overflow-y: auto;
            padding: 20px;
        }

        .modal-content {
            background: white;
            max-width: 800px;
            margin: 40px auto;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
            animation: modalFadeIn 0.3s ease;
            position: relative;
        }

        @keyframes modalFadeIn {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .modal-header {
            padding: 20px 30px;
            border-bottom: 2px solid #006400;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .modal-title {
            color: #006400;
            font-size: 1.8rem;
            margin: 0;
        }

        .modal-close {
            background: none;
            border: none;
            font-size: 2rem;
            color: #666;
            cursor: pointer;
            line-height: 1;
            padding: 0;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.3s;
        }

        .modal-close:hover {
            background: #f0f0f0;
            color: #333;
        }

        .modal-body {
            padding: 30px;
            max-height: 70vh;
            overflow-y: auto;
        }

        .modal-photo {
            width: 100%;
            height: auto;
            max-height: 60vh;
            object-fit: contain;
            border-radius: 5px;
        }

        .modal-photo-title {
            text-align: center;
            margin-top: 15px;
            color: #666;
            font-style: italic;
        }

        footer {
            background: #006400;
            color: white;
            padding: 40px 0 20px;
        }

        .footer-content {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 30px;
            margin-bottom: 30px;
        }

        .footer-column {
            flex: 1;
            min-width: 200px;
        }

        .footer-column h3 {
            margin-bottom: 20px;
            font-size: 1.3rem;
        }

        .footer-column ul {
            list-style: none;
        }

        .footer-column ul li {
            margin-bottom: 10px;
        }

        .footer-column a {
            color: #ddd;
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-column a:hover {
            color: white;
        }

        .social-icons {
            display: flex;
            gap: 15px;
        }

        .social-icons a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            transition: all 0.3s ease;
        }

        .social-icons a:hover {
            background-color: rgba(255, 255, 255, 0.2);
            transform: translateY(-5px);
        }

        .copyright {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255,255,255,0.1);
            font-size: 0.9rem;
            color: #ddd;
        }

        @media (max-width: 768px) {
            .header-content {
                flex-direction: column;
                text-align: center;
                gap: 15px;
            }
             .logo {
                flex-direction: column;
                text-align: center;
            }
            
            .logo-icon img {
                height: 120px !important;
            }
            
            .logo-text h1 {
                font-size: 1.8rem;
                line-height: 1.3;
            }

            .nav-container {
                width: 100%;
                order: 3;
            }
            
            nav ul {
                flex-direction: column;
                gap: 10px;
                display: none;
                background: rgba(0, 100, 0, 0.95);
                padding: 20px;
                border-radius: 10px;
                margin-top: 15px;
            }
            
            nav ul.active {
                display: flex;
            }

            .menu-toggle {
                display: flex !important;
                flex-direction: column;
                justify-content: space-between;
                width: 30px;
                height: 21px;
                background: transparent;
                border: none;
                cursor: pointer;
                padding: 0;
                position: absolute;
                right: 20px;
                top: 30px;
            }
            
            .menu-toggle span {
                width: 100%;
                height: 3px;
                background: white;
                border-radius: 2px;
                transition: all 0.3s;
            }

            .hero {
                height: 500px;
            }
            
            .hero h2 {
                font-size: 1.8rem;
                padding: 0 15px;
            }
            
            .hero p {
                font-size: 1.1rem;
                padding: 0 15px;
            }

            section {
                padding: 40px 0;
            }
            
            .section-title {
                font-size: 1.8rem;
                margin-bottom: 30px;
            }

            .activities-grid, .news-grid {
                grid-template-columns: 1fr;
            }
            
            .activity-card, .news-card {
                margin: 0 auto;
                max-width: 100%;
            }

            .gallery-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
            }
            
            .gallery-item {
                height: 150px;
            }
            
            .gallery-item::after {
                font-size: 1.5rem;
            }

            .contact-item {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }
            
            .contact-icon {
                font-size: 1.2rem;
            }

            .form-group input, .form-group textarea {
                padding: 12px;
                font-size: 16px;
            }

            .footer-content {
                flex-direction: column;
                gap: 30px;
            }
            
            .footer-column {
                text-align: center;
            }
            
            .social-icons {
                justify-content: center;
            }

            .modal-content {
                margin: 10px;
                max-width: calc(100% - 20px);
            }
            
            .modal-header {
                padding: 15px;
            }
            
            .modal-title {
                font-size: 1.5rem;
            }
            
            .modal-body {
                padding: 15px;
                max-height: 80vh;
            }

            .btn {
                padding: 14px 25px;
                min-height: 48px;
            }
            
            .button-group {
                flex-direction: column;
                gap: 10px;
            }
            
            .button-group .btn {
                width: 100%;
                justify-content: center;
                display: flex;
                align-items: center;
                gap: 10px;
            }
        }


            .btn-application {
                background: #006400;
                color: white;
                padding: 12px 30px;
                border: none;
                border-radius: 5px;
                font-weight: bold;
                cursor: pointer;
                transition: background 0.3s;
            }

            .btn-application:hover {
                background: #228B22;
            }

            .fade-in {
                opacity: 0;
                transform: translateY(20px);
                transition: opacity 0.5s ease, transform 0.5s ease;
            }

            .fade-in.visible {
                opacity: 1;
                transform: translateY(0);
            }

            .notification {
                position: fixed;
                top: 20px;
                right: 20px;
                padding: 15px 25px;
                border-radius: 5px;
                color: white;
                font-weight: bold;
                z-index: 1001;
                animation: slideIn 0.3s ease;
                box-shadow: 0 3px 10px rgba(0,0,0,0.2);
            }

            .notification.success {
                background-color: #28a745;
            }

            .notification.error {
                background-color: #dc3545;
            }

            .notification.warning {
                background-color: #ffc107;
                color: #333;
            }

        @media (max-width: 480px) {
            .container {
                width: 95%;
                padding: 0 10px;
            }
            
            .hero {
                height: 400px;
            }
            
            .hero h2 {
                font-size: 1.5rem;
            }
            
            .hero p {
                font-size: 1rem;
            }
            
            .logo-text h1 {
                font-size: 1.5rem;
            }
            
            .section-title {
                font-size: 1.5rem;
            }
            
            .gallery-grid {
                grid-template-columns: 1fr;
            }
            
            .gallery-item {
                height: 200px;
            }

            .news-card {
                min-height: 400px;
            }
            
            .news-image-container {
                height: 180px;
            }
            
            .news-card-content {
                padding: 15px;
            }

            .activity-content h3 {
                font-size: 1.2rem;
            }

            .contact-form {
                padding: 0;
            }
        }


            button:focus,
            a:focus,
            input:focus,
            textarea:focus {
                outline: 3px solid #006400;
                outline-offset: 2px;
            }

            html, body {
                max-width: 100%;
                overflow-x: hidden;
            }

        @media (max-width: 360px) {
            .logo-text h1 {
                font-size: 1.3rem;
            }
            
            .hero h2 {
                font-size: 1.3rem;
            }
            
            .section-title {
                font-size: 1.3rem;
            }
            
            .btn {
                padding: 12px 20px;
                font-size: 0.9rem;
            }
            
            .gallery-item {
                height: 180px;
            }
        }

        @keyframes slideIn {
            from {
                transform: translateX(100%);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        @media (hover: none) and (pointer: coarse) {
            .activity-card:hover,
            .news-card:hover,
            .gallery-item:hover {
                transform: none;
            }
            
            .activity-card:active,
            .news-card:active,
            .gallery-item:active {
                transform: scale(0.98);
            }
            
            .btn:hover {
                background: #006400;
            }
            
            .btn:active {
                background: #228B22;
                transform: scale(0.98);
            }
        }

        .menu-toggle.active span:nth-child(1) {
            transform: translateY(9px) rotate(45deg);
        }

        .menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .menu-toggle.active span:nth-child(3) {
            transform: translateY(-9px) rotate(-45deg);
        }

        @media (prefers-contrast: high) {
            .hero h2,
            .hero p {
                text-shadow: 0 2px 8px rgba(0,0,0,0.8);
            }
            
            .btn {
                border: 2px solid white;
            }
        }

        @media (prefers-color-scheme: dark) {
            body {
                background-color: #121212;
                color: #e0e0e0;
            }
            
            .activity-card,
            .news-card,
            .contact-form,
            .section-button {
                background-color: #1e1e1e;
                color: #e0e0e0;
            }
            
            .form-group input,
            .form-group textarea {
                background-color: #2d2d2d;
                color: #e0e0e0;
                border-color: #444;
            }
            
            #activities {
                background-color: #0f1f0f !important;
            }
            
            #contacts {
                background-color: #1a2a1a !important;
            }
        }

        @media (prefers-reduced-motion: no-preference) {
            html {
                scroll-behavior: smooth;
            }
            
            .fade-in {
                transition: opacity 0.5s ease, transform 0.5s ease;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            *,
            *::before,
            *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }

        #photoModal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.95);
            z-index: 10000;
            padding: 20px;
            overflow: hidden;
        }

        #photoModal .modal-content {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            position: relative;
            background: transparent;
            box-shadow: none;
            margin: 0;
            max-width: 100%;
        }

        #photoModal .modal-header {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            background: rgba(0, 0, 0, 0.7);
            border-bottom: none;
            z-index: 10002;
            padding: 15px 20px;
        }

        #photoModal .modal-title {
            color: white;
            font-size: 1.5rem;
        }

        #photoModal .modal-close {
            color: white;
            background: rgba(255, 255, 255, 0.1);
        }

        #photoModal .modal-close:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        #photoModal .modal-body {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            position: relative;
            padding: 0;
            max-height: 100%;
        }

        #photoModal .image-container {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: grab;
            user-select: none;
            position: relative;
        }

        #photoModal .image-container.grabbing {
            cursor: grabbing;
        }

        #photoModal .lightboxImage {
            max-width: 90vw;
            max-height: 70vh;
            width: auto;
            height: auto;
            transition: transform 0.3s ease;
            transform-origin: center center;
            object-fit: contain;
        }

        #photoModal .lightbox-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.2);
            color: white;
            border: none;
            width: 60px;
            height: 60px;
            font-size: 30px;
            cursor: pointer;
            border-radius: 50%;
            transition: all 0.3s;
            z-index: 10001;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        #photoModal .lightbox-nav:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: translateY(-50%) scale(1.1);
        }

        #photoModal .lightbox-nav:disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }

        #photoModal .lightbox-nav:disabled:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-50%);
        }

        #photoModal .lightbox-prev {
            left: 20px;
        }

        #photoModal .lightbox-next {
            right: 20px;
        }

        #photoModal .lightbox-controls {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
            background: rgba(0, 0, 0, 0.7);
            padding: 10px 15px;
            border-radius: 50px;
            z-index: 10001;
            backdrop-filter: blur(5px);
        }

        #photoModal .lightbox-btn {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            border: none;
            background: rgba(255, 255, 255, 0.2);
            color: white;
            font-size: 20px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
        }

        #photoModal .lightbox-btn:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: scale(1.1);
        }

        #photoModal .lightbox-btn:active {
            transform: scale(0.95);
        }

        #photoModal .lightbox-btn:disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }

        #photoModal .lightbox-btn:disabled:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: none;
        }

        #photoModal .image-info {
            position: absolute;
            bottom: 100px;
            left: 50%;
            transform: translateX(-50%);
            color: white;
            font-size: 16px;
            text-shadow: 0 2px 5px rgba(0,0,0,0.5);
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 15px;
            background: rgba(0, 0, 0, 0.5);
            padding: 8px 15px;
            border-radius: 20px;
            backdrop-filter: blur(5px);
            min-width: 200px;
            text-align: center;
        }

        #photoModal .image-counter {
            font-weight: bold;
        }

        #photoModal .zoom-level {
            background: rgba(255, 255, 255, 0.2);
            padding: 2px 10px;
            border-radius: 10px;
            min-width: 60px;
            display: inline-block;
        }

        #photoModal .image-name {
            max-width: 300px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            font-size: 14px;
            opacity: 0.9;
        }

        @media (max-width: 768px) {
            #photoModal {
                padding: 10px;
            }
            
            #photoModal .modal-header {
                padding: 10px 15px;
            }
            
            #photoModal .modal-title {
                font-size: 1.2rem;
            }
            
            #photoModal .modal-close {
                width: 35px;
                height: 35px;
                font-size: 20px;
            }
            
            #photoModal .lightbox-nav {
                width: 50px;
                height: 50px;
                font-size: 24px;
            }
            
            #photoModal .lightbox-prev {
                left: 10px;
            }
            
            #photoModal .lightbox-next {
                right: 10px;
            }
            
            #photoModal .lightbox-controls {
                bottom: 20px;
                padding: 8px 12px;
            }
            
            #photoModal .lightbox-btn {
                width: 40px;
                height: 40px;
                font-size: 18px;
            }
            
            #photoModal .image-info {
                bottom: 80px;
                font-size: 14px;
                padding: 6px 12px;
                flex-direction: column;
                gap: 5px;
            }
            
            #photoModal .lightboxImage {
                max-width: 95vw;
                max-height: 80vh;
            }
        }

         @media (max-width: 768px) and (orientation: landscape) {
  
            #photoModal {
                padding: 5px;
            }
            
            #photoModal .modal-header {
                position: absolute;
                top: 5px;
                left: 5px;
                right: 5px;
                background: rgba(0, 0, 0, 0.7);
                padding: 8px 10px;
                border-radius: 10px;
                z-index: 10002;
            }
            
            #photoModal .modal-title {
                font-size: 1rem;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                max-width: 70%;
            }
            
            #photoModal .modal-close {
                width: 35px;
                height: 35px;
                font-size: 20px;
                top: 50%;
                right: 10px;
                transform: translateY(-50%);
                position: absolute;
                background: rgba(255, 255, 255, 0.1);
            }
            
            #photoModal .lightbox-nav {
                width: 40px;
                height: 40px;
                font-size: 20px;
                background: rgba(0, 0, 0, 0.5);
            }
            
            #photoModal .lightbox-prev {
                left: 5px;
            }
            
            #photoModal .lightbox-next {
                right: 5px;
            }
            
            #photoModal .lightbox-controls {
                bottom: 10px;
                left: 50%;
                transform: translateX(-50%);
                padding: 5px 10px;
                background: rgba(0, 0, 0, 0.7);
                border-radius: 25px;
            }
            
            #photoModal .lightbox-btn {
                width: 35px;
                height: 35px;
                font-size: 16px;
                background: rgba(255, 255, 255, 0.15);
            }
            
            #photoModal .image-info {
                position: fixed;
                bottom: 60px;
                left: 50%;
                transform: translateX(-50%);
                background: rgba(0, 0, 0, 0.7);
                padding: 5px 10px;
                font-size: 12px;
                border-radius: 15px;
                min-width: auto;
                width: auto;
                max-width: 90%;
                z-index: 10001;
            }
            
            #photoModal .lightboxImage {
                max-width: 95vw;
                max-height: 85vh;
            }
  
            .gallery-grid {
                grid-template-columns: repeat(3, 1fr) !important;
                gap: 8px;
            }
            
            .gallery-item {
                height: 120px;
            }
   
            @media (max-height: 400px) {
                #photoModal .modal-header {
                    padding: 5px 8px;
                }
                
                #photoModal .modal-title {
                    font-size: 0.9rem;
                }
                
                #photoModal .lightbox-nav {
                    width: 35px;
                    height: 35px;
                    font-size: 18px;
                }
                
                #photoModal .lightbox-controls {
                    bottom: 5px;
                    padding: 4px 8px;
                }
                
                #photoModal .lightbox-btn {
                    width: 30px;
                    height: 30px;
                    font-size: 14px;
                }
                
                #photoModal .image-info {
                    bottom: 45px;
                    font-size: 11px;
                    padding: 4px 8px;
                }
                
                #photoModal .zoom-level {
                    display: none; 
                }
            }
        }

        @media (max-width: 480px) and (orientation: landscape) {
            #photoModal .modal-header {
                padding: 6px 8px;
            }
            
            #photoModal .modal-title {
                font-size: 0.9rem;
            }
            
            #photoModal .lightbox-nav {
                width: 35px;
                height: 35px;
                font-size: 18px;
            }
            
            #photoModal .lightbox-controls {
                bottom: 8px;
            }
            
            #photoModal .image-info {
                bottom: 50px;
                font-size: 11px;
            }
            
            .gallery-grid {
                grid-template-columns: repeat(4, 1fr) !important;
            }
            
            .gallery-item {
                height: 100px;
            }
        }

        @media (max-height: 350px) {
            #photoModal .modal-header {
                display: none; 
            }
            
            #photoModal .image-info {
                display: none; 
            }
            
            #photoModal .lightbox-controls {
                background: transparent;
                backdrop-filter: none;
            }
            
            #photoModal .lightbox-btn {
                background: rgba(0, 0, 0, 0.5);
            }
        }

        .cookies-notification {
            position: fixed;
            bottom: 20px;
            left: 20px;
            right: 20px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
            z-index: 1000;
            padding: 20px;
            max-width: 500px;
            transform: translateY(150%);
            transition: transform 0.5s ease;
            border-left: 4px solid #ff9800;
        }

        .cookies-notification.show {
            transform: translateY(0);
        }

        .cookies-content {
            display: flex;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        .cookies-text {
            flex: 1;
            min-width: 250px;
        }

        .cookies-text h4 {
            margin-bottom: 5px;
            color: #1a237e;
        }

        .cookies-text p {
            font-size: 0.9rem;
            color: #666;
            margin: 0;
            line-height: 1.4;
        }

        .cookies-buttons {
            display: flex;
            gap: 10px;
            flex-shrink: 0;
        }

        @media (max-width: 768px) {
            .cookies-notification {
            left: 10px;
            right: 10px;
            bottom: 10px;
            }
    
            .cookies-content {
            flex-direction: column;
            align-items: stretch;
            text-align: center;
            }
    
            .cookies-buttons {
            justify-content: center;
            }
        }

