/*
Theme Name: Batumi.zone Theme
Theme URI: https://batumi.zone
Author: Batumi.zone Team
Author URI: https://batumi.zone
Description: Custom theme for Batumi.zone Services MVP - Mobile-first, multilingual (GE/RU/EN)
Version: 0.2.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: batumi-theme
Tags: custom, multilingual, services, mobile-first
*/

/* ===================================
   CSS RESET & BASE STYLES
   =================================== */

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

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    overflow-x: hidden;
}

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

a {
    color: #2c7fb8;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1a5a8a;
}

/* ===================================
   LAYOUT & CONTAINER
   =================================== */

.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

/* Mobile first - no media query needed */
.site-main {
    flex: 1;
    padding: 1rem 0;
}

/* ===================================
   HEADER
   =================================== */

.site-header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.site-branding {
    text-align: center;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.site-title a {
    color: #2c7fb8;
    text-decoration: none;
}

.site-description {
    font-size: 0.875rem;
    color: #666;
    margin: 0.25rem 0 0 0;
}

/* ===================================
   NAVIGATION
   =================================== */

.main-navigation {
    position: relative;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.main-navigation li {
    margin: 0;
}

.main-navigation a {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    background-color: #f8f8f8;
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
}

.main-navigation a:hover,
.main-navigation a:focus {
    background-color: #2c7fb8;
    color: #fff;
}

.main-navigation .current-menu-item a {
    background-color: #2c7fb8;
    color: #fff;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: block;
    padding: 0.75rem 1rem;
    background-color: #2c7fb8;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
}

.menu-toggle:hover {
    background-color: #1a5a8a;
}

/* ===================================
   LANGUAGE SWITCHER (Polylang)
   =================================== */

.language-switcher {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.5rem;
    background-color: #f8f8f8;
    border-radius: 4px;
}

.language-switcher ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0.75rem;
}

.language-switcher li {
    margin: 0;
}

.language-switcher a {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.language-switcher a:hover {
    background-color: #2c7fb8;
    color: #fff;
    border-color: #2c7fb8;
}

.language-switcher .lang-item-first.current-lang a {
    background-color: #2c7fb8;
    color: #fff;
    border-color: #2c7fb8;
}

.language-switcher img {
    width: 20px;
    height: auto;
    margin-right: 0.25rem;
}

/* ===================================
   FOOTER
   =================================== */

.site-footer {
    background-color: #333;
    color: #fff;
    padding: 2rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    text-align: center;
}

.footer-navigation {
    margin-bottom: 1.5rem;
}

.footer-navigation ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-navigation a {
    color: #fff;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-navigation a:hover {
    opacity: 1;
}

.site-info {
    font-size: 0.875rem;
    opacity: 0.7;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* ===================================
   CONTENT & CARDS
   =================================== */

.entry-header {
    margin-bottom: 1rem;
}

.entry-title {
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.entry-content {
    line-height: 1.8;
}

article {
    background-color: #fff;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Service Cards */
.service-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.service-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #f0f0f0;
}

.service-card-content {
    padding: 1rem;
}

.service-card-title {
    font-size: 1.125rem;
    margin: 0 0 0.5rem 0;
}

.service-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.75rem;
}

.service-card-price {
    font-weight: 700;
    color: #2c7fb8;
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #2c7fb8;
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #1a5a8a;
    color: #fff;
}

.btn-secondary {
    background-color: #f0f0f0;
    color: #333;
}

.btn-secondary:hover {
    background-color: #ddd;
    color: #333;
}

/* ===================================
   UTILITIES
   =================================== */

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

.no-results {
    text-align: center;
    padding: 3rem 1rem;
}

/* ===================================
   TABLET (min-width: 768px)
   =================================== */

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }

    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .site-branding {
        text-align: left;
    }

    .site-title {
        font-size: 1.75rem;
    }

    .main-navigation ul {
        flex-direction: row;
        gap: 1rem;
    }

    .main-navigation a {
        background-color: transparent;
        padding: 0.5rem 1rem;
    }

    .main-navigation a:hover {
        background-color: rgba(44, 127, 184, 0.1);
        color: #2c7fb8;
    }

    .main-navigation .current-menu-item a {
        background-color: rgba(44, 127, 184, 0.1);
        color: #2c7fb8;
    }

    .menu-toggle {
        display: none;
    }

    .footer-navigation ul {
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
    }

    .site-main {
        padding: 2rem 0;
    }
}

/* ===================================
   DESKTOP (min-width: 1024px)
   =================================== */

@media (min-width: 1024px) {
    .site-title {
        font-size: 2rem;
    }

    .entry-title {
        font-size: 1.75rem;
    }

    .site-main {
        padding: 3rem 0;
    }
}

/* ========================================
   Phase 3.2 - Home Page Styles
   ======================================== */

/* Hero Section */
.home-hero {
    background: linear-gradient(135deg, #2c7fb8 0%, #1a5a8a 100%);
    color: white;
    text-align: center;
    padding: 3rem 1rem;
    margin-bottom: 3rem;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    margin: 0 0 2rem;
    opacity: 0.9;
}

.service-search {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 0.5rem;
}

.search-input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
}

.search-button {
    padding: 0.875rem 2rem;
    background: #f5a623;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-button:hover {
    background: #e09615;
}

/* Categories Section */
.categories-section {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 2rem;
    color: #333;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.category-card:hover {
    border-color: #2c7fb8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 127, 184, 0.15);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.category-name {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    text-align: center;
}

.category-count {
    font-size: 0.85rem;
    color: #666;
}

/* Latest Services Section */
.latest-services-section {
    margin-bottom: 4rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.view-all-link {
    color: #2c7fb8;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.view-all-link:hover {
    color: #1a5a8a;
}

/* Services Grid (shared between home and archive) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.no-services {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1rem;
    color: #666;
    font-size: 1.125rem;
}

/* ========================================
   Phase 3.2 - Service Card Component
   ======================================== */

.service-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.service-card-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.service-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-card-image {
    transform: scale(1.05);
}

.service-card-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 1rem;
}

.service-card-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-card-title a:hover {
    color: #2c7fb8;
}

.service-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.service-category,
.service-area {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #f0f0f0;
    border-radius: 4px;
    font-size: 0.875rem;
    color: #666;
}

.service-card-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c7fb8;
    margin-bottom: 1rem;
}

