* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #77b7c4 0%, #2a8598 50%, #056679 100%);
    min-height: 100vh;
    color: white;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(118, 75, 162, 0.3) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Back Button */
.back-button {
    color: rgb(255, 255, 255);
    padding: 2.5px 5px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    z-index: 10;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.5);
}

.back-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.5);
}

/* Title Section */
.title-section {
    text-align: center;
    padding: 40px 20px;
    background: transparent;
    position: relative;
    z-index: 1;
}

.title-section .back-button {
    position: absolute;
    top: 2px;
    left: 2px;
}

.title-section h1 {
    font-family: 'Gotham Bold', 'Gotham', 'Arial Black', sans-serif;
    font-size: 4rem;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.5);
    font-weight: 700;
    letter-spacing: -8px;
}

.logo-image {
    display: block;
    margin: 0 auto 20px;
    max-width: 600px;
    width: 100%;
    height: auto;
}

/* Navigation Bar */
.navbar {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.navbar button {
    background: linear-gradient(135deg, #3591a1 0%, #0b5c67 100%);
    color: white;
    border: none;
    padding: 12px 40px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.navbar button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
}

.navbar button.active {
    background: linear-gradient(135deg, #3591a1 0%, #0b5c67 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

/* Gallery Container */
.gallery-container {
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.gallery {
    display: none;
}

.gallery.active {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Painting Card */
.painting-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 3px solid #02505f;
}

.painting-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(139, 69, 19, 0.2);
    border-color: #2a8598;
}




/* Painting Frame Styles */
.painting-frame {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 40px auto;

    padding: 20px;

        /* Navy + brown frame */
    background: #2a8598;
    border: 14px solid #2a8598;
    box-shadow:
        0 0 0 5px #2a8598,
        0 18px 40px #2a8598;

    transform: rotate(-0.5deg);
    border-radius: 2px;
}


.painting-image {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
    background-color: #e8d5c4;
}

.painting-info {
    padding: 20px;
    background-color: #faf7f2;
}

.painting-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 5px;
}

/* Modal for Enlarged View */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
    animation: fadeInModal 0.3s ease;




   
}

.modal.active {
    display: flex;
}

@keyframes fadeInModal {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: rgb(255, 251, 251);
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    padding: 40px;
    position: relative;
    animation: slideIn 0.3s ease;
    box-shadow: 0 20px 60px rgba(255, 250, 250, 0.3);
    max-height: 90vh;
    overflow-y: auto;
    color: #000000;
}
.modalContact {
    margin-top: 30px;
    color: #000000;
}

.modalContact p {
    color: #000000;
}

.modalContact b {
    color: #000000;
}

.modalContact strong {
    color: #000000;
}


@keyframes slideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background-color: #000000;
    color: white;
    border: none;
    font-size: 28px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}





.close-btn:hover {
    background-color: #2a8598;
    transform: rotate(90deg);
}
.modalShareBtn {
    position: absolute;
    top: 15px;
    left: 20px;
    background-color: #000000;
    color: white;
    border: none;
    font-size: 28px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}
.modalShareBtn:hover {
    background-color: #2a8598;
    transform: rotate(-90deg);
}






.modal-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    margin-bottom: 30px;
    border-radius: 8px;
    background-color: #e8d5c4;
}

.modal-title {
    font-size: 2rem;
    color: #000000;
    margin-bottom: 15px;
    font-family: 'Helvetica', 'Arial', sans-serif;
}

.modal-description {
    font-size: 1rem;
    color: #000000;
    line-height: 1.6;
    margin-bottom: 20px;
}

.modal-price {
    font-size: 1.8rem;
    color: #000000;
    font-weight: bold;
    padding-top: 20px;
    border-top: 2px solid #555;
}

/* Responsive Design */
@media (max-width: 768px) {
    .title-section h1 {
        font-size: 2.5rem;
    }

    .back-button {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .logo-image {
        max-width: 400px;
        
    }

    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    .navbar button {
        width: 100%;
    }

    .gallery.active {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }

    .modal-content {
        padding: 30px 20px;
        animation: fadeInUp 1s ease-out;
    }
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    padding-bottom: 80px;
    position: relative;
}

.hero-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    padding-bottom: 80px;
    position: relative;
}


/* Footer section */
footer {
            background: transparent;
            color: white;
            padding: 60px 20px 40px;
            margin-top: auto;
            position: relative;
            z-index: 1;
        }

        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .footer-container h3 {
            text-align: center;
        }

        .footer-content {
            display: grid;
            grid-template-columns: 1fr 1fr; /* Two columns (about us, contacts)*/
            gap: 40px;
            margin-bottom: 50px;
        }

        .footer-section h3 {
            font-size: 18px;
            margin-bottom: 20px;
            color: #ffffff;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: 600;
        }

        .footer-section p {
            font-size: 14px;
            line-height: 1.8;
            color: #b0b0b0;
        }

        .footer-section a {
            color: #ffffff;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-section a:hover {
            color: #ffc107;
        }

        .footer-section ul {
            list-style: none;
        }

        .footer-section li {
            margin-bottom: 12px;
        }

        /* Provider Info Section */
        .provider-info {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .provider-item {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 14px;
        }

        .provider-item::before {
            content: "→";
            color: #ffc107;
            font-weight: bold;
        }

        /* Sponsors Section */
        .sponsors-section {
            grid-column: 1 / -1;
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.2);
            margin-top: 30px;
        }

        .sponsors-section h3 {
            margin-bottom: 30px;
            text-align: right;
        }

        .sponsors-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 30px;
            justify-items: center;
            align-items: center;
        }

        .sponsor-logo {
            transition: all 0.3s ease;
            max-width: 140px;
            height: 80px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .sponsor-logo:hover {
            transform: translateY(-5px);
        }

        .sponsor-logo img {
            max-width: 100%;
            max-height: 100%;
            filter: brightness(0.9);
            transition: filter 0.3s ease;
        }

        .sponsor-logo:hover img {
            filter: brightness(1.1);
        }

        /* Footer Bottom */
        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.2);
            padding-top: 30px;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
        }

        .footer-bottom p {
            font-size: 13px;
            color: #f1f1f1;
            text-align: center;
        }

        .footer-links {
            display: flex;
            gap: 25px;
            flex-wrap: wrap;
        }

        .footer-links a {
            font-size: 13px;
            color: #b0b0b0;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-links a:hover {
            color: #ffc107;
        }

        .social-icons {
            display: flex;
            gap: 15px;
        }

        .social-icons a {
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .social-icons a:hover {
            background: #ffc107;
            color: #1a1a1a;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .footer-content {
                grid-template-columns: 1fr;
                gap: 30px;
            }

            .sponsors-grid {
                grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
                gap: 20px;
            }

            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }

            .footer-links {
                justify-content: center;
            }

            .social-icons {
                justify-content: center;
            }
        }