/* Global Styles */
:root {
    --bg-color: #eaeaea;
    /* Soft light gray */
    --text-color: #4a4a4a;
    /* Soft dark gray for text */
    --accent-color: #e0c097;
    /* Soft beige/gold for accents*/
    --header-bg: #ffffff;
    /* White header */
    --frame-color: #2b2b2b;
    /* Dark frame color */
    --mat-color: #fff;
    /* White matting for frames */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Header */
header {
    background-color: var(--header-bg);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
    position: relative;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-left img {
    border-radius: 50%;
    object-fit: cover;
}

.header-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.header-title h1 {
    margin: 0;
    font-size: 2em;
    color: #2c3e50;
    font-weight: 750;
    /* Slightly bolder */
    letter-spacing: 1px;
}

.header-info {
    text-align: right;
    font-size: 0.9em;
    color: #2c3e50;
    /* Match title color for consistency and contrast */
}

.header-info p {
    margin: 2px 0;
}

.instagram-link {
    color: #C13584;
    height: auto;
    /* Maintain aspect ratio */
    object-fit: contain;
}

/* Introduction */
.intro {
    max-width: 800px;
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
    padding: 0 20px;
}

.intro p {
    font-size: 1.2em;
    color: #555;
}

.highlight {
    color: #b35a20;
    /* Darker, richer terracotta/orange for better visibility */
    font-weight: 600;
}

/* Gallery */
.gallery-title {
    text-align: center;
    margin-bottom: 30px;
    font-weight: 300;
    font-size: 2.5em;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 20px 60px 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Framed Effect */
.framed-image {
    width: 100%;
    max-width: 350px;
    height: auto;
    border: 15px solid var(--mat-color);
    /* The Mat */
    outline: 10px solid var(--frame-color);
    /* The Frame */
    box-shadow:
        0 10px 20px rgba(0, 0, 0, 0.3),
        /* Drop shadow */
        inset 0 0 20px rgba(0, 0, 0, 0.2);
    /* Inner shadow for depth */
    margin-bottom: 20px;
    background-color: white;
    transition: transform 0.3s ease;
}

.framed-image img {
    filter: contrast(1.1) saturate(1.1);
    /* Enhance "quality" look */
}

.framed-image:hover {
    transform: scale(1.02);
}

.item-info h3 {
    margin: 10px 0 5px;
    font-size: 1.2em;
}

.item-info p {
    margin: 5px 0;
    font-size: 0.9em;
    color: #777;
}

.price {
    font-weight: bold;
    color: #2c3e50;
    margin-top: 5px;
}

/* Responsive */
@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .header-info {
        text-align: center;
    }

    .header-title {
        position: static;
        transform: none;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Sidebar Navigation */
.sidebar {
    height: 100%;
    width: 250px;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: -250px;
    background-color: #000;
    /* Black background */
    color: #fff;
    /* White text */
    overflow-x: hidden;
    transition: 0.3s;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    background-color: #1a1a1a;
    /* Darker black/gray for header */
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

.sidebar-header h2 {
    margin: 0;
    font-size: 1.5em;
}

.close-btn {
    background: none;
    border: none;
    font-size: 2em;
    cursor: pointer;
    color: #fff;
}

.sidebar-menu {
    padding: 20px;
}

.sidebar-menu a {
    padding: 10px 15px;
    text-decoration: none;
    font-size: 1.2em;
    color: #ccc;
    /* Light gray text */
    display: block;
    transition: 0.3s;
}

.sidebar-menu a:hover {
    background-color: #333;
    /* Dark gray hover */
    color: #fff;
}

/* Overlay */
.overlay {
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 900;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
}

.overlay.active {
    display: block;
}

/* Menu Toggle Button */
.menu-toggle {
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
    color: #2c3e50;
    margin-right: 15px;
}


/* Banner Images Container */
.banner-images-container {
    width: 100%;
    /* Restore immersive height as requested in the reference image */
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #000;
}

.banner-image {
    flex: 1;
    width: 33.333%;
    height: 100%;
    /* Force image to fill the slot exactly as requested (matches the 'fill' state user liked) */
    object-fit: fill;
    display: block;
    margin: 0;
    padding: 0;
    border: none;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.form-control {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}