.service-card-footer {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-secondary {
    flex: 1;
}

.btn-primary {
    flex: 1;
}

.btn-icon {
    margin-right: 0.25rem;
}

/* ========================================
   Phase 3.2 - Archive/Results Page Styles
   ======================================== */

.services-page {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Filters Sidebar */
.filters-sidebar {
    order: 1;
}

.filters-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: #2c7fb8;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 1rem;
}

.filters-icon {
    font-size: 1.25rem;
}

#filters-panel {
    display: none;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#filters-panel.active {
    display: block;
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.filter-select,
.price-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    background: white;
}

.price-range {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-input {
    flex: 1;
}

.price-separator {
    color: #999;
}

.btn-block {
    width: 100%;
    margin-bottom: 0.5rem;
}

.btn-reset {
    margin-top: 0.5rem;
}

/* Services Main Content */
.services-main {
    order: 2;
}

.services-header {
    margin-bottom: 2rem;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: #333;
}

.search-term {
    color: #2c7fb8;
}

.results-count {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: #f9f9f9;
    border-radius: 8px;
}

.no-results-text {
    font-size: 1.125rem;
    color: #666;
}

/* Pagination */
.pagination-nav {
    margin-top: 3rem;
}

.pagination-nav ul {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination-nav li {
    margin: 0;
}

.pagination-nav a,
.pagination-nav span {
    display: block;
    padding: 0.5rem 0.875rem;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination-nav a:hover {
    background: #2c7fb8;
    color: white;
    border-color: #2c7fb8;
}

.pagination-nav .current {
    background: #2c7fb8;
    color: white;
    border-color: #2c7fb8;
}

/* ========================================
   Phase 3.2 - Service Detail Page Styles
   ======================================== */

.service-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0;
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: #666;
}

.breadcrumbs a {
    color: #2c7fb8;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs .sep {
    margin: 0 0.5rem;
    color: #999;
}

.breadcrumbs .current {
    color: #333;
}

/* Service Header */
.service-header {
    margin-bottom: 2rem;
}

.service-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: #333;
}

.service-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-category {
    background: #e3f2fd;
    color: #1976d2;
}

.badge-area {
    background: #f3e5f5;
    color: #7b1fa2;
}

.service-date {
    color: #999;
    font-size: 0.875rem;
}

/* Gallery */
.service-gallery {
    margin-bottom: 2rem;
}

.gallery-main {
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
}

.gallery-main-image {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.5rem;
}

.gallery-thumb {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.gallery-thumb:hover {
    border-color: #2c7fb8;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Service Content Sections */
.service-description,
.service-pricing,
.service-location {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.service-description h2,
.service-pricing h2,
.service-location h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: #333;
}

.description-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.available-languages {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
    color: #666;
}

.price-display {
    font-size: 2rem;
    font-weight: 700;
    color: #2c7fb8;
}

.map-placeholder {
    width: 100%;
    height: 300px;
    background: #f5f5f5;
    border: 2px dashed #ddd;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    margin-top: 1rem;
}

/* Contact Block */
.service-contact-block {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 2rem;
}

.service-contact-block h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1.5rem;
    color: #333;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-phone {
    background: #4caf50;
    color: white;
}

.contact-phone:hover {
    background: #45a049;
}

.contact-whatsapp {
    background: #25d366;
    color: white;
}

.contact-whatsapp:hover {
    background: #20ba5a;
}

.contact-email {
    background: #2196f3;
    color: white;
}

.contact-email:hover {
    background: #1976d2;
}

.btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}

.btn-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

.btn-value {
    font-weight: 600;
}

.report-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #999;
    font-size: 0.875rem;
    cursor: not-allowed;
    margin-bottom: 1rem;
}

