/* ============================================
   HOME PAGE STYLES - Digital Motion Website
   ============================================
   Αρχείο: pages/home.css
   Περιγραφή: Styles για Hero section και About section
   Αφορά: index.html (Αρχική σελίδα)
   ============================================ */

/* ============================================
   HERO SECTION
   Full-screen hero με animated background slider
   Αφορά: Πρώτο section της αρχικής σελίδας
   ============================================ */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
}

/* Main container για τον slider */
#main {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    height: 100vh;
}

/* Split panel για το slider effect */
.part {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    position: relative;
    overflow: hidden;
}

/* Section wrapper για slider images */
.section {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Slider images - Full viewport coverage */
.section img {
    width: 100vw;
    height: 100vh;
    -o-object-fit: cover;
    object-fit: cover;
    position: absolute;
    left: var(--x);
    pointer-events: none;
    -webkit-filter: brightness(0.6);
    filter: brightness(0.6);
}

/* --------------------------------------------
   HERO CONTENT
   Κεντρικό περιεχόμενο πάνω από το slider
   -------------------------------------------- */
.hero-content {
    position: absolute;
    top: 35%;
    left: 35%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 90;
    pointer-events: none;
    -webkit-animation: fadeIn 1s ease 0.5s both;
    animation: fadeIn 1s ease 0.5s both;
}

/* Main title - Κύριος τίτλος H1 */
.main-title {
    font-size: clamp(2rem, 3vw, 4rem);
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
    margin-bottom: 0;
    mix-blend-mode: screen;
}

/* Subtitle - Υπότιτλος κάτω από τον τίτλο */
.subtitle {
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    font-weight: 300;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--color-text-light);
    mix-blend-mode: overlay;
    padding-left: clamp(20%, 35%, 40%);
}

/* Hero badge - Tagline πάνω από τον τίτλο */
.hero-badge {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.875rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
    -webkit-backdrop-filter: blur(0.625rem);
    backdrop-filter: blur(0.625rem);
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
    margin-left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

/* --------------------------------------------
   SCROLL HINT
   Indicator για scroll down
   -------------------------------------------- */
.scroll-hint-hero {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: 101;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    font-weight: 400;
    -webkit-animation: fadeIn 1s ease 0.8s both;
    animation: fadeIn 1s ease 0.8s both;
}

/* Animated scroll arrow */
.scroll-arrow {
    font-size: 2rem;
    -webkit-animation: bounce 2s infinite;
    animation: bounce 2s infinite;
}

/* ============================================
   ABOUT SECTION
   Who We Are και Our Vision blocks
   Αφορά: Δεύτερο section της αρχικής σελίδας
   ============================================ */
.about-section {
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-dark) 100%);
    padding: 8rem 0 4rem 0;
    position: relative;
    z-index: 50;
    min-height: auto;
}

/* Grid layout για τα about blocks */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 100rem;
    margin: 0 auto;
    padding: 0 2rem;
}

/* About block - Κάρτα με περιεχόμενο */
.about-block {
    position: relative;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(102, 126, 234, 0.5);
    border-radius: 1.25rem;
    -webkit-backdrop-filter: blur(0.625rem);
    backdrop-filter: blur(0.625rem);
    -webkit-transition: all var(--transition-slow);
    transition: all var(--transition-slow);
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    box-shadow: 0 0.25rem 1.25rem rgba(102, 126, 234, 0.2);
}

/* About block hover state */
.about-block:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.8);
    -webkit-transform: translateY(-0.3125rem);
    transform: translateY(-0.3125rem);
    box-shadow: 0 0.5rem 1.875rem rgba(102, 126, 234, 0.4);
}

/* Label - "WHO WE ARE" / "OUR VISION" */
.about-label {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    position: relative;
    display: block;
    height: 1.7rem;
    line-height: 1.7rem;
}

/* Underline κάτω από το label */
.about-label::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 60%;
    height: 0.125rem;
    background: var(--gradient-primary);
}

