/*
Theme Name: Excel Shoes Theme
Theme URI: https://excelshoes.gr
Description: Custom WordPress theme for Excel Shoes - Παπούτσια για κάθε περίσταση
Version: 1.0.0
Author: Excel Shoes
Author URI: https://excelshoes.gr
Text Domain: excel-shoes
*/

/* ============================================
   CSS VARIABLES & RESET
   ============================================ */
:root {
    --red: #E30613;
    --red-dark: #C00510;
    --black: #1a1a1a;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray: #888888;
    --gray-dark: #333333;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--black);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   TOP BAR / NAVIGATION
   ============================================ */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.header-logo img {
    height: 40px;
    width: auto;
}

.header-logo .logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--black);
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-logo .logo-text .logo-icon {
    color: var(--red);
    font-size: 1.6rem;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.header-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-dark);
    transition: var(--transition);
    position: relative;
}

.header-nav a:hover {
    color: var(--red);
}

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

.header-nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-actions a {
    color: var(--gray-dark);
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.header-actions a:hover {
    color: var(--red);
}

.header-actions svg {
    width: 22px;
    height: 22px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-toggle svg {
    width: 28px;
    height: 28px;
    color: var(--black);
}

/* ============================================
   HERO SECTION – diagonal split, carousel, contact
   ============================================ */
.hero-section {
    position: relative;
    min-height: 50rem;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #e8e8e8;
}

/* Sharp diagonal: light top-left, red bottom-right (like first image) */
.hero-diagonal .hero-bg-light {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f2f2f2;
    clip-path: polygon(0 0, 60% 0, 30% 100%, 0 100%);
    z-index: 0;
}

.hero-diagonal .hero-bg-red {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--red);
    clip-path: polygon(60% 0, 100% 0, 100% 100%, 30% 100%);
    z-index: 0;
}

/* Watermark across hero */
.hero-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(6rem, 18vw, 12rem);
    font-weight: 900;
    color: rgba(0, 0, 0, 0.04);
    white-space: nowrap;
    z-index: 1;
    letter-spacing: -0.02em;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px 60px;
}

.hero-content-split {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

/* Logo: excelshoes branding image (no text) */
.hero-logo-img {
    line-height: 0;
}

.hero-logo-img img {
    max-width: 280px;
    width: 100%;
    height: auto;
    display: block;
}

.hero-title {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--black);
    margin: 0;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-buttons-message {
    align-items: center;
}

/* First image style: left = outline + black text, right = solid red + white text */
.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 0px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--red);
    background: var(--white);
    color: var(--red);
    transition: var(--transition);
}

.btn-hero-outline .btn-icon {
    color: var(--red);
}

.btn-hero-outline:hover {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

.btn-hero-outline:hover .btn-icon {
    color: var(--white);
}

.btn-hero-solid {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid var(--red);
    background: var(--red);
    color: var(--white);
    transition: var(--transition);
}

.btn-hero-solid .btn-icon {
    color: var(--white);
}

.btn-hero-solid:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    color: var(--white);
}

.btn-hero-outline .btn-icon,
.btn-hero-solid .btn-icon {
    display: inline-flex;
}

/* Hero right: carousel (on red) + contact button */
.hero-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
}

.hero-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 1;
    overflow: visible;
    /* Slight overlap over the diagonal for “cropping” effect */
    margin-left: -20px;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    transition: opacity 500ms ease;
    pointer-events: none;
}

.hero-carousel-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.hero-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: drop-shadow(0px 30px 60px rgba(0, 0, 0, 0.6));
}

/* Contact button in bottom-right of red area (first image: white, red text, chat icon, "1" badge) */
.btn-hero-contact {
    position: absolute;
    bottom: 0;
    right: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    background: var(--white);
    color: var(--red);
    border: 2px solid var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
    z-index: 3;
}

.btn-hero-contact:hover {
    background: var(--gray-light);
    color: var(--red-dark);
}

.btn-hero-contact .btn-icon {
    display: inline-flex;
}

.btn-hero-contact .btn-contact-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.btn-white {
    background: var(--white);
    color: var(--red);
    border-color: var(--white);
}

.btn-white:hover {
    background: transparent;
    color: var(--white);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--red);
}

.btn-red {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

.btn-red:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
}

.btn-outline-red {
    background: transparent;
    color: var(--red);
    border-color: var(--red);
}

.btn-outline-red:hover {
    background: var(--red);
    color: var(--white);
}

