/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Inter:wght@300;400;500&display=swap');


/* =====================================================
   GLOBAL
===================================================== */

html,
body {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body {
    font-family: 'Inter', sans-serif !important;
    color: #1A1714 !important;
    background: #F2EDE4 !important;
}

h1,
h2,
h3,
h4 {
    font-family: 'Cormorant Garamond', serif !important;
    color: #3D1112 !important;
}

.page-title,
.entry-title,
h1.entry-title,
.page .entry-header {
    display: none !important;
}


/* =====================================================
   HEADER
===================================================== */

.site-header {
    position: fixed;
    top: 38px !important;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    background: rgba(242, 237, 228, 0.95);
    border-bottom: 1px solid rgba(168, 131, 43, 0.18);
}

.site-description,
#site-footer .site-description {
    display: none !important;
}

.site-title a,
header a,
header nav a,
#site-navigation a,
.main-navigation a,
.hello-elementor-header-menu-wrapper a,
.hello-elementor-header-menu-wrapper .menu-item a {
    color: #3D1112 !important;
    text-decoration: none;
}

.header-lang a {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #5C1A1B !important;
    text-decoration: none;
    margin-left: 8px;
}


/* =====================================================
   ANNOUNCEMENT BAR
===================================================== */

.announcement-bar {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100%;
    height: 38px;
    min-height: 38px;

    background: #5C1A1B !important;

    z-index: 9999 !important;

    display: flex !important;
    align-items: center;
    justify-content: center;

    padding: 0 20px !important;
    box-sizing: border-box;
}

.announcement-bar,
.announcement-bar * {
    visibility: visible !important;
    opacity: 1 !important;
}

.announcement-bar p,
.announcement-bar span,
.announcement-bar a {
    color: #C9A14F !important;
    font-size: 14px !important;
    line-height: 1 !important;
    margin: 0 !important;
}


/* =====================================================
   MAIN
===================================================== */

.site-main {
    flex: 1;
    background: #F2EDE4 !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
}


/* =====================================================
   FOOTER
===================================================== */

#site-footer {
    background: #3D1112 !important;
    padding: 30px 56px 20px !important;
    margin-bottom: 0 !important;
}

#site-footer .copyright p {
    color: #F2EDE4 !important;
    font-size: 0.85rem !important;
}


/* =====================================================
   AMFIA ARCHIVE
===================================================== */

.amfia-archive {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 30px 80px;
    min-height: calc(100vh - 70px);
    box-sizing: border-box;
}

.amfia-archive-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem;
    color: #3D1112;
    text-align: center;
    margin: 0 0 40px;
}

.amfia-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.amfio-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
}

.amfio-card:hover {
    transform: translateY(-4px);
}


/* =====================================================
   ARCHIVE IMAGE
===================================================== */