/* ========================================
   Phase 3.2 - Responsive Breakpoints
   ======================================== */

/* Tablet (768px and up) */
@media (min-width: 768px) {
    /* Home Page */
    .hero-title {
        font-size: 2.5rem;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }

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

    /* Archive Page */
    .services-page {
        grid-template-columns: 250px 1fr;
    }

    .filters-sidebar {
        order: 0;
    }

    .filters-toggle {
        display: none;
    }

    #filters-panel {
        display: block !important;
    }

    .services-main {
        order: 0;
    }

    /* Service Detail */
    .gallery-thumbs {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
    /* Home Page */
    .hero-title {
        font-size: 3rem;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Service Detail - Two Column Layout */
    .service-detail-wrapper {
        grid-template-columns: 1fr 350px;
    }

    .service-contact-block {
        grid-column: 2;
        grid-row: 1 / -1;
    }

    .service-detail {
        grid-column: 1;
    }
}

/* Large Desktop (1280px and up) */
@media (min-width: 1280px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ========================================
   Phase 6 - Poster Features Styles
   ======================================== */

/* Auth Pages (Register/Login) */
.auth-page {
    padding: 4rem 0;
    background: #f9f9f9;
    min-height: 70vh;
}

.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    text-align: center;
    color: #333;
}

.auth-subtitle {
    text-align: center;
    color: #666;
    margin: 0 0 2rem;
}

.auth-messages {
    margin-bottom: 1.5rem;
}

.auth-form {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #2c7fb8;
}

.form-help {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #666;
}

.form-checkbox {
    display: flex;
    align-items: center;
}

.form-checkbox label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
    margin-right: 0.5rem;
}

.btn-spinner {
    display: inline-block;
    margin-left: 0.5rem;
}

.message {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.message-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.message-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.auth-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.auth-footer p {
    margin: 0;
    color: #666;
}

.auth-footer a {
    color: #2c7fb8;
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Dashboard Page */
.dashboard-page {
    padding: 3rem 0;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.dashboard-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    color: #333;
}

.dashboard-actions {
    display: flex;
    gap: 0.75rem;
}

.dashboard-messages {
    margin-bottom: 2rem;
}

.dashboard-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e0e0e0;
    flex-wrap: wrap;
}

.tab-button {
    padding: 0.875rem 1.5rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
}

.tab-button:hover {
    color: #333;
}

.tab-button.active {
    color: #2c7fb8;
    border-bottom-color: #2c7fb8;
}

.tab-count {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    background: #e0e0e0;
    border-radius: 12px;
    font-size: 0.875rem;
    margin-left: 0.5rem;
}

.tab-button.active .tab-count {
    background: #2c7fb8;
    color: white;
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.listing-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.listing-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.listing-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
}

.listing-status.status-publish {
    background: #d4edda;
    color: #155724;
}

.listing-status.status-draft {
    background: #f8d7da;
    color: #721c24;
}

.listing-status.status-inactive {
    background: #fff3cd;
    color: #856404;
}

.listing-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1rem;
    color: #333;
    padding-right: 5rem;
}

