﻿* {
    margin: 0;
    padding: 0;   padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #D6CD22;
    --secondary: #FFC231;
    --accent: #e74c3c;
    --light: #f8f9fa;
    --dark: #393326;
    --gray: #828282;
    --transition: all 0.3s ease;
    --text1: #E4C949;
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    color: var(--secondary);
    background-color: var(--dark);
    padding-top: 3px;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    padding: 0 0px; 
}

header {
    background-color: var(--dark);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: relative;
    z-index: 1000;
    padding: 0.1rem 0;
}

.header-top {
    width: 100%;
    height: 90px; /* default desktop height */
    background-image: url("../fineart.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (max-width: 600px) {
    .header-top {
        height: 50px;
        background-size: 150%;
    }
}

.header-bottom {
    padding: 0.4rem 0;
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

    .nav-links a {
        color: var(--primary);
        font-weight: 600;
        font-size: 1.05rem;
        position: relative;
        padding: 0.5rem 0;
        transition: var(--transition);
    }

        .nav-links a:hover,
        .nav-links a.active {
            color: var(--secondary);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--secondary);
            transition: var(--transition);
        }

        .nav-links a:hover::after,
        .nav-links a.active::after {
            width: 100%;
        }

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

    a:hover {
        color: var(--secondary);
    }

main {
    margin-top: 5px;
}

.page {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

    .page.active {
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.hero {
    position: relative;
    max-width: 900px;
    margin: 0.2rem auto 0;
    border-radius: 10px;
    overflow: hidden;
    background: url("../mainfineart.jpg") center/cover no-repeat;
    aspect-ratio: 760 / 434;
}

    .hero::after {
        content: "";
        position: absolute;
        inset: 0;
        border: 5px solid #DEDCD7;
        border-radius: 10px;
        pointer-events: none;
    }

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

    .hero-text h1 {
        font-size: 2.2rem;
        margin: 0;
    }

.hero-description {
    max-width: 760px;
    margin: 2rem auto 1rem;
    text-align: center;
    color: var(--secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    padding: 0 1rem;
}

@media (max-width: 600px) {
    .hero {
        background-size: contain;
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 1.6rem;
    }

    .hero-description {
        font-size: 1rem;
    }
}

.footer-about {
    background-color: var(--dark);
    color: white;
    padding: 0.1rem 0.1rem; 
    text-align: center;
    margin-top: 0.1rem;
}

    .footer-about h3 {
        font-size: 1.8rem;
        color: var(--secondary);
        margin-bottom: 1px;
    }

    .footer-about p {
        max-width: 700px;
        margin: 0 auto;
        color: #ccc;
        line-height: 1.7;
        padding: 0 1rem;
    }

@media (max-width: 600px) {
    .footer-about h3 {
        font-size: 1.5rem;
    }

    .footer-about p {
        font-size: 0.95rem;
    }
}

.btn {
    display: inline-block;
    background: var(--secondary);
    color: white;
    padding: 0.9rem 2.2rem;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

    .btn:hover {
        background: var(--primary);
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    font-size: 2.2rem;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background: var(--secondary);
    }

.art-grid,
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
    justify-content: center;
}

.art-item {
    background: #0e0c0a;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

    .art-item a {
        display: block;
        color: inherit;
        text-decoration: none;
    }

    .art-item:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    }

    .art-item img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        display: block;
    }

.art-info {
    padding: 1.5rem;
}

    .art-info h3 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }

.gallery-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background: none;
    border: 2px solid var(--secondary);
    color: var(--secondary);
    padding: 0.6rem 1.8rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

    .filter-btn:hover,
    .filter-btn.active {
        background: var(--secondary);
        color: white;
    }

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 300px;
    cursor: pointer;
    transition: var(--transition);
}

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--transition);
    }

    .gallery-item:hover {
        transform: translateY(-12px) rotate(1.5deg);
        box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    }

        .gallery-item:hover img {
            transform: scale(1.08);
        }

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    color: white;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.contact-section {
    padding: 4rem 0;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

    .contact-info h3 {
        color: var(--primary);
        margin-bottom: 1.5rem;
    }

.contact-details p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.contact-details i {
    margin-right: 10px;
    color: var(--secondary);
    width: 20px;
}

.contact-form {
    flex: 2;
    min-width: 300px;
}

.form-group {
    margin-bottom: 1.5rem;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 600;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 0.8rem;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-family: 'Raleway', sans-serif;
        transition: var(--transition);
    }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--secondary);
        }

footer {
    background: var(--dark);
    color: white;
    padding: 2rem 0 2rem;
    margin-top: 6rem;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 0 15px;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    color: white;
    text-decoration: none;
    font-weight: 700;
}

    .footer-logo span {
        color: var(--secondary);
    }

.footer-links h3,
.footer-newsletter h3 {
    font-size: 1.25rem;
    margin-bottom: 1.2rem;
    color: var(--secondary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #ddd;
    transition: var(--transition);
}

    .footer-links a:hover {
        color: var(--secondary);
        padding-left: 6px;
    }

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #aaa;
    font-size: 0.9rem;
}

.bio-section {
    padding: 2rem 0;
}

.bio-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
}

.bio-img {
    flex: 1;
    min-width: 300px;
    max-width: 643px;
}

    .bio-img img {
        width: 100%;
        border-radius: 10px;
        object-fit: cover;
    }

.bio-text {
    flex: 2;
    min-width: 300px;
    color: #fff;
}

    .bio-text h2 {
        color: var(--secondary);
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .bio-text p {
        color: #ccc;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

.social-linksdiv {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0.5rem;
    background: var(--primary);
    color: black;
    border-radius: 50%;
    transition: var(--transition);
}

    .social-links a:hover {
        background: var(--secondary);
        transform: translateY(-3px);
    }

@media (max-width: 768px) {
    .bio-content {
        flex-direction: column;
        align-items: center;
    }

    .bio-text h2 {
        font-size: 1.5rem;
    }
}