.amfio-image {
    width: 100%;
    aspect-ratio: 1 / 1.55;

    background: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.amfio-image a {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.amfio-image img {
    width: 92% !important;
    height: 92% !important;

    object-fit: contain !important;
    object-position: center center;

    display: block;
    margin: auto;
}


/* =====================================================
   ARCHIVE INFO
===================================================== */

.amfio-info {
    padding: 16px 18px 20px;
}

.amfio-info h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.amfio-info h3 a {
    font-family: 'Cormorant Garamond', serif;
    color: #3D1112;
    text-decoration: none;
}

.amfio-info p {
    margin: 0;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}


/* =====================================================
   SINGLE AMFIO
===================================================== */

.single-amfio {
    background: #F2EDE4;
    min-height: 100vh;

    padding: 120px 30px 80px;

    box-sizing: border-box;
}

.single-amfio-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.single-amfio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 60px;

    align-items: start;
}


/* =====================================================
   SINGLE GALLERY
===================================================== */

.single-amfio-image {
    display: flex;
    flex-direction: column;
    gap: 14px;
}


/* =====================================================
   MAIN IMAGE
===================================================== */

.amfio-main-image {
    width: 100%;

    background: #fff;

    border-radius: 4px;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;

    cursor: zoom-in;
}

.amfio-main-image img {
    width: auto !important;
    height: auto !important;

    max-width: 82% !important;
    max-height: 540px !important;

    object-fit: contain !important;
    object-position: center center !important;

    display: block;
    margin: 0 auto;
}


/* =====================================================
   GALLERY ARROWS
===================================================== */

.amfio-arrow,
button.amfio-arrow {
    position: absolute;

    top: 50%;
    transform: translateY(-50%);

    width: 40px;
    height: 40px;

    padding: 0 !important;

    border-radius: 50% !important;

    background: #fff !important;

    border: 1px solid #C9A15C !important;

    color: #3D1112 !important;

    font-size: 18px;
    line-height: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    z-index: 5;

    box-shadow: none !important;
    outline: none !important;

    -webkit-appearance: none;
    appearance: none;

    transition:
            background-color 0.2s ease,
            color 0.2s ease,
            border-color 0.2s ease;
}

.amfio-arrow:hover,
.amfio-arrow:focus {
    background: #3D1112 !important;
    color: #fff !important;
    border-color: #3D1112 !important;
}

.amfio-arrow-prev {
    left: 12px;
}

.amfio-arrow-next {
    right: 12px;
}


/* =====================================================
   THUMBNAILS
===================================================== */

.amfio-thumbs {
    display: flex;
    gap: 10px;
    align-items: center;
}

.amfio-thumb,
button.amfio-thumb {
    width: 70px;
    height: 90px;

    padding: 0 !important;

    border: 2px solid #e5e0d8 !important;
    border-radius: 4px;

    overflow: hidden;

    background: #fff !important;

    cursor: pointer;

    flex-shrink: 0;

    box-shadow: none !important;
    outline: none !important;

    -webkit-appearance: none;
    appearance: none;
}

.amfio-thumb.is-active {
    border-color: #C9A15C !important;
}

.amfio-thumb:hover,
.amfio-thumb:focus {
    border-color: #C9A15C !important;
}

.amfio-thumb img {
    width: 100% !important;
    height: 100% !important;

    object-fit: contain !important;
    object-position: center center;

    display: block;
}


/* =====================================================
   SINGLE INFO
===================================================== */

.single-amfio-info h1 {
    margin-top: 0;
    margin-bottom: 24px;

    font-family: 'Cormorant Garamond', serif !important;

    font-size: 2.4rem;

    color: #3D1112;
}

.single-amfio-perigrafi {
    font-size: 16px;

    line-height: 1.7;

    color: #444;

    margin: 20px 0 30px;
}


/* =====================================================
   CONTACT BUTTON
===================================================== */

.btn-epikoinwnia {
    display: inline-block;

    background: #3D1112;

    color: #fff !important;

    padding: 14px 28px;

    border-radius: 4px;

    text-decoration: none;

    font-size: 14px;

    letter-spacing: 0.5px;

    text-transform: uppercase;

    transition:
            background 0.2s ease,
            color 0.2s ease;
}

.btn-epikoinwnia:hover {
    background: #C9A15C;

    color: #3D1112 !important;
}


/* =====================================================
   LIGHTBOX
===================================================== */

.amfio-lightbox {
    display: none;

    position: fixed;

    inset: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.94);

    z-index: 99999;

    align-items: center;
    justify-content: center;

    padding: 30px;

    box-sizing: border-box;
}

.amfio-lightbox.is-open {
    display: flex;
}


/* =====================================================
   LIGHTBOX CONTENT
===================================================== */

.amfio-lightbox-content {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    position: relative;

    pointer-events: none;
}

.amfio-lightbox-content img {
    width: auto !important;
    height: auto !important;

    max-width: 82vw !important;
    max-height: 82vh !important;

    object-fit: contain !important;

    display: block;

    pointer-events: none;
}


/* =====================================================
   LIGHTBOX CLOSE
===================================================== */

.amfio-lightbox-close {
    position: absolute;

    top: 20px;
    right: 30px;

    width: 48px;
    height: 48px;

    padding: 0 !important;

    border: none !important;

    background: transparent !important;

    color: #fff !important;

    font-size: 42px;

    line-height: 1;

    cursor: pointer;

    z-index: 100002;

    box-shadow: none !important;

    -webkit-appearance: none;
    appearance: none;
}

.amfio-lightbox-close:hover {
    color: #C9A15C !important;
}


/* =====================================================
   LIGHTBOX ARROWS
   ΜΙΑ ΚΑΙ ΜΟΝΟ ΕΚΔΟΣΗ
===================================================== */

.amfio-lightbox-arrow,
button.amfio-lightbox-arrow {
    position: absolute !important;

    top: 50% !important;

    transform: translateY(-50%) !important;

    width: 60px !important;
    height: 60px !important;

    min-width: 60px !important;
    min-height: 60px !important;

    padding: 0 !important;
    margin: 0 !important;

    box-sizing: border-box !important;

    border-radius: 50% !important;

    background: #F2EDE4 !important;

    border: 1px solid #C9A15C !important;

    color: #3D1112 !important;

    font-family: Arial, sans-serif !important;

    font-size: 34px !important;

    font-weight: 300 !important;

    line-height: 1 !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    cursor: pointer !important;

    z-index: 100001 !important;

    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.25) !important;

    -webkit-appearance: none !important;
    appearance: none !important;

    transition:
            background-color 0.2s ease,
            color 0.2s ease,
            border-color 0.2s ease,
            transform 0.2s ease;
}