.listing-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: #666;
}

.listing-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-warning {
    background: #f5a623;
    color: white;
}

.btn-warning:hover {
    background: #e09615;
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-success:hover {
    background: #218838;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.empty-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: #333;
}

.empty-text {
    color: #666;
    margin: 0 0 2rem;
}

/* Loading Spinner */
.loading-spinner {
    text-align: center;
    padding: 4rem 2rem;
}

.spinner {
    font-size: 3rem;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .auth-card {
        padding: 2rem 1.5rem;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-actions {
        width: 100%;
    }

    .dashboard-actions .btn {
        flex: 1;
    }

    .listings-grid {
        grid-template-columns: 1fr;
    }

    .listing-title {
        font-size: 1.125rem;
        padding-right: 4rem;
    }

    .listing-actions {
        flex-direction: column;
    }

    .listing-actions .btn {
        width: 100%;
    }
}
/* ========================================
   Phase 6.3 - Create/Edit Service Wizard Styles
   ======================================== */

/* Service Form Page */
.service-form-page {
    padding: 2rem 0;
    background: #f9f9f9;
    min-height: 80vh;
}

/* Form Header */
.form-header {
    margin-bottom: 2rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 1rem;
    color: #2c7fb8;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #1f5a85;
}

.form-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: #333;
}

.form-subtitle {
    color: #666;
    margin: 0;
}

/* Form Messages */
.form-messages {
    margin-bottom: 1.5rem;
}

.auto-save-status {
    position: fixed;
    top: 80px;
    right: 20px;
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 100;
}

.auto-save-status .saving {
    color: #666;
}

.auto-save-status .saved {
    color: #28a745;
}

.auto-save-status .error {
    color: #dc3545;
}

/* Service Form */
.service-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Form Sections */
.form-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.form-section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: #333;
}

.section-help {
    color: #666;
    margin: 0 0 1.5rem;
    font-size: 0.9375rem;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: #2c7fb8;
}

.form-help {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #666;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

select[multiple].form-input {
    height: auto;
}

/* Character Counts */
.char-count {
    display: block;
    text-align: right;
    font-size: 0.8125rem;
    color: #999;
    margin-top: 0.25rem;
}

/* Language Tabs */
.language-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
}

.lang-tab {
    padding: 0.875rem 1.5rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
}

.lang-tab:hover {
    color: #333;
}

.lang-tab.active {
    color: #2c7fb8;
    border-bottom-color: #2c7fb8;
}

/* Language Status */
.language-status {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 0.875rem;
}

.lang-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-indicator .status-text.complete {
    color: #28a745;
}

.lang-indicator .status-text.incomplete {
    color: #f5a623;
}

/* Language Content */
.lang-content {
    display: none;
}

.lang-content.active {
    display: block;
}

