/*
Theme Name: Skouras Portfolio
Author: Spyros Elefteriadis
Description: Custom minimalist portfolio theme based on Skouras Design PDFs.
Version: 1.0
*/

/* --- RESET & BASICS --- */
:root {
    --bg-color: #ffffff;
    --text-color: #111111;
    --accent-color: #666666;
    --font-main: 'Sofia Sans', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: opacity 0.3s; }
a:hover { opacity: 0.6; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 40px; }

/* --- HEADER STYLES --- */
.site-header {
    width: 100%;
    padding: 30px 0;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container-header {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- MOBILE ADJUSTMENTS --- */
@media (max-width: 768px) {
    .header-flex {
        flex-direction: column; /* Stacks menu under logo */
        gap: 20px;
        text-align: center;
    }

    .logo {
        font-size: 14px; /* Slightly smaller base font, but won't shrink further */
    }

    .main-nav ul {
        flex-direction: row; /* Keep items side-by-side or change to column for vertical list */
        gap: 20px;
        justify-content: center;
    }
    
    .container-header {
        padding: 0 20px;
    }
}

.logo {
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;

    flex-shrink: 0; /* Ensures logo never scales down */
    white-space: nowrap; /* Keeps logo on one line */
}

.logo .bracket { font-weight: 300; }
.logo strong { font-weight: 900; }

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: #000;
}

/* --- TICKER / MARQUEE STYLES --- */
.ticker-wrap {
    /* position: absolute; */
    position: relative;
    /* bottom: -45px; */
    width: 100%;
    overflow: hidden; /* Hides the text when it goes off screen */
    background: transparent; /* Or rgba(0,0,0,0.1) if you want a slight tint */
    padding: 0px 0;
    z-index: 2;
}

.ticker-track {
    display: flex;
    white-space: nowrap;
    width: fit-content;
    /* Duration: 20s (adjust for speed), linear timing for smoothness, infinite loop */
    animation: scroll-left-to-right 20s linear infinite;
}

.ticker-item {
    color: #000;
    font-size: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0 4vw;
    font-weight: 200;
}

/* Animation Logic for Left-to-Right:
   Start: -50% (Showing the second/duplicate half of the list)
   End: 0% (Showing the first half, which looks identical to the start of the duplicate)
*/
@keyframes scroll-left-to-right {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Mobile Adjustment */
/* @media (max-width: 768px) {
    .ticker-item {
        font-size: 14px;
        padding: 0 20px;
    }
} */

/* --- HOME ARTICLE SECTION --- */
/* --- SPLIT ARTICLE LAYOUT (30/70) --- */
.home-article {
    padding: 120px 0; /* Vertical breathing room */
    /* border-bottom: 1px solid #eee; */
}

.split-content-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 5%; /* Space between the two columns */
}

/* Left Column: 30% Width */
.split-title {
    flex: 0 0 30%;
}

.split-title h2 {
    /* font-size: 42px; */
    text-transform: uppercase;
    /* font-weight: 900; */
    line-height: 1;
    margin: 0;
    letter-spacing: -1px;
}

/* Right Column: 70% Width */
.split-text {
    flex: 0 0 65%; /* Adjusted to 65% to account for the 5% gap */
}

.split-text p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #333;
}

/* Responsive: Stack columns on tablets and mobile */
@media (max-width: 992px) {
    .split-content-row {
        flex-direction: column;
        gap: 40px;
    }
    
    .split-title, .split-text {
        flex: 0 0 100%;
        width: 100%;
    }

    .split-title h1 {
        font-size: 32px;
    }
}


/* --- 3x3 GRID MODULE --- */
.home-grid-wrapper {
    background-color: #f6f6f6;
}


.home-grid {
    padding: 80px 0;
}

.grid-3x3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
    gap: 40px 30px; /* 40px vertical gap, 30px horizontal */
}

.grid-item {
    position: relative;
}

.grid-image-wrapper {
    position: relative;
    overflow: hidden;
    background: #000;
}

.grid-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

/* Hover Effect: Dim image and show play icon */
.grid-item:hover img {
    transform: scale(1.05);
    opacity: 0.7;
}

.hover-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.grid-item:hover .hover-play {
    opacity: 1;
}

/* Info Text Styling */
.grid-info {
    margin-top: 15px;
}

.grid-info h3 {
    font-size: 17px;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0;
    /* letter-spacing: 1px; */
}

.grid-category {
    font-size: 11px;
    text-transform: uppercase;
    color: #888;
    font-weight: 400;
}

/* View All Button */
.grid-footer {
    text-align: right;
    margin-top: 40px;
}

.view-all {
    display: none;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: underline;
}

/* Responsive: 2 columns on tablets, 1 on mobile */
@media (max-width: 992px) {
    .grid-3x3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .grid-3x3 {
        grid-template-columns: 1fr;
    }
}

/* --- WORK GRID [cite: 150-156] --- */
.filter-nav {
    margin-top: 120px;
    margin-bottom: 60px;
    display: flex;
    gap: 30px;
}

.filter-btn {
    background: none;
    border: none;
    text-transform: uppercase;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
    font-weight: 700;
}

