/* style.css - OLSENDENIS ELEVATED MINIMALISM */

/* --- 1. VARIABLES & RESET --- */
:root {
    --color-black: #1a1a1a;       /* Soft charcoal, not harsh black */
    --color-dark-grey: #333333;   /* Hover state */
    --color-light-grey: #e5e5e5;  /* Subtle borders */
    --color-white: #ffffff;
    --font-serif: 'Cinzel', serif;
    --font-sans: 'Montserrat', sans-serif;
    --spacing-std: 30px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    background-color: var(--color-white);
    color: var(--color-black);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased; /* Makes fonts look sharper on Mac */
}

a { text-decoration: none; color: inherit; transition: 0.3s ease; }
ul { list-style: none; padding: 0; margin: 0; }

/* --- 2. TYPOGRAPHY --- */
h1, h2, h3, .brand-logo {
    font-family: var(--font-serif);
    font-weight: 400;
    letter-spacing: 1px;
    margin-top: 0;
}

h1 { font-size: 2.5rem; margin-bottom: 20px; }
p { font-weight: 300; letter-spacing: 0.5px; color: #444; }

/* --- 3. HEADER & NAV --- */
header {
    padding: 40px 5%;
    text-align: center;
    position: relative;
    border-bottom: 1px solid transparent; /* Keeps layout stable */
}

.brand-logo {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 25px;
    letter-spacing: 3px; /* Extra spacing for luxury feel */
}

nav ul {
    display: flex;
    justify-content: center;
    gap: 40px;
}

nav a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    position: relative;
}

nav a:hover, nav a.active {
    color: var(--color-black);
}

/* Subtle underline on hover */
nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-black);
    transition: 0.3s;
}
nav a:hover::after { width: 100%; }

.utility-nav {
    position: absolute;
    top: 45px;
    right: 5%;
}

/* --- 4. FORMS (Minimalist) --- */
input, select, textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid var(--color-light-grey);
    background: transparent;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    transition: 0.3s;
    outline: none;
    border-radius: 0; /* Remove default browser rounded corners */
}

input:focus, textarea:focus {
    border-color: var(--color-black);
}

label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    color: #666;
}

/* --- 5. BUTTONS (Thin Outline Style) --- */
button, .btn {
    display: inline-block;
    background: transparent;
    color: var(--color-black);
    border: 1px solid var(--color-black);
    padding: 15px 40px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%; /* Default to full width in containers */
}

button:hover, .btn:hover {
    background: var(--color-black);
    color: var(--color-white);
}

/* --- 6. PAGE: GALLERY (Masonry Grid) --- */
.gallery-container {
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 40px;
    column-count: 3; /* Creates the masonry brick effect */
    column-gap: 30px;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 30px;
    position: relative;
}

.gallery-item img {
    width: 100%;
    display: block;
    transition: opacity 0.3s;
}

/* Hover Overlay */
.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.9); /* White fade instead of black */
    opacity: 0;
    transition: 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.gallery-item:hover .overlay { opacity: 1; }
.gallery-item:hover img { filter: grayscale(100%); } /* Optional: pure B&W on hover */

.art-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--color-black);
}

.art-cat {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #666;
}

/* --- 7. PAGE: CONTACT & GIFT (Centered Layouts) --- */
.center-container {
    max-width: 600px;
    margin: 80px auto;
    padding: 0 20px;
    text-align: center;
}

.split-container {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 40px;
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.split-image, .split-content { flex: 1; }
.split-content { text-align: left; }
.price-display { font-size: 2rem; font-family: var(--font-serif); margin: 20px 0; display: block; }

/* --- MOBILE RESPONSIVE --- */
/* --- MOBILE MENU BUTTON (Default Hidden) --- */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-black);
    position: absolute;
    top: 35px;
    left: 5%; /* Places it on the left */
    z-index: 1001;
    padding: 0;
    width: auto;
}

/* --- MOBILE RESPONSIVE STYLES --- */
@media (max-width: 768px) {
    /* 1. Header Layout */
    header { padding: 20px 5%; height: 80px; }
    
    .brand-logo { 
        font-size: 1.8rem; 
        text-align: center; /* Center logo on mobile */
        margin-bottom: 0;
        width: 100%;
    }
    
    .utility-nav { top: 35px; right: 5%; } /* Keep cart on right */
    
    .mobile-menu-btn { display: block; } /* Show hamburger */

    /* 2. The Menu (Hidden by default) */
    nav {
        display: none; /* Hidden until toggled */
        position: absolute;
        top: 80px; /* Pushes it below header */
        left: 0;
        width: 100%;
        background: var(--color-white);
        border-bottom: 1px solid var(--color-light-grey);
        padding: 20px 0;
        z-index: 1000;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    }
    
    /* This class is added by JS to show the menu */
    nav.active { display: block; } 

    nav ul {
        flex-direction: column;
        gap: 25px;
    }
    
    /* 3. Adjust Layouts for Mobile */
    .gallery-container { column-count: 1; padding: 0 20px; }
    .split-container { flex-direction: column; gap: 40px; margin: 40px auto; }
}