/*
Theme Name: SoDayi Studio
Theme URI: https://sodayi.studio
Author: SoDayi
Author URI: https://sodayi.studio
Description: Custom theme with a gallery featuring cutlines and an AI Art Appraisal portal.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sodayi-studio
*/

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f9f9f9;
    color: #333;
}

header, footer {
    background: #fff;
    padding: 20px;
    border-bottom: 1px solid #ddd;
    text-align: center;
}

footer {
    border-bottom: none;
    border-top: 1px solid #ddd;
    margin-top: 40px;
}

/* Navigation Menu Dropdown */
.dropdown-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}
.dropdown-menu-list li {
    display: block;
    border-bottom: 1px solid #f5f5f5;
}
.dropdown-menu-list li:last-child {
    border-bottom: none;
}
.dropdown-menu-list a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: background 0.2s;
}
.dropdown-menu-list a:hover {
    background: #f9f9f9;
    color: #000;
}

/* Gallery Grid */
.gallery-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.gallery-wrap h1 {
    text-align: center;
    margin-bottom: 40px;
}

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

.gallery-item {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.gallery-item h3 {
    margin: 15px 0 5px 0;
    font-size: 1.2rem;
}

.cutline {
    font-size: 0.95em;
    color: #666;
    font-style: italic;
    line-height: 1.4;
}

/* Appraisal Page */
.appraisal-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.pricing-options {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.pricing-card {
    flex: 1;
    min-width: 200px;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    background: #fafafa;
}

.pricing-card h4 {
    margin-top: 0;
    color: #444;
}

.pricing-card .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 15px;
}

.buy-button {
    display: inline-block;
    padding: 10px 15px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}

.buy-button:hover {
    background: #333;
}

/* Venues and Display Styles */

/* 1. Museum Venue (Clean Blueprint / Drafting Paper) */
.gallery-item.venue-museum {
    background-image: url('images/museum-sketch.jpg');
    background-size: cover;
    background-position: center;
    border: 1px solid #c2d4e6;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    padding: 15% 10% 5% 45%; /* Pushes the artwork to the right half where the focal point is */
}
.gallery-item.venue-museum .cutline {
    font-family: serif;
    border-top: 1px solid rgba(100, 150, 200, 0.3);
    padding-top: 10px;
    margin-top: 10px;
    background: rgba(255,255,255,0.9); /* make readable against sketch */
    padding: 10px;
}

/* 2. Loft Venue (Architectural Brick/Wood Sketch) */
.gallery-item.venue-loft {
    background-image: url('images/loft-sketch.jpg');
    background-size: cover;
    background-position: center;
    border: 1px dashed rgba(0,0,0,0.1);
    box-shadow: 2px 4px 15px rgba(0,0,0,0.2);
    position: relative;
    padding: 25% 20% 5% 20%; /* Pushes the artwork to the center wall area */
}
.gallery-item.venue-loft .cutline {
    background: rgba(255,255,255,0.9);
    padding: 10px;
    margin-top: 10px;
}

/* 3. Art Studio Venue (Messy Draft Paper) */
.gallery-item.venue-art-studio {
    background-image: url('images/art-studio-sketch.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    border-radius: 0;
    position: relative;
    padding: 15% 15% 5% 45%; /* Pushes artwork to the right side where the easel is */
}
.gallery-item.venue-art-studio h3, 
.gallery-item.venue-art-studio .cutline a {
    color: #fff;
}
.gallery-item.venue-art-studio .cutline {
    background: rgba(0,0,0,0.8);
    padding: 10px;
    margin-top: 10px;
    color: #eee;
}

/* Display Styles */
/* A. Digital Display (Museum) */
.gallery-item.style-digital-display img {
    border: 12px solid #111;
    border-radius: 4px;
    box-shadow: inset 0 0 10px rgba(255,255,255,0.2), 0 0 15px rgba(0,0,0,0.5);
    background: #000;
}

/* B. Framed Picture (Loft) */
.gallery-item.style-framed-picture img {
    border: 15px solid #4a3b32; /* Wood frame */
    padding: 20px;
    background: #fff; /* Matting */
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

/* C. Mural (Art Studio) */
.gallery-item.style-mural img {
    border: none;
    border-radius: 0;
    width: 100%;
    margin-left: -15px;
    margin-right: -15px;
    width: calc(100% + 30px); /* Bleed out of the padding */
    margin-top: -15px;
    box-shadow: none;
}

/* Placements for 3D Objects */

/* 1. Wall Mounted */
.gallery-item.placement-wall-mounted img {
    box-shadow: 10px 15px 20px rgba(0,0,0,0.4), inset -5px -5px 15px rgba(0,0,0,0.1);
    border-radius: 8px; /* Slight rounding to imply 3D shape if transparent bg */
    transform: scale(0.95); /* Slightly recessed */
}

/* 2. Shelf */
.gallery-item.placement-shelf {
    padding-bottom: 30px;
    position: relative;
}
.gallery-item.placement-shelf::after {
    content: '';
    display: block;
    width: 90%;
    height: 15px;
    background: #8b5a2b; /* Wood color */
    border-bottom: 5px solid #5a3a1b; /* Shelf lip */
    border-radius: 3px;
    margin: 0 auto;
    position: absolute;
    bottom: 10px;
    left: 5%;
    box-shadow: 0 5px 10px rgba(0,0,0,0.3);
}
.gallery-item.placement-shelf img {
    position: relative;
    z-index: 2;
    margin-bottom: 0;
}

/* 3. Floor / Pedestal */
.gallery-item.placement-floor {
    border-bottom: 25px solid #eaeaea; /* Light pedestal/floor */
    box-shadow: inset 0 -10px 10px rgba(0,0,0,0.05), 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    margin-bottom: 20px;
}
.gallery-item.placement-floor::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: transparent;
    box-shadow: 0 25px 20px rgba(0,0,0,0.4); /* Deep floor shadow */
    position: absolute;
    bottom: -25px;
    left: 0;
}

