:root {
    --primary-color: #2c3e50;
    --secondary-color: #e67e22;
    --accent-color: #f39c12;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
    --white: #ffffff;
    --black: #000000;
}

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

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

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

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.95);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

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

.nav-menu ul li a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
    color: var(--secondary-color);
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-menu ul li a:hover::after,
.nav-menu ul li a.active::after {
    width: 100%;
}

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 0;
    padding: 120px 0 80px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 500;
    animation: fadeInUp 1s ease 0.4s both;
}

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

.btn-primary:hover {
    background: transparent;
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

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

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

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

/* Artwork Grid */
.featured-works,
.gallery-section {
    padding: 80px 0;
}

.artwork-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.artwork-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.artwork-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.artwork-image {
    position: relative;
    overflow: hidden;
    padding-top: 100%;
}

.artwork-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.artwork-card:hover .artwork-image img {
    transform: scale(1.05);
}

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

.artwork-card:hover .artwork-overlay {
    opacity: 1;
}

.btn-view {
    padding: 10px 25px;
    background: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-view:hover {
    background: var(--white);
    color: var(--secondary-color);
    transform: scale(1.05);
}

.artwork-info {
    padding: 1.5rem;
    text-align: center;
}

.artwork-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.artwork-info p {
    color: var(--dark-gray);
    font-size: 0.9rem;
}

/* Gallery Filters */
.gallery-filters {
    text-align: center;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 8px 20px;
    margin: 0 5px;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination a,
.pagination span {
    padding: 8px 15px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: var(--primary-color);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination .current {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

/* Exhibitions */
.recent-exhibitions {
    background: var(--light-gray);
    padding: 80px 0;
}

.exhibition-list {
    max-width: 800px;
    margin: 0 auto;
}

.exhibition-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2rem;
    display: flex;
    gap: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.exhibition-card:hover {
    transform: translateY(-3px);
}

.exhibition-image {
    flex: 1;
    min-height: 200px;
}

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

.exhibition-info {
    flex: 2;
    padding: 1.5rem;
}

.exhibition-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.exhibition-info .venue {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.exhibition-info .date {
    color: var(--dark-gray);
    font-style: italic;
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-section {
    padding: 80px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 10px;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-form {
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

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

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
}

textarea.form-control {
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 3rem 0 2rem;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-links a {
    color: var(--white);
    text-decoration: none;
    margin-left: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .artwork-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .exhibition-card {
        flex-direction: column;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .social-links a {
        margin: 0 0.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .artwork-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 10px 20px;
    }
}




/* Hero Section with Mosaic Background */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 0;
    padding: 120px 0 80px;
    overflow: hidden;
}

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

.mosaic-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(6, 1fr);
    gap: 4px;
    background: #000;
}

.mosaic-item {
    position: relative;
    overflow: hidden;
    opacity: 0.5;
    transition: all 0.5s ease;
}

.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Individual mosaic item positions - creates vertical staggered layout */
.mosaic-item-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.mosaic-item-2 {
    grid-column: 2 / 3;
    grid-row: 1 / 4;
}

.mosaic-item-3 {
    grid-column: 3 / 4;
    grid-row: 2 / 5;
}

.mosaic-item-4 {
    grid-column: 4 / 5;
    grid-row: 1 / 3;
}

.mosaic-item-5 {
    grid-column: 1 / 2;
    grid-row: 3 / 6;
}

.mosaic-item-6 {
    grid-column: 2 / 3;
    grid-row: 4 / 7;
}

.mosaic-item-7 {
    grid-column: 3 / 4;
    grid-row: 5 / 7;
}

.mosaic-item-8 {
    grid-column: 4 / 5;
    grid-row: 3 / 6;
}

/* Hover effects on mosaic items */
.hero:hover .mosaic-item {
    opacity: 0.7;
}

.hero:hover .mosaic-item img {
    transform: scale(1.05);
}

.mosaic-item:hover {
    opacity: 0.9 !important;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-family: 'Playfair Display', serif;
    color: white;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.2rem;
    color: white;
    max-width: 600px;
    margin: 0 auto 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-content .btn {
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-content .btn-primary {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

.hero-content .btn-primary:hover {
    background: transparent;
    color: white;
    border-color: white;
}

/* Optional: Animated gradient overlay */
@keyframes gradientShift {
    0% {
        background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.6) 100%);
    }
    50% {
        background: linear-gradient(135deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.7) 100%);
    }
    100% {
        background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.6) 100%);
    }
}

.hero-overlay {
    animation: gradientShift 8s ease infinite;
}

/* Responsive adjustments for mosaic */
@media (max-width: 1024px) {
    .mosaic-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(8, 1fr);
    }
    
    .mosaic-item-1 { grid-column: 1 / 2; grid-row: 1 / 3; }
    .mosaic-item-2 { grid-column: 2 / 3; grid-row: 1 / 4; }
    .mosaic-item-3 { grid-column: 3 / 4; grid-row: 2 / 5; }
    .mosaic-item-4 { grid-column: 1 / 2; grid-row: 3 / 6; }
    .mosaic-item-5 { grid-column: 2 / 3; grid-row: 4 / 7; }
    .mosaic-item-6 { grid-column: 3 / 4; grid-row: 5 / 8; }
    .mosaic-item-7 { grid-column: 1 / 2; grid-row: 6 / 9; }
    .mosaic-item-8 { grid-column: 2 / 3; grid-row: 7 / 9; }
}

@media (max-width: 768px) {
    .mosaic-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(6, 1fr);
        gap: 2px;
    }
    
    .mosaic-item {
        opacity: 0.4;
    }
    
    .mosaic-item-1 { grid-column: 1 / 2; grid-row: 1 / 3; }
    .mosaic-item-2 { grid-column: 2 / 3; grid-row: 1 / 4; }
    .mosaic-item-3 { grid-column: 1 / 2; grid-row: 3 / 5; }
    .mosaic-item-4 { grid-column: 2 / 3; grid-row: 4 / 6; }
    .mosaic-item-5 { grid-column: 1 / 2; grid-row: 5 / 7; }
    .mosaic-item-6 { grid-column: 2 / 3; grid-row: 6 / 7; }
    .mosaic-item-7 { display: none; }
    .mosaic-item-8 { display: none; }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .mosaic-grid {
        gap: 1px;
    }
    
    .mosaic-item {
        opacity: 0.3;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
}


