/* ==========================================================
   GLOBAL VARIABLES & RESET
   ========================================================== */
:root {
    --bg-dark: #0a1128;
    --bg-light: #1c2541;
    --text-light: #f4f4f9;
    --gold-primary: #d4af37;
    --gold-hover: #f3e5ab;
    --gold-shadow: rgba(212, 175, 55, 0.3);
    --border-radius: 8px;
    --header-height: 70px;
    --footer-height: 60px;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-light) 100%);
    background-attachment: fixed;
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ==========================================================
   STICKY HEADER & FOOTER
   ========================================================== */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
    background: rgba(10, 17, 40, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 2px solid var(--gold-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    color: var(--gold-primary);
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1.5px;
    text-decoration: none;
    text-transform: uppercase;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover, nav a.active {
    color: var(--gold-primary);
    border-bottom: 2px solid var(--gold-primary);
    padding-bottom: 4px;
}

main {
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

footer {
    position: sticky;
    bottom: 0;
    z-index: 100;
    height: var(--footer-height);
    background: rgba(10, 17, 40, 0.95);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--gold-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--gold-primary);
    font-size: 0.9rem;
}

/* ==========================================================
   COMMON COMPONENTS & TYPOGRAPHY
   ========================================================== */
h1, h2, h3 {
    color: var(--gold-primary);
    margin-bottom: 1rem;
}

p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: transparent;
    color: var(--gold-primary);
    border: 2px solid var(--gold-primary);
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--gold-primary);
    color: var(--bg-dark);
    box-shadow: 0 0 12px var(--gold-shadow);
}

/* ==========================================================
   LANDING PAGE (INDEX)
   ========================================================== */
.hero {
    text-align: center;
    padding: 3rem 1rem;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    letter-spacing: 2px;
}

.about-section {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.about-img {
    width: 250px;
    height: 250px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--gold-primary);
    box-shadow: 0 0 15px var(--gold-shadow);
}

.about-content {
    flex: 1;
    min-width: 280px;
}

/* ==========================================================
   GALLERY & GRID (PORTRAIT 8x10 ASPECT RATIO)
   ========================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.art-card {
    background: rgba(10, 17, 40, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.art-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--gold-shadow);
    border-color: var(--gold-primary);
}

/* 8x10 Portrait aspect ratio container */
.art-card-img-wrapper {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #000;
}

.art-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.art-card-info {
    padding: 1rem;
    text-align: center;
}

.art-title {
    font-size: 1.1rem;
    color: var(--gold-primary);
    margin-bottom: 0.3rem;
}

.art-price {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ==========================================================
   MOBILE-OPTIMIZED MODAL PREVIEW
   ========================================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.modal-content {
    background: var(--bg-dark);
    border: 2px solid var(--gold-primary);
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.8rem;
    color: var(--gold-primary);
    cursor: pointer;
}

.modal-img-wrapper {
    width: 100%;
    aspect-ratio: 4 / 5;
    margin-bottom: 1rem;
}

.modal-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-details {
    text-align: center;
    width: 100%;
}

.payment-options {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    header { padding: 0 1rem; }
    .about-section { text-align: center; justify-content: center; }
    .hero h1 { font-size: 1.8rem; }
}
/* ==========================================================
   CONTACT FORM STYLES
   ========================================================== */
.contact-container {
    max-width: 650px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.form-group label {
    color: var(--gold-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(10, 17, 40, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: var(--border-radius);
    color: var(--text-light);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 8px var(--gold-shadow);
}

.form-group select option {
    background: var(--bg-dark);
    color: var(--text-light);
}

.btn-submit {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.8rem;
    font-size: 1rem;
}
@keyframes shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.logo {
    color: var(--gold-primary); /* Fallback */
    background: linear-gradient(90deg, #b38728, #fbf5b7, #d4af37, #f3e5ab, #aa771c);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s linear infinite;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1.5px;
    text-decoration: none;
    text-transform: uppercase;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.3));
}