/* Radio Groups */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.radio-option {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border: 2px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-option:hover {
    border-color: #2c7fb8;
    background: #f8f9fa;
}

.radio-option input[type="radio"] {
    margin-right: 0.75rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.radio-option input[type="radio"]:checked + span {
    font-weight: 600;
    color: #2c7fb8;
}

/* Map Container */
.map-container {
    width: 100%;
    height: 400px;
    border-radius: 4px;
    border: 1px solid #ddd;
    margin-bottom: 1rem;
}

/* Warning Message */
.warning-message {
    padding: 1rem;
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    margin: 1rem 0;
}

/* Image Upload Zone */
.image-upload-zone {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
}

.image-upload-zone:hover {
    border-color: #2c7fb8;
    background: #f0f8ff;
}

.image-upload-zone.drag-over {
    border-color: #2c7fb8;
    background: #e6f2ff;
}

.upload-prompt {
    pointer-events: none;
}

.upload-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.upload-prompt p {
    margin: 0 0 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #333;
}

.upload-prompt small {
    color: #666;
}

/* Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.gallery-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.gallery-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    gap: 0.25rem;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.7);
}

.btn-icon {
    flex: 1;
    padding: 0.375rem 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    background: white;
}

.btn-icon:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn-icon.delete-img {
    background: rgba(220, 53, 69, 0.9);
    color: white;
}

.btn-icon.delete-img:hover {
    background: #dc3545;
}

/* Image Count */
.image-count {
    text-align: center;
    color: #666;
    font-size: 0.875rem;
}

/* Validation Summary */
.validation-summary {
    margin-bottom: 1.5rem;
}

.validation-errors {
    padding: 1.5rem;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
}

.validation-errors h3 {
    margin: 0 0 1rem;
    font-size: 1.125rem;
}

.validation-errors ul {
    margin: 0;
    padding-left: 1.5rem;
}

.validation-errors li {
    margin-bottom: 0.5rem;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.form-actions .btn {
    min-width: 150px;
}

/* Loading Indicator */
.loading-indicator {
    text-align: center;
    padding: 4rem 2rem;
}

.loading-indicator .spinner {
    font-size: 3rem;
    animation: spin 2s linear infinite;
}

.loading-indicator p {
    margin-top: 1rem;
    color: #666;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .service-form-page {
        padding: 1rem 0;
    }

    .service-form {
        padding: 1.5rem;
    }

    .form-title {
        font-size: 1.5rem;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .language-tabs {
        flex-wrap: wrap;
    }

    .lang-tab {
        padding: 0.75rem 1rem;
        font-size: 0.9375rem;
    }

    .language-status {
        flex-direction: column;
        gap: 0.75rem;
    }

    .radio-group {
        gap: 0.5rem;
    }

    .radio-option {
        padding: 0.625rem 0.875rem;
    }

    .map-container {
        height: 300px;
    }

    .image-upload-zone {
        padding: 2rem 1rem;
    }

    .upload-icon {
        font-size: 2rem;
    }

    .image-gallery {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .gallery-item img {
        height: 120px;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
        min-width: auto;
    }

    .auto-save-status {
        position: static;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .service-form {
        padding: 1rem;
    }

    .form-title {
        font-size: 1.25rem;
    }

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

    .lang-tab {
        padding: 0.625rem 0.75rem;
        font-size: 0.875rem;
    }

    .image-gallery {
        grid-template-columns: 1fr 1fr;
    }
}

/* Print Styles */
@media print {
    .back-link,
    .form-actions,
    .auto-save-status,
    .image-upload-zone,
    .gallery-actions {
        display: none;
    }
}
/* ========================================
   UI/UX Quick Wins Styles - Phase 3.3, P6.1, P5.4
   ======================================== */

/* ========================================
   1. FAVORITES SYSTEM
   ======================================== */

/* Favorite Button on Service Cards */
.service-card-image-wrapper {
    position: relative;
}

.favorite-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.favorite-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.favorite-btn .heart-icon {
    stroke: #dc3545;
    transition: all 0.3s ease;
}

.favorite-btn.is-favorited .heart-icon {
    fill: #dc3545;
    stroke: #dc3545;
    animation: heartbeat 0.5s ease;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(1.1); }
}

/* Favorites Badge in Header */
.favorites-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.favorites-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: #dc3545;
    color: white;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
}

.favorites-counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    background: #dc3545;
    color: white;
    border-radius: 12px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

/* Favorites Page */
.favorites-page {
    padding: 2rem 0;
    background: #f9f9f9;
    min-height: 80vh;
}

.favorites-page .page-header {
    margin-bottom: 2rem;
}

.favorites-page .page-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: #333;
}

.favorites-page .page-subtitle {
    color: #666;
    margin: 0 0 1rem;
}

.favorites-actions {
    margin-top: 1rem;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: none;
}

.toast {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-left: 4px solid #28a745;
    font-weight: 500;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
    pointer-events: auto;
    max-width: 300px;
}

.toast.toast-show {
    opacity: 1;
    transform: translateX(0);
}

.toast.toast-success {
    border-left-color: #28a745;
}

.toast.toast-error {
    border-left-color: #dc3545;
}

.toast.toast-info {
    border-left-color: #17a2b8;
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 4rem 2rem;
}

.loading-state .spinner {
    font-size: 3rem;
    animation: spin 2s linear infinite;
}

.loading-state p {
    margin-top: 1rem;
    color: #666;
}

/* ========================================
   2. PROFILE PAGE
   ======================================== */

.profile-page {
    padding: 2rem 0;
    background: #f9f9f9;
    min-height: 80vh;
}

.profile-container {
    max-width: 800px;
    margin: 0 auto;
}

.profile-header {
    margin-bottom: 2rem;
}

.profile-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: #333;
}

.profile-header p {
    color: #666;
    margin: 0;
}

#profile-messages {
    margin-bottom: 1.5rem;
}

.profile-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.profile-card-header {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.profile-card-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: #333;
}

