/* =====================================
   BoxlaWood CSS — v2.2 CLEAN
===================================== */

/* -----------------------------------
   DESIGN SYSTEM
----------------------------------- */
:root {
    --bg: #f4efe7;
    --bg-alt: #e9e2d7;
    --text: #3b2f2f;
    --accent: #a67c52;
    --card-bg: #f0e8dd;
    --radius: 10px;
    --spacing: 1.5rem;
}

/* -----------------------------------
   GLOBAL
----------------------------------- */
html {
    font-size: 18px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.7;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.section {
    padding: 4rem 0;
}

h1, h2, h3 {
    margin-top: 0;
    color: var(--text);
    letter-spacing: 0.03em;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.4rem; }

/* -----------------------------------
   NAVBAR
----------------------------------- */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);
    z-index: 1000;
}

.nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.nav a {
    color: white;
    text-decoration: none;
    margin-left: 1rem;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: var(--accent);
}

.nav-logo {
    font-size: 1.7rem;
    letter-spacing: 0.08em;
    font-weight: 600;
}

/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(0,0,0,0.8);
    min-width: 160px;
    z-index: 1;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    display: block;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a:hover {
    background-color: var(--accent);
}

/* -----------------------------------
   HERO
----------------------------------- */
.hero {
    background: url("../assets/img/from_assholes/misc/boxlalogoresized.jpg") no-repeat center/cover;
    min-height: 100vh;

    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 7rem;
    text-align: center;
}

.logo-big {
    font-size: 5rem;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
    color: #f4efe7;
    text-shadow: 0 4px 10px rgba(0,0,0,0.6);
}

.hero-box {
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(4px);
    padding: 2rem 3rem;
    border-radius: 12px;
    max-width: 700px;
    border: 1px solid rgba(255,255,255,0.15);
}

.hero-box p {
    font-size: 1.4rem;
    color: #f4efe7;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

/* -----------------------------------
   JOURNEY
----------------------------------- */
#journey {
    background: url("../assets/img/from_assholes/misc/ride.png") repeat center;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    color: white;
    min-height: 30vh;
}

#journey .container {
    text-align: center;
    padding: 4rem 0;
}

#journey h2 {
    font-size: 2.4rem;
    color: #f4efe7;
    text-shadow: 0 3px 8px rgba(0,0,0,0.6);
    margin-bottom: 1rem;
}

#journey p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0.8rem auto;
    color: #f4efe7;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

#journey p:last-child {
    font-size: 1rem;
    opacity: 0.8;
    font-style: italic;
}

/* -----------------------------------
   GALLERY
----------------------------------- */
.gallery-wrapper { position: relative; }

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--accent);
    cursor: pointer;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.6);
    border-radius: 8px;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    z-index: 5;
}

.gallery-arrow.left { left: -10px; }
.gallery-arrow.right { right: -10px; }

.gallery-arrow:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-50%) scale(1.1);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing);
    padding: var(--spacing);
    margin-top: 2rem;
}

.gallery-grid img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: var(--radius);
    background: var(--card-bg);

    filter: contrast(1.08) saturate(0.85) brightness(0.92);
    opacity: 0;
    transform: scale(1.08) translateY(20px);

    transition: transform 1s ease, filter 1s ease, opacity 0.8s ease;
}

.gallery-grid img:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.gallery-grid img.visible {
    opacity: 1;
    transform: scale(1);
    filter: contrast(1.15) saturate(1.05) brightness(1);
    animation: cinematicZoom 12s ease-in-out infinite alternate;
}

@keyframes cinematicZoom {
    from { transform: scale(1); }
    to { transform: scale(1.03); }
}

/* -----------------------------------
   LIGHTBOX
----------------------------------- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.lightbox.active { display: flex; }

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox.active img { transform: scale(1); }

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: white;
    cursor: pointer;
    padding: 1rem;
}

.lightbox-nav:hover { color: var(--accent); }

/* -----------------------------------
   WOOD DIVIDER (NO TEXTURE)
----------------------------------- */
.wood-divider {
    width: 100%;
    height: 140px;
    overflow: hidden;
    line-height: 0;
    background: linear-gradient(to bottom, #f4efe7, #e9e2d7);
}

.wood-divider svg {
    width: 100%;
    height: 100%;
    display: block;
    animation: waveMove 10s ease-in-out infinite alternate;
}

.layer1 {
    fill: #5c4033;
}

.layer2 {
    fill: #a67c52;
    opacity: 0.6;
}

@keyframes waveMove {
    from { transform: translateX(0); }
    to { transform: translateX(-30px); }
}

/* -----------------------------------
   FOOTER
----------------------------------- */
.footer {
    position: relative;
    background-image: 
        url("../assets/img/from_assholes/misc/evlogia.jpg"),
        url("../assets/img/from_assholes/misc/boxlaRevolut.png");
    background-repeat: repeat, no-repeat;
    background-size: auto, 150px;
    background-position: center, right center;

    padding: 3rem 0;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}

.footer h3 {
    color: #f5c600;
    font-size: 2rem;
}

.footer p {
    font-size: 1.05rem;
    margin: 0.5rem 0;
}

.footer a {
    display: inline-block;
    margin-top: 0.8rem;
    padding: 0.6rem 1.2rem;
    background: #f5c600;
    color: #000;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer a:hover {
    background: #ffd84d;
    transform: translateY(-2px);
}

.footer p strong {
    font-size: 1.2rem;
    display: block;
    margin-top: 1rem;
}

/* -----------------------------------
   EMAIL
----------------------------------- */
.email-input {
    padding: 0.9rem 1.2rem;
    border-radius: 8px;
    border: none;
    width: 280px;
    margin-top: 1rem;
    font-size: 1rem;
    outline: none;
}

.email-input:focus {
    box-shadow: 0 0 0 2px #f5c600;
}

/* -----------------------------------
   RESPONSIVE
----------------------------------- */
@media (max-width: 600px) {
    html { font-size: 16px; }
    .logo-big { font-size: 3.5rem; }
    h2 { font-size: 1.8rem; }
    .gallery-grid img { height: 200px; }
}