/* ====== VARIABLES ====== */
:root {
    --color-dark: #2b2118;
    --color-brown: #6b4f34;
    --color-accent: #b8860b;
    --color-light: #f7f3ee;
    --color-white: #ffffff;
    --color-grey: #6c6c6c;
    --max-width: 1180px;
    --radius: 10px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: 0.35s ease;
}

/* ====== RESET ====== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Roboto', system-ui, -apple-system, sans-serif;
    color: var(--color-dark);
    background: var(--color-white);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ====== SKIP LINK ====== */
.skip-link {
    position: absolute;
    top: -50px;
    left: 12px;
    z-index: 2100;
    background: var(--color-accent);
    color: var(--color-white);
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 500;
    transition: top var(--transition);
}

.skip-link:focus {
    top: 12px;
}

/* ====== FOCUS VISIBILITY ======
   Buttons/links had no visible focus ring, which is a keyboard-accessibility
   failure. Restore one everywhere, styled to fit the dark/gold palette. */
a:focus-visible,
button:focus-visible,
.gallery-item:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}

/* ====== REDUCED MOTION ====== */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ====== HEADER ====== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(43, 33, 24, 0.92);
    backdrop-filter: blur(10px);
    transition: background var(--transition);
}

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

.logo {
    color: var(--color-white);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon { color: var(--color-accent); font-size: 1.1rem; }

.main-nav ul {
    display: flex;
    gap: 32px;
}

.main-nav a {
    color: var(--color-white);
    font-weight: 400;
    font-size: 0.95rem;
    position: relative;
    padding: 6px 0;
    transition: color var(--transition);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--color-accent);
    transition: width var(--transition);
}

.main-nav a:hover,
.main-nav a.active { color: var(--color-accent); }

.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
}

.nav-toggle span {
    display: block;
    width: 26px; height: 2px;
    background: var(--color-white);
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ====== HERO SLIDER ====== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 520px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider {
    position: absolute;
    inset: 0;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.2s ease, transform 6s ease;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    animation: fadeUp 1s ease both;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 14px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    margin-bottom: 32px;
    opacity: 0.95;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 34px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-white);
    box-shadow: 0 10px 24px rgba(184, 134, 11, 0.4);
}

.btn-primary:hover {
    background: #a3780a;
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(184, 134, 11, 0.5);
}

/* Dots */
.slider-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.7);
    background: transparent;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}

.dot.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: scale(1.25);
}

/* ====== ABOUT ====== */
.about {
    padding: 100px 0;
    background: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2,
.design-text h2,
.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 16px;
    color: var(--color-dark);
}

.about-text h2::after,
.design-text h2::after,
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 60px; height: 3px;
    background: var(--color-accent);
}

.section-title { text-align: center; }
.section-title::after { left: 50%; transform: translateX(-50%); }

.about-text p { margin-bottom: 16px; color: #3d3d3d; }

.signature {
    font-style: italic;
    font-weight: 500;
    color: var(--color-brown);
    margin-top: 20px;
    font-size: 1.05rem;
}

.about-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* ====== DESIGN ====== */
.design {
    padding: 100px 0;
    background: var(--color-light);
}

.design-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.design-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.design-text h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 26px 0 12px;
    color: var(--color-brown);
}

.list-check li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 8px;
    color: #3d3d3d;
}

.list-check li::before {
    content: '✓';
    position: absolute;
    left: 0; top: 0;
    color: var(--color-accent);
    font-weight: 700;
}

.note {
    margin-top: 20px;
    font-style: italic;
    color: var(--color-brown);
    border-left: 3px solid var(--color-accent);
    padding-left: 14px;
}

.design-text > p:last-child { margin-top: 18px; color: #3d3d3d; }

/* ====== GALLERY ====== */
.gallery-section {
    padding: 100px 0;
    background: var(--color-white);
}

.section-sub {
    text-align: center;
    color: var(--color-grey);
    margin-top: -10px;
    margin-bottom: 44px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 3;
    cursor: zoom-in;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img { transform: scale(1.08); }

/* Zoom icon overlay */
.gallery-item::after {
    content: '🔍';
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
    opacity: 1;
}

/* ====== LIGHTBOX ====== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    padding: 40px;
}

.lightbox.open {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    animation: lbFade 0.4s ease;
}

@keyframes lbFade {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.lightbox-counter {
    color: #d4cfc7;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Κουμπιά πλοήγησης */
.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 2001;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.lightbox-close {
    top: 20px;
    right: 20px;
    width: 46px;
    height: 46px;
    font-size: 1.8rem;
    line-height: 1;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    font-size: 2rem;
    line-height: 1;
    padding-bottom: 6px;
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-prev:hover { transform: translateY(-50%) translateX(-3px); }
.lightbox-next:hover { transform: translateY(-50%) translateX(3px); }

/* ====== CONTACT ====== */
.contact {
    padding: 100px 0;
    background: var(--color-dark);
    color: var(--color-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
    align-items: stretch;
}

.contact-info h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 16px;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 60px; height: 3px;
    background: var(--color-accent);
}

.contact-name {
    font-weight: 600;
    color: var(--color-accent);
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.contact-info address {
    font-style: normal;
    color: #cfc8bd;
    margin-bottom: 28px;
    line-height: 1.8;
}

.muted { color: #9a938a; font-size: 0.9rem; }

.contact-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.contact-list .label {
    min-width: 80px;
    font-weight: 500;
    color: var(--color-accent);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.contact-list a {
    color: var(--color-white);
    transition: color var(--transition);
    word-break: break-word;
    overflow-wrap: anywhere;
}

.contact-list a:hover { color: var(--color-accent); }

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 340px;
    border: 0;
    border-radius: var(--radius);
    filter: grayscale(20%);
}

/* ====== FOOTER ====== */
.site-footer {
    background: #1c1510;
    color: #9a938a;
    padding: 26px 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer-email {
    margin-top: 8px;
}

.footer-email a {
    color: var(--color-accent);
    transition: color var(--transition);
}

.footer-email a:hover {
    color: var(--color-white);
}

/* ====== TO TOP ====== */
.to-top {
    position: fixed;
    bottom: 26px; right: 26px;
    width: 46px; height: 46px;
    border-radius: 50%;
    border: none;
    background: var(--color-accent);
    color: var(--color-white);
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
    z-index: 999;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { transform: translateY(-4px); }

/* ====== RESPONSIVE ====== */
@media (max-width: 900px) {
    .about-grid,
    .design-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .design-image { order: -1; }

    .nav-toggle { display: flex; }

    .main-nav {
        position: absolute;
        top: 72px; left: 0; right: 0;
        background: rgba(43, 33, 24, 0.98);
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition);
    }

    .main-nav.open { max-height: 320px; }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 10px 24px 20px;
    }

    .main-nav li { border-bottom: 1px solid rgba(255,255,255,0.08); }
    .main-nav a { display: block; padding: 14px 0; }

    .about, .design, .gallery-section, .contact { padding: 70px 0; }
}

@media (max-width: 600px) {
    .lightbox { padding: 16px; }

    .lightbox-prev,
    .lightbox-next {
        width: 42px;
        height: 42px;
        font-size: 1.6rem;
    }

    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }

    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .lightbox-content img { max-height: 75vh; }
}

@media (max-width: 500px) {
    .hero { height: 88vh; }
    .gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
    .contact-list li { flex-direction: column; align-items: flex-start; gap: 2px; }
}