/* ========================
   CSS RESET & BASE STYLES
   ======================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #f5f5f5;
    --accent-color: #d4a574;
    --text-dark: #2c2c2c;
    --text-light: #6c6c6c;
    --white: #ffffff;
    --gradient-overlay: linear-gradient(135deg, rgba(26, 26, 26, 0.7), rgba(212, 165, 116, 0.4));
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

.visually-hidden {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}


.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ========================
   NAVIGATION BAR
   ======================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgb(30, 138, 175);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition);
}

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

.logo h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--accent-color);
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========================
   HERO SLIDESHOW
   ======================== */
.hero {
    margin-top: 80px;
    height: calc(100vh - 80px);
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.slideshow-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    animation: fadeIn 1.5s ease-in-out;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.6), rgba(212, 165, 116, 0.3));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 40px;
}

.slide-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideUp 1s ease-out 0.3s both;
}

.slide-description {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 1px;
    animation: slideUp 1s ease-out 0.6s both;
}

.dots-container {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.dot:hover,
.dot.active {
    background: var(--white);
    transform: scale(1.2);
    border-color: var(--accent-color);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

/* ========================
   SECTION COMMON STYLES
   ======================== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 300;
}

/* ========================
   ABOUT SECTION
   ======================== */
.about {
    background: var(--secondary-color);
}

.about-content {
    display: grid;
    gap: 60px;
    text-align: center;
    font-family: ';Lora';

}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--text-dark);
    line-height: 1.8;
    font-family: 'Lora';
}

.about-intro {
    font-size: 1.5rem !important;
    font-weight: 600;
    color: var(--primary-color);

}


/* For tablets and large screens */
@media (min-width: 768px) {
    .about-text p {
        font-size: 1.35rem;
    }
}


/* ========================
   FEATURED GALLERY
   ======================== */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    grid-auto-flow: dense;
}

.featured-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 350px;
    cursor: pointer;
}

.featured-item.large {
    grid-column: span 2;
    height: 450px;
}

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

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

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 30px;
    color: var(--white);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.featured-item:hover .featured-overlay {
    transform: translateY(0);
    opacity: 1;
}

.featured-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.featured-overlay p {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 1px;
}

/* ========================
   TOP WORKS SECTION
   ======================== */
.top-works {
    background: var(--secondary-color);
}

.top-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
}

.work-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.work-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.work-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

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

.work-card:hover .work-image img {
    transform: scale(1.08);
}

.work-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.work-info {
    padding: 30px;
}

.work-info h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.work-artist {
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.work-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.work-meta {
    display: flex;
    gap: 15px;
}

.work-category,
.work-resolution {
    padding: 6px 15px;
    background: var(--secondary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* ========================
   COLLECTIONS SECTION
   ======================== */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.collection-card {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.collection-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.collection-image {
    width: 100%;
    height: 100%;
}

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

.collection-card:hover .collection-image img {
    transform: scale(1.1);
}

.collection-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 40px 30px;
    color: var(--white);
}

.collection-content h3 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.collection-content p {
    font-size: 1rem;
    font-weight: 300;
    opacity: 0.9;
}

.collection-arrow {
    position: absolute;
    top: -50px;
    right: 30px;
    font-size: 2rem;
    opacity: 0;
    transition: var(--transition);
}

.collection-card:hover .collection-arrow {
    opacity: 1;
    top: 30px;
}

/* ========================
   INFO SECTION
   ======================== */
.info {
    background: var(--secondary-color);
}

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

.info-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.info-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.info-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ========================
   LINKS SECTION
   ======================== */
.links {
    background: var(--primary-color);
    padding: 80px 0;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
}

.links-column h3 {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-bottom: 25px;
}

.links-column ul li {
    margin-bottom: 15px;
}

.links-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
}

.links-column ul li a:hover {
    color: var(--white);
    transform: translateX(5px);
}

/* ========================
   FOOTER
   ======================== */
.footer {
    background: #0f0f0f;
    padding: 50px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.footer-brand h2 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-brand span {
    color: var(--accent-color);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.footer-social a {
    color: #fff;
    font-size: 22px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.footer-social a:hover {
    color: var(--accent-color);
    transform: scale(1.2);
}


.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ========================
   RESPONSIVE DESIGN
   ======================== */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }

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

    .slide-title {
        font-size: 3rem;
    }

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

    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }
}

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 40px 0;
        gap: 20px;
    }

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

    .nav-toggle {
        display: flex;
    }

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

    .slide-description {
        font-size: 1.2rem;
    }

    .featured-item.large {
        grid-column: span 1;
        height: 350px;
    }

    .top-works-grid,
    .collections-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .container,
    .nav-container {
        padding: 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero {
        height: 70vh;
        min-height: 500px;
    }

    .slide-title {
        font-size: 2rem;
    }

    .slide-description {
        font-size: 1rem;
    }

    .about-stats {
        flex-direction: column;
    }

    .featured-grid,
    .top-works-grid,
    .collections-grid,
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.5rem;
    }

    .slide-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .work-card,
    .collection-card {
        border-radius: 15px;
    }
}






