/*
Theme Name: Shoe Butler v2
Theme URI: https://shoe-butler.local
Author: Yassar Rikabi
Description: The Shoe Butler - Leather restoration services
Version: 1.0
License: GPL v2
Text Domain: shoe-butler-v2
*/

:root {
    --color-cream: #F5F0EB;
    --color-tan: #C9B99A;
    --color-dark: #1a1a1a;
    --color-accent: #8B7355;
    --color-white: #ffffff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--color-cream);
    color: var(--color-dark);
    line-height: 1.6;
}

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

/* Header */
.site-header {
    background: rgba(245, 240, 235, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--color-dark);
}

.logo-badge {
    width: 44px;
    height: 44px;
    background: var(--color-tan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: serif;
    font-size: 1.2rem;
    color: white;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 500;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--color-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.btn-book {
    padding: 12px 24px;
    background: var(--color-tan);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
}

/* Mobile Menu Button */
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; padding: 8px; background: none; border: none; cursor: pointer; }
.mobile-menu-btn span { display: block; width: 24px; height: 2px; background: var(--color-dark); transition: all 0.3s ease; }
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu { display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0; background: var(--color-cream); padding: 40px 24px; z-index: 99; transform: translateX(100%); transition: transform 0.3s ease; }
.mobile-menu.active { transform: translateX(0); }
.mobile-nav-menu { list-style: none; display: flex; flex-direction: column; gap: 24px; margin-bottom: 32px; }
.mobile-nav-menu a { font-size: 1.5rem; font-weight: 500; text-decoration: none; color: var(--color-dark); font-family: 'Playfair Display', serif; }
.mobile-book { display: inline-block; text-align: center; }

/* Footer */
.site-footer {
    background: var(--color-dark);
    color: white;
    padding: 60px 0 20px;
    margin-top: 80px;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 16px;
    font-size: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    line-height: 2;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255,255,255,0.4);
}