/* Content container */
.about-content {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

/* Paragraphs στο about content */
.about-content p {
    font-size: 1rem;
    line-height: 1.44;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
    -webkit-transition: all var(--transition-base);
    transition: all var(--transition-base);
}

.about-content p:hover {
    color: var(--color-text);
    -webkit-transform: translateX(0.1875rem);
    transform: translateX(0.1875rem);
}

.about-content p strong {
    font-weight: 600;
}

/* Tagline - Italic quote στο τέλος */
.about-tagline {
    font-style: italic;
    color: rgba(240, 147, 251, 0.9) !important;
    font-weight: 500;
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

/* ============================================
   RESPONSIVE - TABLET & MOBILE
   ============================================ */

/* Tablet (max 768px) */
@media screen and (max-width: 48rem) {
    .hero-section {
        height: 55vh;
        height: 55dvh; /* Shorter hero for mobile */
    }

    #main {
        height: 55vh;
        height: 55dvh;
    }

    .section {
        height: 55vh;
        height: 55dvh;
    }

    .section img {
        height: 55vh;
        height: 55dvh;
    }

    .hero-content {
        top: 40%;
        left: 5%;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        width: 90%;
        max-width: none;
        padding: 0 1rem;
        text-align: left;
    }

    .main-title {
        font-size: clamp(1.1rem, 4vw, 1.5rem);
        line-height: 1.35;
        mix-blend-mode: normal;
        text-align: left;
    }

    .subtitle {
        font-size: clamp(0.65rem, 2.5vw, 0.85rem);
        padding-left: 0;
        mix-blend-mode: normal;
        margin-top: 0.5rem;
        text-align: left;
    }

    .subtitle br {
        display: none;
    }

    .hero-badge {
        font-size: 0.6rem;
        padding: 0.35rem 0.7rem;
        margin-bottom: 0.75rem;
        margin-left: 0;
        margin-right: auto;
        display: inline-block;
        max-width: fit-content;
    }

    .scroll-hint-hero {
        display: none; /* Hide on mobile */
    }

    .scroll-arrow {
        display: none;
    }

    .about-section {
        padding: 3rem 0 2rem 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        gap: 1.25rem;
    }

    .about-block {
        padding: 1.25rem;
    }

    .about-block:hover {
        -webkit-transform: none;
        transform: none;
    }

    .about-label {
        font-size: 1rem;
        letter-spacing: 0.1em;
    }

    .about-label::after {
        width: 40%;
    }

    .about-content p {
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .about-content p:hover {
        -webkit-transform: none;
        transform: none;
    }

    .about-tagline {
        padding-top: 1.25rem;
    }
}

/* Small mobile (max 480px) */
@media screen and (max-width: 30rem) {
    .hero-section {
        height: 45vh;
        height: 45dvh;
    }

    #main {
        height: 45vh;
        height: 45dvh;
    }

    .section {
        height: 45vh;
        height: 45dvh;
    }

    .section img {
        height: 45vh;
        height: 45dvh;
    }

    .hero-content {
        top: 35%;
        left: 3%;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        width: 94%;
        padding: 0 0.5rem;
        text-align: left;
    }

    .main-title {
        font-size: clamp(0.9rem, 4.5vw, 1.15rem);
        line-height: 1.4;
        word-break: break-word;
        -webkit-hyphens: auto;
        hyphens: auto;
        text-align: left;
    }

    .subtitle {
        font-size: 0.6rem;
        margin-top: 0.4rem;
        line-height: 1.45;
        text-align: left;
    }

    .hero-badge {
        font-size: 0.45rem;
        padding: 0.3rem 0.6rem;
        margin-bottom: 0.5rem;
        line-height: 1.4;
        margin-left: 0;
        margin-right: auto;
        display: inline-block;
        max-width: fit-content;
    }

    .scroll-hint-hero {
        display: none;
    }

    .scroll-arrow {
        display: none;
    }

    .about-section {
        padding: 2.5rem 0 1.5rem 0;
    }

    .about-grid {
        padding: 0 0.5rem;
        gap: 0.75rem;
    }

    .about-block {
        padding: 1rem;
        border-radius: 0.75rem;
        border-width: 1px;
    }

    .about-label {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
        letter-spacing: 0.08em;
        height: auto;
        line-height: 1.4;
    }

    .about-label::after {
        bottom: -0.25rem;
    }

    .about-content p {
        font-size: 0.8rem;
        line-height: 1.55;
    }

    .about-tagline {
        padding-top: 0.75rem;
        font-size: 0.75rem;
        line-height: 1.5;
    }
}