/* Hero responsive */
@media (max-width: 992px) {
    .hero-content-split {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-left {
        align-items: center;
    }

    .hero-logo-img {
        display: flex;
        justify-content: center;
    }

    .hero-logo-img img {
        max-width: 240px;
    }

    .hero-buttons-message {
        justify-content: center;
    }

    .hero-carousel-wrapper {
        margin-left: 0;
        margin-bottom: 50px;
    }

    .btn-hero-contact {
        right: 50%;
        transform: translateX(50%);
    }
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section {
    padding: 70px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 45px;
    color: var(--black);
}

/* ============================================
   LATEST PRODUCTS SECTION
   ============================================ */
.products-section {
    background: var(--white);
}

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

/* Products Owl Carousel (front page) */
.products-carousel-wrapper {
    margin-bottom: 40px;
}

.products-carousel-wrapper .owl-carousel-products .owl-item {
    display: flex;
}

.products-carousel-wrapper .owl-carousel-products .product-card {
    margin: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 620px;
    min-height: 620px;
}

.products-carousel-wrapper .product-card-image {
    flex: 0 0 auto;
    width: 100%;
    padding: 0;
    aspect-ratio: 768 / 960;
    overflow: hidden;
    display: block;
    max-height: 58%;
}

.products-carousel-wrapper .product-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 16px 20px 24px;
}

.products-carousel-wrapper .product-card-info .description {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.products-carousel-wrapper .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    margin: 0;
}

.products-carousel-wrapper .owl-nav button {
    pointer-events: auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white) !important;
    border: 1px solid #e0e0e0 !important;
    color: #333 !important;
    font-size: 1.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s, border-color 0.2s;
}

.products-carousel-wrapper .owl-nav button:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    border-color: var(--red) !important;
    color: var(--red) !important;
}

.products-carousel-wrapper .owl-dots {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.products-carousel-wrapper .owl-dots .owl-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc !important;
    transition: background 0.2s;
}

.products-carousel-wrapper .owl-dots .owl-dot.active {
    background: var(--red) !important;
}

.product-card {
    background: var(--gray-light);
    border-radius: 0;
    overflow: hidden;
    text-align: left;
}

.product-card-image {
    position: relative;
    padding: 20px 16px;
    background: var(--gray-light);
    aspect-ratio: 4/5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-card-image img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.products-carousel-wrapper .product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.product-card-info {
    padding: 0 20px 30px;
    background: var(--gray-light);
}

.product-card-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: #4a4a4a;
    line-height: 1.2;
}

.product-card-info .description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.4;
}

.products-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    background: var(--gray-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.testimonial-card-header {
    background: var(--red);
    color: var(--white);
    padding: 14px 20px;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
}

.testimonial-card-body {
    padding: 22px 20px;
    font-size: 0.88rem;
    color: var(--gray-dark);
    line-height: 1.7;
    min-height: 120px;
}

.testimonial-stars {
    color: #FFC107;
    margin-bottom: 8px;
    font-size: 1rem;
    letter-spacing: 2px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-card {
    text-align: center;
    padding: 20px;
}

.contact-card-visual {
    position: relative;
    margin-bottom: 18px;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.contact-card-bg-icon {
    position: absolute;
    top: -8%;
    left: -5%;
    width: 55%;
    max-width: 140px;
    height: auto;
    aspect-ratio: 1;
    z-index: 0;
    opacity: 0.35;
    pointer-events: none;
}

.contact-card-bg-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.contact-card-image {
    position: relative;
    z-index: 1;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
}

.contact-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Contact CTA: white bg, dark text, red border, red square + white icon (reference) */
.contact-card .contact-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    background: var(--white);
    border: 2px solid var(--red);
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
}

.contact-card .contact-cta:hover {
    background: var(--red);
    color: var(--white);
}

.contact-cta-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-cta-icon-ig {
    background: var(--red);
}

.contact-cta-icon-ig svg {
    color: white;
}

.contact-cta-icon-fb {
    background: var(--red);
}

.contact-cta-icon-fb svg {
    color: white;
}

.contact-cta-icon-phone {
    background: var(--red);
}

.contact-cta-icon-phone svg {
    color: white;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--red);
    color: var(--white);
    padding: 50px 0 30px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-brand {
    background: var(--white);
    color: #333;
    padding: 30px;
    border-radius: 12px;
}

.footer-brand .footer-logo {
    margin-bottom: 20px;
}

.footer-brand .footer-logo a {
    display: inline-block;
}

.footer-logo-img {
    display: block;
    max-width: 160px;
    height: auto;
}

.footer-brand .footer-logo .logo-icon {
    color: var(--red);
}

.footer-brand .footer-info {
    margin-bottom: 20px;
}

.footer-brand .footer-info p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-brand .footer-info p svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--red);
}

.footer-brand .footer-info p a {
    color: #333;
    text-decoration: none;
}

.footer-brand .footer-info p a:hover {
    text-decoration: underline;
}

.footer-brand .excel-address-red {
    color: var(--red);
}

.footer-brand .footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-brand .footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: var(--transition);
}

.footer-brand .footer-social a:hover {
    background: var(--red);
    color: var(--white);
}

.footer-brand .footer-social a svg {
    width: 18px;
    height: 18px;
}

.footer-map {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.footer-map-label .excel-address-red {
    color: var(--red);
}

.footer-map-label {
    background: var(--white);
    color: var(--black);
    padding: 12px 20px;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
}

.footer-map iframe,
.footer-map .map-placeholder {
    width: 100%;
    height: 200px;
    border: none;
}

.footer-map .map-placeholder {
    background: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 0.9rem;
}

.footer-map-cta {
    display: block;
    text-align: center;
    padding: 10px;
    font-size: 0.9rem;
    color: var(--white);
    text-decoration: none;
    margin-top: 2px;
}

.footer-map-cta:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 992px) {
    .hero-section {
        min-height: auto;
    }

    .hero-content {
        padding: 40px 20px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .products-grid,
    .testimonials-grid,
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .section {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}