@media (max-width: 768px) {
    .main-nav { display: none; }
    .mobile-menu-btn { display: flex; }
    .mobile-menu { display: block; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* Hero Section */
.hero-section { padding: 60px 0 80px; background: var(--color-cream); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }

/* Hero Content */
.hero-content { max-width: 540px; }
.hero-title { font-family: 'Playfair Display', serif; font-size: 4rem; line-height: 1.1; margin-bottom: 24px; color: var(--color-dark); font-weight: 400; }
.hero-title em { color: var(--color-accent); font-style: italic; }
.hero-description { font-size: 1.125rem; color: #666; margin-bottom: 32px; line-height: 1.7; }

/* Hero Buttons */
.hero-buttons { display: flex; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }
.btn { padding: 16px 28px; border-radius: 50px; text-decoration: none; font-weight: 500; display: inline-flex; align-items: center; gap: 10px; transition: all 0.3s ease; border: none; cursor: pointer; font-size: 0.95rem; }
.btn svg { transition: transform 0.3s ease; }
.btn:hover svg { transform: translateX(4px); }
.btn-dark { background: var(--color-dark); color: white; }
.btn-dark:hover { background: #333; }
.btn-outline { border: 1.5px solid var(--color-dark); color: var(--color-dark); background: transparent; }
.btn-outline:hover { background: var(--color-dark); color: white; }

/* Hero Stats */
.hero-stats { display: flex; gap: 48px; }
.stat-item { display: flex; flex-direction: column; }
.stat-number { font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 400; color: var(--color-dark); line-height: 1; }
.stat-label { font-size: 0.875rem; color: #888; margin-top: 4px; }

/* Hero Visual */
.hero-visual { position: relative; display: flex; align-items: center; }
.hero-image-wrapper { position: relative; border-radius: 32px; overflow: hidden; aspect-ratio: 4/5; width: 100%; max-width: 520px; background: #E8E0D5; }
.hero-image-wrapper img { width: 100%; height: 100%; object-fit: cover; }

/* Hotspots */
.hotspot { position: absolute; width: 20px; height: 20px; background: rgba(255,255,255,0.9); border: 2px solid var(--color-tan); border-radius: 50%; cursor: pointer; animation: pulse 2s infinite; z-index: 2; }
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}
.hotspot:hover { background: white; border-color: var(--color-dark); }

/* Desktop Tabs (Right Side) */
.desktop-tabs { position: absolute; right: -20px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 8px; }
.desktop-tabs .tab-btn { display: flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; background: white; border: none; border-radius: 50px; cursor: pointer; box-shadow: 0 2px 12px rgba(0,0,0,0.08); transition: all 0.3s ease; min-width: 160px; }
.desktop-tabs .tab-btn img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.desktop-tabs .tab-btn span { font-size: 0.85rem; font-weight: 500; color: var(--color-dark); white-space: nowrap; }
.desktop-tabs .tab-btn.active { background: var(--color-dark); }
.desktop-tabs .tab-btn.active span { color: white; }
.desktop-tabs .tab-btn:hover { transform: translateX(-4px); }

/* Mobile Tabs (Bottom) */
.mobile-tabs { display: none; position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); background: rgba(255,255,255,0.95); padding: 8px; border-radius: 50px; box-shadow: 0 4px 20px rgba(0,0,0,0.15); gap: 6px; }
.mobile-tabs .tab-btn { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; border: 3px solid transparent; background: white; cursor: pointer; padding: 0; transition: all 0.3s ease; }
.mobile-tabs .tab-btn img { width: 100%; height: 100%; object-fit: cover; }
.mobile-tabs .tab-btn.active { border-color: var(--color-dark); }

/* Services Section */
.services-section { padding: 80px 0; }
.services-section h2 { text-align: center; font-family: 'Playfair Display', serif; font-size: 2.5rem; margin-bottom: 16px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.service-card { background: var(--color-cream); padding: 40px; border-radius: 20px; text-decoration: none; color: inherit; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.service-card h3 { font-size: 1.5rem; margin-bottom: 8px; font-family: 'Playfair Display', serif; }
.service-card p { color: var(--color-accent); font-weight: 600; }

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-content { text-align: center; max-width: 600px; margin: 0 auto; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-title { font-size: 3rem; }
    .desktop-tabs { display: none; }
    .mobile-tabs { display: flex; }
    .hero-visual { justify-content: center; }
    .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero-section { padding: 24px 0 60px; }
    .hero-content { display: none; } /* Hide text content on mobile - show only image carousel */
    .hero-grid { gap: 0; }
    .hero-image-wrapper { border-radius: 24px; aspect-ratio: 1/1; max-width: 100%; }
    .mobile-tabs { bottom: 16px; }
    .mobile-tabs .tab-btn { width: 44px; height: 44px; }
    .services-section { padding: 60px 0; }
    .services-section h2 { font-size: 2rem; }
}

/* Shop Page */
.shop-page { padding: 60px 0; }
.shop-page h1 { text-align: center; font-size: 2.5rem; margin-bottom: 8px; }
.shop-page > .container > p { text-align: center; color: #666; margin-bottom: 40px; }

.shop-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.tab { padding: 12px 24px; background: var(--color-cream); border: 2px solid transparent; border-radius: 30px; cursor: pointer; font-weight: 500; transition: all 0.3s ease; }
.tab:hover { border-color: var(--color-tan); }
.tab.active { background: var(--color-dark); color: white; }

.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { background: white; padding: 30px; border-radius: 16px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.product-card.hidden { display: none; }
.product-image { width: 100%; height: 180px; background: var(--color-cream); border-radius: 12px; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-image .placeholder { font-size: 3rem; opacity: 0.3; }
.product-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.product-card .price { color: var(--color-accent); font-weight: 600; font-size: 1.1rem; margin-bottom: 16px; }
.btn-order { display: inline-block; padding: 12px 20px; background: #25D366; color: white; text-decoration: none; border-radius: 8px; font-size: 0.9rem; font-weight: 500; transition: background 0.3s ease; }
.btn-order:hover { background: #128C7E; }

@media (max-width: 768px) { 
    .products-grid { grid-template-columns: 1fr; }
    .shop-tabs { gap: 8px; }
    .tab { padding: 10px 16px; font-size: 0.9rem; }
}

/* FAQ section - ensure visibility on all screen sizes */
#faq-section {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    min-height: 200px !important;
    z-index: 1 !important;
    width: 100% !important;
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}

/* FAQ section spacing - reduce top padding by 2cm on large screens */
@media (min-width: 1024px) {
    #faq-section {
        padding-top: 3rem !important;
        padding-bottom: 8rem !important;
    }
}