/* Account Stats */
.account-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 8px;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #2c7fb8;
    margin-bottom: 0.25rem;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: #666;
}

/* Form Styling */
.required-badge {
    font-size: 0.75rem;
    color: #666;
    font-weight: normal;
}

/* Password Section */
.password-section {
    margin: 2rem 0;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.password-toggle-btn {
    background: transparent;
    border: none;
    color: #2c7fb8;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s ease;
}

.password-toggle-btn:hover {
    color: #1f5a85;
}

.password-fields {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.password-fields.active {
    max-height: 500px;
    margin-top: 1.5rem;
}

/* Danger Zone */
.danger-zone {
    border: 2px solid #dc3545;
    background: #fff5f5;
}

.danger-zone h3 {
    color: #dc3545;
    margin: 0 0 0.5rem;
    font-size: 1.125rem;
}

.danger-zone p {
    color: #666;
    margin: 0 0 1rem;
}

.btn-danger-outline {
    background: transparent;
    border: 2px solid #dc3545;
    color: #dc3545;
    padding: 0.625rem 1.25rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-danger-outline:hover {
    background: #dc3545;
    color: white;
}

/* ========================================
   3. ENHANCED CONTACT BLOCK
   ======================================== */

/* Service Detail Two-Column Layout */
.service-detail-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .service-detail-layout {
        grid-template-columns: 2fr 1fr;
    }

    .service-detail-sidebar {
        position: sticky;
        top: 2rem;
        align-self: start;
    }
}

/* Enhanced Contact Card */
.contact-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-header {
    margin-bottom: 1.5rem;
}

.contact-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
    color: #333;
}

.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.trust-badges .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    padding: 0.25rem 0.75rem;
    background: #28a745;
    color: white;
    border-radius: 4px;
    width: fit-content;
}

.trust-badges .badge.verified {
    background: #28a745;
}

.contact-meta {
    font-size: 0.875rem;
    color: #666;
}

/* Contact Buttons */
.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.contact-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-call {
    background: #28a745;
    color: white;
    border: none;
}

.btn-call:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    border: none;
}

.btn-whatsapp:hover {
    background: #1ebc59;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-email {
    background: #0d6efd;
    color: white;
    border: none;
}

.btn-email:hover {
    background: #0b5ed7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

/* Safety Notice */
.safety-notice {
    padding: 0.875rem;
    background: #fff3cd;
    color: #856404;
    border-radius: 6px;
    font-size: 0.875rem;
    line-height: 1.5;
}

.safety-notice a {
    color: #856404;
    font-weight: 600;
    text-decoration: underline;
}

.safety-notice a:hover {
    color: #533f03;
}

/* ========================================
   4. RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    /* Favorites */
    .favorites-page .page-title {
        font-size: 1.5rem;
    }

    .toast-container {
        top: 60px;
        right: 10px;
        left: 10px;
    }

    .toast {
        max-width: 100%;
    }

    /* Profile */
    .profile-page {
        padding: 1rem 0;
    }

    .profile-card {
        padding: 1.5rem;
    }

    .account-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Contact Card */
    .contact-card {
        padding: 1.25rem;
    }

    .service-detail-sidebar {
        position: static !important;
    }
}

@media (max-width: 480px) {
    .favorite-btn {
        width: 40px;
        height: 40px;
        top: 0.5rem;
        right: 0.5rem;
    }

    .profile-card {
        padding: 1rem;
    }

    .account-stats {
        grid-template-columns: 1fr;
    }

    .stat-item {
        padding: 0.75rem;
    }
}

/* ========================================
   5. PRINT STYLES
   ======================================== */

@media print {
    .favorite-btn,
    .favorites-actions,
    .toast-container,
    .password-section,
    .danger-zone,
    .contact-buttons {
        display: none;
    }
}

/* ============================================
   AD PLACEMENTS - Phase 8.2 Extended Placements
   ============================================ */

/* Footer Desktop Ad */
.ad-container[data-placement="footer_desktop"] {
    max-width: 728px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
}

.ad-container[data-placement="footer_desktop"] img {
    max-width: 100%;
    height: auto;
}

/* Sidebar Ads (Desktop Only) */
.ad-container[data-placement="sidebar_left"],
.ad-container[data-placement="sidebar_right"] {
    position: fixed;
    top: 150px;
    width: 160px;
    z-index: 100;
}

.ad-container[data-placement="sidebar_left"] {
    left: 20px;
}