/* Beautiful Lightbox */
.beautiful-lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.98), rgba(20, 20, 20, 0.98));
    backdrop-filter: blur(10px);
}

.beautiful-lightbox.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Top Bar */
.lb-topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 25px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent);
    z-index: 10;
}

.lb-counter {
    color: #d4a574;
    font-size: 1.1rem;
    font-weight: 600;
    background: rgba(212, 165, 116, 0.15);
    padding: 10px 25px;
    border-radius: 30px;
    border: 1px solid rgba(212, 165, 116, 0.3);
    backdrop-filter: blur(10px);
}

.lb-controls {
    display: flex;
    gap: 12px;
}

.lb-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lb-btn:hover {
    background: #d4a574;
    border-color: #d4a574;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.4);
}

#closeBtn:hover {
    background: #ff4444;
    border-color: #ff4444;
    transform: rotate(90deg) scale(1.1);
}

/* Navigation Arrows */
.lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 65px;
    height: 65px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 300;
}

.lb-prev {
    left: 30px;
}

.lb-next {
    right: 30px;
}

.lb-nav:hover {
    background: #d4a574;
    border-color: #d4a574;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 10px 35px rgba(212, 165, 116, 0.5);
}

/* Image Container */
.lb-image-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 85%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lb-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: grab;
    user-select: none;
}

.lb-image.zoomed {
    cursor: move;
}

/* Info Panel */
.lb-info-panel {
    position: absolute;
    right: -400px;
    top: 100px;
    width: 350px;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(212, 165, 116, 0.2);
    border-radius: 20px;
    padding: 35px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -15px 15px 60px rgba(0, 0, 0, 0.6);
}

.lb-info-panel.show {
    right: 30px;
}

.info-art-name {
    color: #d4a574;
    font-size: 1.8rem;
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.3;
}

.info-artist {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 500;
    font-style: italic;
}

.info-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Zoom Indicator */
.lb-zoom-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(212, 165, 116, 0.15);
    backdrop-filter: blur(10px);
    color: #d4a574;
    padding: 10px 25px;
    border-radius: 25px;
    border: 1px solid rgba(212, 165, 116, 0.3);
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lb-zoom-indicator.show {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 968px) {
    .lb-topbar {
        padding: 20px 25px;
    }

    .lb-nav {
        width: 55px;
        height: 55px;
        font-size: 2rem;
    }

    .lb-prev {
        left: 20px;
    }

    .lb-next {
        right: 20px;
    }

    .lb-info-panel {
        width: 300px;
        padding: 25px;
    }

    .info-art-name {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .lb-topbar {
        padding: 15px 20px;
    }

    .lb-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .lb-counter {
        font-size: 0.95rem;
        padding: 8px 18px;
    }

    .lb-nav {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }

    .lb-prev {
        left: 15px;
    }

    .lb-next {
        right: 15px;
    }

    .lb-info-panel {
        width: calc(100% - 40px);
        right: -100%;
        top: auto;
        bottom: 0;
        border-radius: 20px 20px 0 0;
        max-height: 60vh;
        overflow-y: auto;
    }

    .lb-info-panel.show {
        right: 0;
        bottom: 0;
    }

    .info-art-name {
        font-size: 1.4rem;
    }

    .info-artist {
        font-size: 1rem;
    }

    .info-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .lb-nav {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }

    .lb-prev {
        left: 10px;
    }

    .lb-next {
        right: 10px;
    }
}

/* Cursor for clickable images */
.featured-item img,
.work-image img,
.gallery-item img,
.slide img {
    cursor: pointer;
}