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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.7;
    color: #2c2c2c;
    background: #faf9f7;
}

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

a {
    color: #8b5e3c;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #5a3a24;
}

img {
    max-width: 100%;
    height: auto;
}

.navbar {
    background: rgba(250, 249, 247, 0.95);
    backdrop-filter: blur(10px);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #e8e4df;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Georgia', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #2c2c2c;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    color: #555;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 5px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #8b5e3c;
    transition: width 0.3s;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: #8b5e3c;
    text-decoration: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #2c2c2c;
}

.hero {
    background: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(22,33,62,0.8) 50%, rgba(15,52,96,0.75) 100%), url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 140px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: 'Georgia', serif;
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: 2px;
    position: relative;
}

.hero .subtitle {
    font-family: -apple-system, sans-serif;
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.85;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 14px 40px;
    border-radius: 0;
    font-family: -apple-system, sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s;
}

.btn-primary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.5);
}

.btn-primary:hover {
    background: #fff;
    color: #1a1a2e;
    text-decoration: none;
}

.btn-secondary {
    background: #8b5e3c;
    color: #fff;
    border: 1px solid #8b5e3c;
}

.btn-secondary:hover {
    background: #5a3a24;
    border-color: #5a3a24;
    text-decoration: none;
}

.section {
    padding: 100px 0;
}

.section-light {
    background: #f5f3ef;
}

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

.section-title h2 {
    font-family: 'Georgia', serif;
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 15px;
    color: #2c2c2c;
}

.section-title .divider {
    width: 60px;
    height: 1px;
    background: #8b5e3c;
    margin: 0 auto 15px;
}

.section-title p {
    color: #777;
    font-family: -apple-system, sans-serif;
    font-size: 1rem;
}

.grid {
    display: grid;
    gap: 30px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
    background: #fff;
    border-radius: 0;
    padding: 40px 30px;
    transition: all 0.4s;
    border: 1px solid transparent;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.card h3 {
    font-family: 'Georgia', serif;
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 15px;
    color: #2c2c2c;
}

.card p {
    color: #666;
    font-size: 0.95rem;
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    opacity: 0.7;
}

.artwork-card {
    overflow: hidden;
    padding: 0;
    background: #fff;
    transition: all 0.4s;
    border: 1px solid transparent;
    cursor: pointer;
}

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

.artwork-card .artwork-image {
    height: 300px;
    background: #e8e4df;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 3rem;
    overflow: hidden;
    position: relative;
}

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

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

.artwork-card .artwork-image::after {
    content: '\00D7';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.artwork-card:hover .artwork-image::after {
    opacity: 0;
}

.artwork-card .view-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

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

.artwork-card .view-overlay span {
    color: #fff;
    font-family: Georgia, serif;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 10px 25px;
    border: 1px solid #fff;
}

.artwork-card .artwork-info {
    padding: 25px;
}

.artwork-card .artwork-info h3 {
    margin-bottom: 8px;
}

.artwork-card .artwork-info .artwork-category {
    font-family: -apple-system, sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8b5e3c;
    margin-bottom: 10px;
}

.artwork-card .artwork-info p {
    font-size: 0.9rem;
    color: #888;
}

.testimonial {
    background: #fff;
    padding: 40px;
    border: 1px solid #e8e4df;
    position: relative;
}

.testimonial::before {
    content: '\201C';
    font-family: 'Georgia', serif;
    font-size: 5rem;
    color: #e8e4df;
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
    position: relative;
}

.testimonial cite {
    font-style: normal;
    font-weight: 600;
    color: #8b5e3c;
    font-family: -apple-system, sans-serif;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-family: -apple-system, sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #555;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-family: -apple-system, sans-serif;
    font-size: 1rem;
    background: #fafafa;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8b5e3c;
    background: #fff;
}

.form-group textarea {
    height: 160px;
    resize: vertical;
}

.alert {
    padding: 15px 20px;
    margin-bottom: 25px;
    font-family: -apple-system, sans-serif;
    font-size: 0.9rem;
}

.alert-success {
    background: #f0f7f0;
    color: #2d5a2d;
    border-left: 3px solid #5a8a5a;
}

.alert-error {
    background: #fdf0f0;
    color: #8a2d2d;
    border-left: 3px solid #c05050;
}

.footer {
    background: #1a1a2e;
    color: #fff;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 50px;
}

.footer h3 {
    font-family: 'Georgia', serif;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.footer p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul a {
    color: rgba(255,255,255,0.5);
    font-family: -apple-system, sans-serif;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer ul a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255,255,255,0.3);
    font-family: -apple-system, sans-serif;
    font-size: 0.85rem;
}

.page-header {
    background: #1a1a2e;
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-family: 'Georgia', serif;
    font-size: 2.8rem;
    font-weight: 400;
    letter-spacing: 2px;
}

.page-header p {
    opacity: 0.5;
    font-family: -apple-system, sans-serif;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.medium-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(139,94,60,0.1);
    color: #8b5e3c;
    font-family: -apple-system, sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 0;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #faf9f7;
        flex-direction: column;
        padding: 25px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        padding: 100px 0;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 60px 0;
    }

    .page-header + .section [style*="text-align: center"] .btn,
    .section > .container > [style*="text-align: center"] .btn {
        display: block;
        margin: 4px 0 !important;
    }
}

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.92);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    animation: lightboxFadeIn 0.3s ease;
}

@keyframes lightboxFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.lightbox-info {
    text-align: center;
    margin-top: 20px;
    color: #fff;
}

.lightbox-info h3 {
    font-family: Georgia, serif;
    font-weight: 400;
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.lightbox-info .lightbox-category {
    font-family: -apple-system, sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #c9a96e;
    margin-bottom: 8px;
}

.lightbox-info p {
    font-size: 0.95rem;
    color: #bbb;
    max-width: 600px;
    margin: 0 auto;
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    line-height: 1;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
    padding: 20px;
}

.lightbox-nav:hover {
    opacity: 1;
}

.lightbox-prev {
    left: 10px;
}

.lightbox-next {
    right: 10px;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #777;
    font-size: 0.85rem;
}