.amfio-lightbox-prev,
button.amfio-lightbox-prev {
    left: 32px !important;
}

.amfio-lightbox-next,
button.amfio-lightbox-next {
    right: 32px !important;
}

.amfio-lightbox-arrow:hover,
.amfio-lightbox-arrow:focus,
button.amfio-lightbox-arrow:hover,
button.amfio-lightbox-arrow:focus {
    background: #3D1112 !important;

    border-color: #3D1112 !important;

    color: #fff !important;

    transform: translateY(-50%) scale(1.06) !important;
}


/* =====================================================
   LIGHTBOX COUNTER
===================================================== */

.amfio-lightbox-counter {
    margin-top: 18px;

    color: #fff;

    font-family: 'Inter', sans-serif;

    font-size: 14px;

    letter-spacing: 0.08em;

    opacity: 0.9;
}


/* =====================================================
   FORMS
===================================================== */

.wpforms-submit {
    background: #5C1A1B !important;
    color: #F2EDE4 !important;

    border: none !important;
}


/* =====================================================
   RESPONSIVE — TABLET
===================================================== */

@media (max-width: 860px) {

    .amfia-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .amfia-archive {
        padding: 100px 24px 50px;
    }

    .single-amfio {
        padding: 100px 24px 50px;
    }

    .single-amfio-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    #site-footer {
        padding: 30px 24px 20px !important;
    }

    .amfio-main-image img {
        max-width: 88% !important;
        max-height: 550px !important;
    }
}


/* =====================================================
   RESPONSIVE — MOBILE
===================================================== */

@media (max-width: 700px) {

    .amfio-lightbox {
        padding: 20px;
    }

    .amfio-lightbox-content img {
        max-width: 84vw !important;
        max-height: 78vh !important;
    }

    .amfio-lightbox-arrow,
    button.amfio-lightbox-arrow {
        width: 52px !important;
        height: 52px !important;

        min-width: 52px !important;
        min-height: 52px !important;

        font-size: 30px !important;
    }

    .amfio-lightbox-prev,
    button.amfio-lightbox-prev {
        left: 10px !important;
    }

    .amfio-lightbox-next,
    button.amfio-lightbox-next {
        right: 10px !important;
    }

    .amfio-lightbox-close {
        top: 10px;
        right: 12px;

        width: 42px;
        height: 42px;

        font-size: 36px;
    }
}


/* =====================================================
   RESPONSIVE — SMALL MOBILE
===================================================== */

@media (max-width: 560px) {

    .amfia-grid {
        grid-template-columns: 1fr;
    }

    .amfia-archive {
        padding-left: 20px;
        padding-right: 20px;
    }

    .amfio-main-image img {
        max-width: 92% !important;
        max-height: 500px !important;
    }

    .amfio-thumb {
        width: 55px;
        height: 70px;
    }

    .amfio-arrow {
        width: 36px;
        height: 36px;
    }
}
/* =====================================================
   AMFIO CARD — HOVER EFFECT
===================================================== */

.amfio-image {
    position: relative;
    display: block;
    overflow: hidden;
}

/* Εικόνα */
.amfio-image img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.45s ease;
}

/* Overlay */
.amfio-hover-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.28);

    opacity: 0;

    transition: opacity 0.35s ease;

    pointer-events: none;
}

/* Κείμενο */
.amfio-hover-text {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.04em;

    border: 1px solid rgba(255, 255, 255, 0.75);
    padding: 10px 18px;

    transform: translateY(8px);
    transition: transform 0.35s ease;
}

/* Βελάκι */
.amfio-hover-arrow {
    display: inline-block;
    margin-left: 6px;
    transition: transform 0.25s ease;
}


/* =====================================================
   HOVER
===================================================== */

.amfio-image:hover img {
    transform: scale(1.035);
}

.amfio-image:hover .amfio-hover-overlay {
    opacity: 1;
}

.amfio-image:hover .amfio-hover-text {
    transform: translateY(0);
}

.amfio-image:hover .amfio-hover-arrow {
    transform: translateX(4px);
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {

    .amfio-hover-overlay {
        display: none;
    }

    .amfio-image:hover img {
        transform: none;
    }

}