.ad-container[data-placement="sidebar_right"] {
    right: 20px;
}

.ad-container[data-placement="sidebar_left"] img,
.ad-container[data-placement="sidebar_right"] img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Hide sidebar ads on mobile and tablet */
@media (max-width: 1280px) {
    .ad-container[data-placement="sidebar_left"],
    .ad-container[data-placement="sidebar_right"] {
        display: none;
    }
}

/* Footer Mobile Ad */
.ad-container[data-placement="footer_mobile"] {
    margin: 20px auto;
    padding: 15px;
    text-align: center;
    max-width: 320px;
}

.ad-container[data-placement="footer_mobile"] img {
    max-width: 100%;
    height: auto;
}

/* Hide footer mobile on desktop */
@media (min-width: 768px) {
    .ad-container[data-placement="footer_mobile"] {
        display: none;
    }
}

/* Hide footer desktop on mobile */
@media (max-width: 767px) {
    .ad-container[data-placement="footer_desktop"] {
        display: none;
    }
}

/* Inline Mobile Ads */
.ad-container[data-placement="inline_mobile_1"],
.ad-container[data-placement="inline_mobile_2"] {
    margin: 30px auto;
    padding: 15px;
    text-align: center;
    max-width: 300px;
}

.ad-container[data-placement="inline_mobile_1"] img,
.ad-container[data-placement="inline_mobile_2"] img {
    max-width: 100%;
    height: auto;
}

/* Hide inline mobile ads on desktop */
@media (min-width: 768px) {
    .ad-container[data-placement="inline_mobile_1"],
    .ad-container[data-placement="inline_mobile_2"] {
        display: none;
    }
}

/* Ad Container Common Styles */
.ad-container {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #f9f9f9;
}

.ad-container .ad-label {
    font-size: 10px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.ad-container .ad-loading {
    color: #999;
    font-size: 14px;
    padding: 20px;
}

/* ========================================
   CRITICAL VISUAL BUGS FIXES
   Applied: January 15, 2026
   Ticket: Visual QA - Production Readiness
   ======================================== */

/* FIX #2: Color Contrast for Accessibility */
.service-meta,
.service-card-date,
.ad-container .ad-label,
.ad-container .ad-loading,
.post-meta,
.entry-meta,
.comment-meta {
    color: #666 !important;
}

/* FIX #3: Dark Mode for Ad Containers */
[data-theme="dark"] .ad-container {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .ad-container .ad-label,
[data-theme="dark"] .ad-container .ad-loading {
    color: rgba(255, 255, 255, 0.5);
}

/* FIX #4: Skip-to-Content Link Styling */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999999;
    padding: 1rem 1.5rem;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    transition: all 0.2s ease;
}

.skip-link:focus {
    left: 50%;
    transform: translateX(-50%);
    outline: 3px solid #764ba2;
    outline-offset: 2px;
}

/* FIX #5: Focus-Visible Styles for Keyboard Navigation */
*:focus-visible {
    outline: 3px solid #667eea;
    outline-offset: 2px;
    outline-style: solid;
}

.btn:focus-visible,
.header-action-btn:focus-visible,
.search-button:focus-visible,
.lang-current-flag:focus-visible {
    outline: 3px solid #667eea;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2);
}

.search-input:focus-visible,
.filter-select:focus-visible,
.filter-input:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid #667eea;
    outline-offset: 2px;
}

a:focus-visible {
    outline: 3px solid #667eea;
    outline-offset: 2px;
    border-radius: 2px;
}

.service-card:focus-within {
    outline: 3px solid #667eea;
    outline-offset: 4px;
    border-radius: 16px;
}

[data-theme="dark"] *:focus-visible,
[data-theme="dark"] .btn:focus-visible,
[data-theme="dark"] .header-action-btn:focus-visible {
    outline-color: #a8b5ff;
}

[data-theme="dark"] .btn:focus-visible,
[data-theme="dark"] .header-action-btn:focus-visible {
    box-shadow: 0 0 0 4px rgba(168, 181, 255, 0.2);
}

/* BONUS: Improved Dark Mode Text Contrast */
[data-theme="dark"] .service-card-title a {
    color: #ffffff;
}

[data-theme="dark"] .service-description,
[data-theme="dark"] .service-meta {
    color: rgba(255, 255, 255, 0.7);
}

/* END OF CRITICAL FIXES */

