/* ================================== 
WEB FONTS
================================== */
/* Montserrat */
@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat/montserrat-regular-webfont.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat-bold";
    src: url("../fonts/Montserrat/montserrat-bold-webfont.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Playfair Display";
    src: url("../fonts/playfair-display/playfair-display-v40-latin-regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Natube Brush */
@font-face {
    font-family: "Natube Brush";
    src: url("../fonts/Natube-Brush/natube-webfont.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/*====================================
UNIVERSAL
=================================== */

/* Defaults */
body {
    font-family: "Montserrat", sans-serif;
    background: #fafafa;
}
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
}

.site-header {
    padding-top: 20px;
    background: #fff;
    border-bottom: #f1f1f1ff solid 1px;
}

.site-footer {
    padding: 20px 40px;
    background: #fff;
    border-top: #f1f1f1ff solid 1px;
}

a {
    text-decoration: none !important;
}

/* ===================================
LOGO
=================================== */
/* ===== Logo Styling ===== */

.site-logo {
    display: block;
    max-width: 220px;   /* Adjust this value to your preferred max size */
    width: 100%;
    height: auto;
    margin: 0 auto 2rem;   /* Centers the logo and adds spacing below */
}

@media (max-width: 600px) {
    .site-logo {
        max-width: 160px;  /* Smaller size on phones */
    }
}


/* ====================================
LANDING PAGE
==================================== */

/* Full-bleed landing container */
.landing-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url("../images/painting-ipad.jpg") center/cover no-repeat;
    position: relative;

    /* Remove default spacing */
    margin: 0;
    padding: 0;
    width: 100vw;   /* full viewport width */
    overflow: hidden; /* prevent scrollbars if image slightly overflows */
}

.landing-container::before {
    /* subtle dark overlay for readability */
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.landing-content {
    position: relative;
    text-align: center;
    z-index: 10;
    color: white;
    max-width: 90%;
    width: 480px;
    padding: 20px;
}

/* Language Buttons */
.language-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lang-btn {
    display: block;
    padding: 14px 20px;
    background: rgba(255,255,255,0.92);
    color: black;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 1.5px;
    border-radius: 4px;
    transition: all 0.25s ease;
    font-family: "Montserrat", sans-serif;
}

.lang-btn:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

/* ============================================
MENU
============================================ */
/* Header and logo stacking */
.site-header {
    display: flex;
    flex-direction: column; /* stack logo and menu */
    align-items: center;
    padding: 1rem 2rem;
    background: #fff;
    position: relative;
    z-index: 10;
}

/* Hamburger button */
.menu-toggle {
    display: none; /* desktop hidden */
    background: none;
    border: none;
    font-size: 3rem;
    cursor: pointer;
    margin-top: 0.5rem;
}

/* Menu container */
.main-menu-container {
    width: 100%;
}

/* Desktop menu */
.main-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
    font-family: 'Montserrat', sans-serif;
}

.main-menu li a {
    text-decoration: none;
    color: #222;
    font-size: 1.25rem;
    transition: color 0.3s;
}

.main-menu li a:hover,
.main-menu li.current-menu-item a {
    color: #376183; /* accent color */
}

.menu-close {
    display: none;
}

/* Mobile */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-menu-container {
        position: fixed;
        top: 0;
        right: 0;
        width: 250px;
        height: 100vh;
        background: #fff;
        box-shadow: -2px 0 8px rgba(0,0,0,0.2);
        transform: translateX(100%); /* hidden offscreen */
        transition: transform 0.3s ease;
        padding: 3rem 1.5rem;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        z-index: 999;
    }

    .main-menu-container.active {
        transform: translateX(0);
    }

    .main-menu {
        flex-direction: column;
        gap: 1.5rem;
    }

    .main-menu li a {
        font-size: 1.2rem;
    }

    /* Close button inside menu */
    .menu-close {
        display: block;
        background: none;
        border: none;
        font-size: 2.5rem;
        align-self: flex-end;
        cursor: pointer;
        margin-bottom: 2rem;
    }
}

/* 
-----------------------------------
GLOBAL PAGE WRAPPER 
-----------------------------------
*/
.page-wrapper {
    max-width: 1440px;
    margin: 40px auto;
    background: #fff;
    border: 1px solid #f1f1f1;
    padding: 2rem; /* increased slightly for breathing room */
    box-sizing: border-box;
}

/*
-----------------------------------
HOME PAGE GALLERY GRID
-----------------------------------
*/
.home-gallery-container {
    width: 100%;
}

.section-title {
    font-family: "Playfair Display";
    font-size: 2rem;
    margin: 20px auto;
    text-align: center;
}

.home-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* two columns on desktop */
    gap: 40px;
    margin-top: 30px;
}

/* One column layout on mobile */
@media (max-width: 768px) {
    .home-gallery-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/*
-----------------------------------
PAINTING CARD
-----------------------------------
*/
.painting-card {
    text-align: center;
}

.painting-image-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
}

/* Image styling */
.painting-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.25s ease;
}

.painting-card:hover .painting-image {
    transform: scale(1.02);
}