.filter-btn.active { text-decoration: underline; }

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 100px;
}

.project-item h2 {
    font-size: 16px;
    margin: 15px 0 5px 0;
    text-transform: uppercase;
}

.project-cat {
    font-size: 12px;
    color: var(--accent-color);
    text-transform: uppercase;
}

/* --- SINGLE PROJECT  --- */
.single-project-container { padding-top: 150px; }

.project-nav { margin-bottom: 40px; font-size: 20px; }

.project-header h1 {
    font-size: 48px;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    line-height: 1;
}

.project-subtitle {
    font-size: 18px;
    color: var(--accent-color);
    margin-bottom: 60px;
    max-width: 600px;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.meta-table {
    width: 100%;
    border-collapse: collapse;
}

.meta-table th {
    text-align: left;
    text-transform: uppercase;
    font-size: 12px;
    color: var(--accent-color);
    padding: 15px 0;
    border-top: 1px solid #eee;
    width: 40%;
}

.meta-table td {
    text-align: left;
    font-weight: 700;
    padding: 15px 0;
    border-top: 1px solid #eee;
}

.awards-section { margin-top: 60px; }

/* --- MOBILE --- */
@media (max-width: 768px) {
    .project-grid, .split-layout { grid-template-columns: 1fr; }
    .hero-video-wrapper { height: 60vh; }
    .site-header { padding: 20px; }
}

/* --- HERO / FRONT PAGE (Vimeo Update) --- */
/* .hero-video-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
} */

.vimeo-background {
  position: relative;
    width: 100%;
    overflow: hidden;
    background: #000; /* Prevents white flashes */
}

.vimeo-background iframe {
  width: 100%;
  display: block;
}

/* Mobile Adjustment for Vimeo */
@media (max-width: 768px) {
    .ticker-overlay {
        font-size: 14px;
        padding: 20px;
        flex-wrap: wrap;
        gap: 10px;
    }
}
/* --- NEW VISUAL ASSETS --- */

/* Header Logo */
.logo img.main-logo {
    height: 40px; 
    width: 275px;
    vertical-align: middle;
}

/* Client Logo Carousel */
.client-logo-carousel {
    padding: 60px 0;
    /* background: #f9f9f9; */
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    margin-bottom: -100px;
}

.carousel-track {
    display: inline-flex;
    animation: scroll 40s linear infinite;
}

.client-logo-item {
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo-item img {
    height: 60px;
    width: auto;
    max-width: none;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.client-logo-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Pause on hover */
.client-logo-carousel:hover .carousel-track {
    animation-play-state: paused;
}

/* --- ABOUT PAGE LAYOUT --- */
.about-page-wrapper {
    background: #fff;
    padding-bottom: 100px;
}

.about-hero {
    width: 100%;
    overflow: hidden;
    margin-bottom: 60px;
}

.full-width-portrait {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.about-content-area {
    max-width: 1400px;
    margin: 0 auto;
    padding: 90px;
}

.about-flex-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.about-text-column {
    flex: 0 0 65%; /* Adjusted for a gap */
}

.section-label {
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 40px;
    text-transform: uppercase;
    color: #000;
}

.bio-inner p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #111;
}

.about-laurels-column {
    flex: 0 0 30%;
    padding-left: 40px;
    border-left: 1px solid #eee;
}

.laurel-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
}

.laurel-grid img {
    width: calc(50% - 10px); /* Shows two laurels per row */
    height: auto;
    opacity: 0.9;
}

/* Responsive: Stack columns on mobile */
@media (max-width: 768px) {
    .about-flex-row {
        flex-direction: column;
    }
    
    .about-text-column, 
    .about-laurels-column {
        flex: 0 0 100%;
        width: 100%;
        padding-left: 0;
        border-left: none;
    }

    .about-laurels-column {
        margin-top: 60px;
    }

    .laurel-grid img {
        width: calc(33.33% - 15px); /* Three per row on mobile */
    }
}


/* --- FOOTER FLEX LAYOUT --- */
.site-footer {
    padding: 80px 0;
    border-top: 1px solid #eee;
    margin-top: 100px;
    background-color: black;
    color:white;
}


.footer-flex {
    display: flex;
    justify-content: space-between; /* Pushes text left and logo right */
    align-items: center;
}

.footer-contact h3 {
    text-transform: uppercase;
    font-size: 18px;
    margin-bottom: 0;
}

.footer-logo {
    max-height: 60px; /* Adjust based on your logo size */
    width: auto;
}

/* --- MOBILE ADJUSTMENTS --- */
@media (max-width: 768px) {
    .footer-flex {
        flex-direction: column-reverse; /* Logo moves to top, text moves to bottom */
        text-align: center; /* Optional: centers everything on mobile */
        gap: 30px; /* Adds space between the logo and text */
    }

    .footer-logos {
        width: 100%;
    }

    .footer-contact {
        width: 100%;
    }
}

#menu-item-991-el > a, #menu-item-1002-el > a {
    margin-right: -40px;
    padding-right: 8px;
    border-right: 1px solid;
}

