/* =====================================================================
   ZIVORA — About Us page
   (header & footer styles come from style.css)
   ===================================================================== */

:root {
    --about-text: #ffffff;
    --about-gray: #b3b3b3;
    --accent-gold: #c5a059;
}

/* --- MAIN SECTION --- */
.about-section {
    padding: 80px 10%;
    font-family: 'Inter', sans-serif;
    color: var(--about-text);
    background: transparent !important;   /* shows the dark animated background */
    overflow: hidden;
    position: relative;
    transition: transform 0.1s ease-out;
}

.about-page .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- TYPOGRAPHY --- */
.subtitle {
    font-size: 22px;
    letter-spacing: 2px;
    color: var(--about-gray);
    display: block;
    margin-bottom: 15px;
    border-left: 2px solid #fff;
    padding-left: 10px;
    text-transform: uppercase;
}

.main-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #fff !important;
}

.description {
    max-width: 800px;
    color: var(--about-gray);
    line-height: 1.8;
    text-align: left;
    font-weight: 300;
}

/* --- IMAGE GRID --- */
.image-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 40px;
    margin-top: 80px;
}

.img-box {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 1.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.img-box:hover img { transform: scale(1.05); }

.square-left {
    grid-column: 1 / span 7;
    height: 500px;
    border-radius: 20px;
}

.side-content {
    grid-column: 8 / span 5;
    align-self: center;
    padding-left: 20px;
}

.side-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    line-height: 1.2;
    margin: 20px 0;
    color: #fff !important;
}

.side-content p.small-text {
    max-width: 100%;
    line-height: 1.8;
    text-align: justify;
    color: var(--about-gray);
}

/* --- LANDSCAPE SLIDER --- */
.landscape-slider-container {
    width: 100%;
    height: 550px;
    position: relative;
    overflow: hidden;
    margin: 80px 0;
    border-radius: 4px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.l-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.l-slide.active { opacity: 1; }

.l-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
    border-radius: 4px;
}

.slide-overlay {
    position: absolute;
    bottom: 50px;
    left: 50px;
    color: #fff;
    z-index: 3;
    letter-spacing: 3px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

/* --- CONTACT BOX --- */
.contact-box {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-box h3 {
    font-size: 18px;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: #fff;
}

.btn-dark {
    display: inline-block;
    background: transparent;
    color: #fff;
    padding: 14px 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 25px;
    cursor: pointer;
    font-size: 12px;
    letter-spacing: 2px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-dark:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

/* --- PRE-LOADER --- */
#loader {
    position: fixed;
    inset: 0;
    background: #0d0d0d;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.loader-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    letter-spacing: 20px;
    color: #fff;
}

.letter {
    opacity: 0;
    display: inline-block;
    animation: revealLetter 1.4s forwards;
}
.letter:nth-child(2) { animation-delay: 0.1s; }
.letter:nth-child(3) { animation-delay: 0.2s; }
.letter:nth-child(4) { animation-delay: 0.3s; }
.letter:nth-child(5) { animation-delay: 0.4s; }
.letter:nth-child(6) { animation-delay: 0.5s; }

@keyframes revealLetter {
    0%   { opacity: 0; transform: translateY(15px); filter: blur(10px); }
    100% { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

.loader-hidden {
    opacity: 0;
    visibility: hidden;
    transition: 1s ease-in-out;
}

/* --- ANIMATED BACKGROUND --- */
#fluid-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #111111;
}

/* --- SCROLL REVEAL --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .image-grid {
        display: flex;
        flex-direction: column;
    }
    .square-left,
    .side-content {
        width: 100%;
        padding-left: 0;
    }
    .square-left { height: 380px; }
}

@media (max-width: 768px) {
    .about-section { padding: 50px 6%; }
    .main-title { font-size: 34px; }
    .subtitle { font-size: 16px; }
    .landscape-slider-container { height: 320px; margin: 50px 0; }
    .slide-overlay { left: 20px; bottom: 20px; font-size: 13px; }
    .loader-text { font-size: 1.6rem; letter-spacing: 12px; }
}