/*
-----------------------------------
TITLE UNDER IMAGE
-----------------------------------
*/
.grid-painting-title {
    margin-top: 12px;
    font-family: "Playfair Display";
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #333;
    text-decoration: none !important;
}

.grid-painting-title a {
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #333;
    text-decoration: none !important;
}

.grid-painting-title a:hover {
    color: #376183;
}

/*
-----------------------------------
VIEW ALL BUTTON
-----------------------------------
*/
.view-all-wrapper {
    text-align: center;
    margin-top: 50px;
}

.view-all-button {
    display: inline-block;
    padding: 12px 28px;
    background: #376183;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.25s ease;
}

.view-all-button:hover {
    background: #444;
}

/*
-----------------------------------
NO PAINTINGS MESSAGE
-----------------------------------
*/
.no-paintings-msg {
    text-align: center;
    font-style: italic;
    margin-top: 20px;
}

/* -------------------------------------------------------
   PAINTING DETAIL PAGE LAYOUT
------------------------------------------------------- */

.painting-detail-wrapper {
    margin-top: 60px;
    margin-bottom: 60px;
}

/* GRID LAYOUT */
.painting-detail-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;  /* Left 1/3, right 2/3 */
    gap: 40px;
    align-items: start;
}

/* -----------------------------
   LEFT COLUMN (TEXT SECTION)
----------------------------- */
.painting-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.painting-title {
    font-family: "Playfair Display";
    font-size: 2rem;
    font-weight: 500;
    margin: 0;
    text-align: left;
}

.painting-description {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
}

.painting-sku {
    font-size: 0.95rem;
    color: #555;
}

.painting-sizes {
    font-size: 1rem;
    color: #333;
}

/* BUY BUTTON */
.buy-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 20px;
    background: black;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: opacity .2s ease;
}

.buy-button:hover {
    opacity: 0.8;
}

/* -----------------------------
   RIGHT COLUMN (IMAGE SECTION)
----------------------------- */
.painting-image-container {
    width: 100%;
}

.painting-large-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

/* -------------------------------------------------------
   RESPONSIVE LAYOUT
------------------------------------------------------- */
@media (max-width: 900px) {
    .painting-detail-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 30px;
    }

    .painting-title {
        text-align: center;
    }

    .painting-info {
        align-items: center;
        text-align: center;
    }
}

/* ======================================================
ABOUT STEPHEN
====================================================== */
.about-stephen-section {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid #e5e5e5;
}

.about-photo-placeholder {
    width: 100%;
    max-width: 400px;
    height: 300px;
    margin: 0 auto 40px auto;
    background: #f3f3f3;
    border: 1px solid #ddd;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
    color: #333;
    font-size: 1.05rem;
}

/* ---------------------------------------------
   ABOUT PRINTS SECTIONS (EN & IT)
--------------------------------------------- */

.about-prints-section {
    margin-top: 60px;
    margin-bottom: 80px;
    padding: 20px 0;
    border-top: 1px solid #e6e6e6;
}

/* Body Text */
.about-prints-section p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #333;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

/* Optional: emphasize key terms */
.about-prints-section strong {
    font-weight: 550;
    color: #333;
}

/* Optional: subtle fade-in animation */
.about-prints-section {
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    .about-prints-section .section-title {
        font-size: 1.7rem;
    }
    
    .about-prints-section p {
        font-size: 1rem;
    }
}

/* ======================================================
CONTACT PAGE
======================================================= */
/* CONTACT PAGE */

.contact-title {
    font-family: "Playfair Display", serif;
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 700px;
    margin: 0 auto;
}

.contact-form label {
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    font-size: 1rem;
    border-radius: 4px;
}

.contact-submit {
    margin-top: 10px;
    padding: 12px 20px;
    background: black;
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity .2s ease;
}

.contact-submit:hover {
    opacity: .8;
}

.contact-success {
    color: green;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 20px;
}

/* Honeypot — hide from humans but visible to bots */
.hp-field {
    display: none !important;
}

/* ===================================================
 SALES
=================================================== */
/* Store-style layout for size options */
.painting-sizes {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.shipping-note {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 10px;
    font-style: italic;
}

/* Each size row */
.size-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 20px;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fafafa;
}

/* Size name */
.size-label {
    font-size: 1rem;
    font-weight: 600;
    color: #111;
}

/* Price */
.size-price {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

/* Plugin button container */
.size-button {
    display: flex;
    justify-content: flex-end;
}

/* ===========================================
GALLERY PAGE
=========================================== */
/* Full Gallery Page — Match Home Grid Exactly */
.full-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 per row */
    gap: 40px;
    margin-top: 40px;
}

/* Painting cards — reuse home structure */
.full-gallery-grid .painting-card {
    text-align: center;
}

.full-gallery-grid .painting-title {
    font-family: "Playfair Display";
    font-size: 1.2rem; /* same as home */
    font-weight: 500;
    margin-top: 12px;
	text-align: center;
}

/* Responsive: 1 per row on mobile */
@media (max-width: 700px) {
    .full-gallery-grid {
        grid-template-columns: 1fr;
    }
}

