/* ================================================
   INSTALATORI SERIOSI - MAIN STYLESHEET
   ================================================ */

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

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

/* === HEADER === */
header {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 70px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 0 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.05rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.2s;
}

.logo:hover {
    transform: scale(1.02);
}

.logo img {
    height: 40px;
    vertical-align: middle;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    transition: all 0.3s;
}

.hamburger:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
}

.hamburger span {
    width: 24px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: 0.3s;
}

.hamburger.active {
    background: rgba(255,255,255,0.2);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-links {
    display: none;
}

.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: none;
    z-index: 999;
    backdrop-filter: blur(5px);
}

.mobile-menu.active {
    display: block;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.mobile-menu-content {
    background: white;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.mobile-nav-links {
    list-style: none;
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    color: #1e40af;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.2s;
    position: relative;
}

.mobile-nav-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #2563eb;
    transform: scaleY(0);
    transition: transform 0.2s;
}

.mobile-nav-links a:hover {
    background: #f0f9ff;
    padding-left: 2rem;
}

.mobile-nav-links a:hover::before {
    transform: scaleY(1);
}

.mobile-nav-links li:last-child a {
    border-bottom: none;
}

/* === MAIN CONTENT === */
main {
    margin-top: 70px;
}

/* === CARDS === */
.card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

/* === BREADCRUMB === */
.breadcrumb {
    padding: 0.75rem 0;
    font-size: 0.75rem;
    color: #666;
}

.breadcrumb a {
    color: #2563eb;
    text-decoration: none;
}

/* === BADGES === */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.badge-verified {
    background: #dbeafe;
    color: #1e40af;
}

.badge-verified svg {
    width: 14px;
    height: 14px;
}

.badge-experience {
    background: #fef3c7;
    color: #92400e;
}

.badge-popular {
    background: #fce7f3;
    color: #9f1239;
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: #2563eb;
    color: white;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

.btn:active {
    transform: scale(0.97);
}

/* === RATING & STARS === */
.rating-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    color: #fbbf24;
    font-size: 1.2rem;
}

.star {
    font-size: 1.1rem;
    line-height: 1;
}

.star.filled {
    color: #fbbf24;
}

.star.half {
    color: #fbbf24;
    opacity: 0.6;
}

.star.empty {
    color: #d1d5db;
}

.rating-text {
    font-size: 0.9rem;
    color: #6b7280;
}

.rating-text strong {
    color: #1f2937;
    font-weight: 700;
}

/* === INSTALLER CARD === */
.installer-card {
    background: white;
    padding: 1.25rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 2px solid #e5e7eb;
    transition: 0.2s;
}

.installer-card:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.installer-header {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.installer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.installer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.installer-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.installer-name {
    font-size: 1.15rem;
    color: #1e40af;
    font-weight: 700;
    line-height: 1.3;
}

.installer-name:hover {
    color: #2563eb;
    text-decoration: underline;
}

.installer-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.installer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.installer-description {
    color: #555;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* === ZONES === */
.zones-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.zone-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #f1f5f9;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #475569;
}

.zone-tag {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #334155;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.2s;
}

.zone-tag:hover {
    border-color: #2563eb;
    color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}

/* === FOOTER === */
footer {
    background: #1e293b;
    color: white;
    padding: 3rem 0;
    margin-top: 4rem;
    text-align: center;
}

footer p {
    margin: 0.5rem 0;
}

footer a {
    color: #60a5fa;
    text-decoration: none;
}

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

/* ================================================
   HOMEPAGE STYLES
   ================================================ */

.hero {
    background-image: url('/assets/instalatoriseriosi.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    padding: 8rem 0 6rem;
    margin-top: 70px;
    text-align: center;
    position: relative;
    
    background-color: #1e40af; /* fallback */
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    
    /* Overlay negru 60% */
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

/* MOBILE - Imagine separată și height mai mic */
@media (max-width: 768px) {
    .hero {
        background-image: url('/assets/instalatoriseriosi-mobile.jpg');
        padding: 2.5rem 0 2rem; /* Height redus semnificativ */
        background-position: center center;
    }
}

.search-box {
    display: flex;
    max-width: 600px;
    margin: 0 auto 1rem;
    background: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    font-size: 1rem;
    outline: none;
}

.search-button {
    padding: 1rem 1.5rem;
    background: #2563eb;
    color: white;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.2s;
}

.search-button:hover {
    background: #1d4ed8;
}

.search-suggestions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 600px;
    margin: 0 auto;
}

.suggestion-tag {
    background: rgba(255,255,255,0.2);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    transition: 0.2s;
}

.suggestion-tag:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.about-platform {
    background: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.about-content h2 {
    color: #1e40af;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    text-align: center;
}

.about-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.highlight {
    background: #fef3c7;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #f59e0b;
    margin: 1.5rem 0;
}

.highlight p {
    margin: 0;
    color: #78350f;
}

#categorii, .trust-section, .quick-links {
    padding: 3rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    color: #1e40af;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: #6b7280;
    font-size: 1rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.category-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    border: 2px solid #e5e7eb;
    transition: all 0.3s;
}

.category-card:hover {
    border-color: #2563eb;
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.15);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    color: #1e40af;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.services-count {
    color: #6b7280;
    font-size: 0.9rem;
}

.trust-section {
    background: #f0f9ff;
}

.trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.trust-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.trust-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #2563eb;
}

.trust-item h3 {
    color: #1e40af;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.trust-item p {
    color: #6b7280;
    line-height: 1.6;
}

.zones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.disclaimer {
    background: #fff7ed;
    padding: 3rem 0;
    margin-top: 3rem;
}

.disclaimer-content {
    max-width: 900px;
    margin: 0 auto;
}

.disclaimer-content h3 {
    color: #ea580c;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.disclaimer-content p {
    color: #78350f;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* ================================================
   SERVICE PAGE STYLES
   ================================================ */

.service-detail {
    background: white;
    padding: 1.25rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.service-detail h1 {
    color: #1e40af;
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.service-meta {
    display: grid;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
    padding: 0.9rem;
    background: #f0f9ff;
    border-radius: 6px;
    font-size: 0.8rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.meta-item strong {
    color: #1e40af;
}

.service-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 1.25rem;
}

.service-description p {
    margin-bottom: 1rem;
}

.service-description p:last-child {
    margin-bottom: 0;
}

.description-hidden {
    display: none;
    margin-top: 1rem;
}

.description-hidden.expanded {
    display: block;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(37,99,235,0.2);
}

.read-more-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(37,99,235,0.3);
}

.read-more-btn:active {
    transform: translateY(0);
}

.read-more-btn.expanded .arrow {
    transform: rotate(180deg);
}

.arrow {
    transition: transform 0.3s ease;
    font-size: 0.7rem;
}

.service-detail h2 {
    color: #1e40af;
    font-size: 1.2rem;
    margin: 1.5rem 0 1rem;
}

.benefits-list {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.benefits-list li {
    margin-bottom: 0.6rem;
    color: #555;
    line-height: 1.6;
}

.requirements {
    background: #fef3c7;
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1.25rem;
}

.requirements h3 {
    color: #92400e;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.requirements p {
    font-size: 0.85rem;
    color: #78350f;
}

.installers-section {
    margin-top: 2rem;
}

.installers-section h2 {
    color: #1e40af;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.phone-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.phone-hidden {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.phone-revealed {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
}

.phone-revealed.active {
    display: flex;
}

.phone-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e40af;
    text-align: center;
    padding: 0.5rem;
}

.reveal-btn {
    padding: 0.8rem;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.reveal-btn:active {
    transform: scale(0.97);
}

.consent-checkbox {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    background: #fef3c7;
    border: 2px solid #fbbf24;
    border-radius: 8px;
    margin: 1rem 0;
    transition: all 0.3s ease;
}

.consent-checkbox:hover {
    background: #fef08a;
    border-color: #f59e0b;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
}

/* Checkbox mare È™i vizibil */
.consent-checkbox-input {
    width: 24px;
    height: 24px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: #f59e0b;
    border: 2px solid #f59e0b;
}

.consent-checkbox-input:hover {
    transform: scale(1.1);
}

.consent-checkbox-label {
    cursor: pointer;
    color: #1f2937;
    line-height: 1.6;
    font-size: 0.95rem;
    user-select: none;
}

.consent-text {
    display: block;
}

.consent-link {
    color: #2563eb;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.2s;
}

.consent-link:hover {
    color: #1d4ed8;
}

.reveal-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Responsive - pe mobile sÄƒ fie È™i mai clar */
@media (max-width: 768px) {
    .consent-checkbox {
        padding: 1rem;
        gap: 0.8rem;
    }
    
    .consent-checkbox-input {
        width: 28px;
        height: 28px;
    }
    
    .consent-checkbox-label {
        font-size: 0.9rem;
    }
}

.call-button {
    display: block;
    padding: 0.8rem;
    background: #22c55e;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s;
}

.call-button:active {
    transform: scale(0.97);
}

/* ================================================
   ZONE PAGE STYLES
   ================================================ */

.zone-hero {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-top: 70px;
}

.zone-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.zone-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

.price-disclaimer {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.price-disclaimer h4 {
    color: #92400e;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-disclaimer p {
    color: #78350f;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.categories-section {
    padding: 3rem 0;
    background: white;
}

.section-label {
    display: inline-block;
    background: #dbeafe;
    color: #1e40af;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.services-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(37,99,235,0.2);
    border-color: #2563eb;
}

.service-card h3 {
    color: #2563eb;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.service-category {
    color: #888;
}

.service-price {
    color: #059669;
    font-weight: 600;
}

.installers-badge {
    background: #dcfce7;
    color: #15803d;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.85rem;
}

.seo-section {
    padding: 4rem 0;
    background: white;
}

.seo-content h2 {
    color: #1e40af;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.seo-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.seo-content ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.seo-content li {
    color: #555;
    margin-bottom: 0.5rem;
}

/* ================================================
   CATEGORY PAGE STYLES
   ================================================ */

.category-hero {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.category-icon-large {
    font-size: 5rem;
    margin-bottom: 1rem;
    display: block;
}

.category-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.category-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.category-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    font-size: 0.95rem;
    color: #555;
}

.service-features li::before {
    content: 'Ã¢Å“â€œ';
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: bold;
}

.service-cta {
    color: #2563eb;
    font-weight: 600;
}

.zones-section {
    margin: 4rem 0;
    text-align: center;
}

.zones-section h2 {
    color: #1e40af;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    border-radius: 12px;
    margin: 3rem 0;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: white;
    color: #2563eb;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* ================================================
   DEVINO PARTENER PAGE STYLES
   ================================================ */

.benefits {
    padding: 3rem 0;
    background: white;
}

.benefits h2 {
    text-align: center;
    color: #1e40af;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    text-align: center;
    padding: 1.5rem;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    color: #2563eb;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

.form-section {
    padding: 3rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.form-container {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.form-container h2 {
    color: #1e40af;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.form-intro {
    color: #555;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f0f9ff;
    border-left: 4px solid #2563eb;
    border-radius: 4px;
}

.form-intro p {
    margin: 0;
    line-height: 1.6;
}

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

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

.required {
    color: #dc2626;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #2563eb;
}

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

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: #6b7280;
    font-size: 0.9rem;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #2563eb;
}

.checkbox-item label {
    margin: 0;
    font-weight: normal;
    color: #333;
    cursor: pointer;
}

.submit-button {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.submit-button:active {
    transform: translateY(0);
}

.success-message {
    display: none;
    background: #f0fdf4;
    border: 2px solid #22c55e;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
    text-align: center;
}

.success-message.show {
    display: block;
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-message h3 {
    color: #15803d;
    margin-bottom: 1rem;
}

.success-message p {
    color: #166534;
    line-height: 1.6;
    margin: 0.5rem 0;
}

/* ================================================
   INSTALLER PROFILE PAGE STYLES
   ================================================ */

.profile-hero {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
    margin-top: 70px;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.profile-hero .installer-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    overflow: hidden;
    flex-shrink: 0;
}

.profile-hero .installer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-hero .installer-info {
    flex: 1;
}

.profile-hero .installer-info h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: white;
}

.installer-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.profile-hero .rating-display {
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-hero .rating-display .stars {
    color: #fbbf24;
}

.profile-hero .rating-display strong {
    color: white;
}

.profile-hero .rating-display span {
    color: rgba(255,255,255,0.9);
}

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

.description {
    color: #475569;
    line-height: 1.8;
}

.service-item {
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: 0.2s;
    background: white;
}

.service-item:hover {
    border-color: #2563eb;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}

.service-item h3 {
    font-size: 1.1rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.service-item .service-category {
    font-size: 0.9rem;
    color: #64748b;
}

.review-card {
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: #fafafa;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.reviewer-name {
    font-weight: 600;
    color: #1e293b;
}

.review-rating {
    color: #fbbf24;
    font-size: 1.1rem;
}

.review-text {
    color: #475569;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.review-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #64748b;
    padding-top: 0.75rem;
    border-top: 1px solid #e5e7eb;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.verified-badge {
    background: #dcfce7;
    color: #15803d;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.8rem;
}

.contact-card {
    position: relative;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-btn {
    display: block;
    padding: 1rem;
    background: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s;
    font-size: 1rem;
}

.contact-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.contact-btn:active {
    transform: translateY(0);
}

.contact-btn.secondary {
    background: #f1f5f9;
    color: #334155;
    border: 2px solid #e2e8f0;
}

.contact-btn.secondary:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

.contact-btn.website-btn {
    background: #059669;
}

.contact-btn.website-btn:hover {
    background: #047857;
}

.contact-note {
    margin-top: 2rem;
    padding: 1rem;
    background: #fef3c7;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #78350f;
    line-height: 1.5;
}

.contact-note strong {
    display: block;
    margin-bottom: 0.25rem;
}

/* ================================================
   SEARCH PAGE STYLES
   ================================================ */

.search-page main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem 0;
}

.search-header {
    background: white;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.search-page .search-box {
    display: flex;
    border: 2px solid #2563eb;
    border-radius: 8px;
    overflow: hidden;
    max-width: 100%;
}

.search-page .search-input {
    flex: 1;
    padding: 0.7rem 1rem;
    border: none;
    font-size: 0.9rem;
    outline: none;
    font-family: inherit;
}

.search-page .search-button {
    padding: 0.7rem 1.1rem;
    background: #2563eb;
    color: white;
    border: none;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.search-page .search-button:hover {
    background: #1d4ed8;
}

.search-info {
    padding: 1rem;
    background: #f0f9ff;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.search-info h1 {
    color: #1e40af;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.search-meta {
    color: #666;
    font-size: 0.8rem;
}

.detected-zone {
    display: inline-block;
    background: #dbeafe;
    color: #1e40af;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-left: 0.3rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.sidebar {
    margin-bottom: 1rem;
}

.filters-toggle {
    width: 100%;
    padding: 0.75rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-weight: 600;
    color: #1e40af;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.filters-toggle:hover {
    border-color: #2563eb;
    background: #f0f9ff;
}

.filters-panel {
    display: none;
    background: white;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

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

.filter-section:last-child {
    margin-bottom: 0;
}

.filter-section h3 {
    font-size: 0.9rem;
    color: #1e40af;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.filter-option {
    display: block;
    padding: 0.6rem 0.75rem;
    margin-bottom: 0.3rem;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.85rem;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.filter-option:hover {
    background: #f0f9ff;
    border-color: #dbeafe;
}

.filter-option.active {
    background: #dbeafe;
    color: #1e40af;
    font-weight: 600;
    border-color: #2563eb;
}

.results-container {
    flex: 1;
}

.results-section {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 1rem;
    padding-left: 0.5rem;
    border-left: 4px solid #2563eb;
}

.suggestions-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #059669;
    margin-bottom: 1rem;
    padding-left: 0.5rem;
    border-left: 4px solid #10b981;
}

.result-card {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.8rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
    display: block;
    border-left: 3px solid transparent;
}

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

.primary-result {
    border-left-color: #2563eb;
}

.suggestion-result {
    border-left-color: #10b981;
    opacity: 0.95;
}

.result-category {
    display: inline-block;
    background: #f1f5f9;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.result-title {
    font-size: 1.1rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.result-description {
    color: #64748b;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.result-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #64748b;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.relevance-badge {
    background: #dbeafe;
    color: #1e40af;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.75rem;
}

.suggestion-badge {
    background: #d1fae5;
    color: #059669;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.75rem;
}

.no-results {
    background: white;
    padding: 3rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.no-results-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-results h2 {
    color: #1e293b;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.no-results p {
    color: #64748b;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* ================================================
   404 PAGE STYLES
   ================================================ */

body.page-404 {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    margin: 0;
}

body.page-404 header,
body.page-404 .mobile-menu {
    display: none;
}

body.page-404 .container {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.error-code {
    font-size: 5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.75rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

body.page-404 h1 {
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 0.6rem;
    color: white;
}

.error-message {
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.searched-for {
    background: rgba(255,255,255,0.2);
    padding: 0.8rem;
    border-radius: 8px;
    margin: 1.25rem 0;
    font-size: 0.85rem;
    text-align: center;
}

.searched-for strong {
    color: #fbbf24;
}

body.page-404 .search-box {
    display: flex;
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    margin: 1.25rem 0;
}

body.page-404 .search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    font-size: 0.9rem;
    outline: none;
    color: #333;
}

body.page-404 .search-button {
    padding: 0.75rem 1.25rem;
    background: #fbbf24;
    color: #1e40af;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s;
}

body.page-404 .search-button:hover {
    background: #f59e0b;
}

.btn-home {
    display: block;
    text-align: center;
    padding: 0.85rem 1.5rem;
    background: white;
    color: #2563eb;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    margin: 1.25rem 0;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.btn-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.suggestions-section {
    margin-top: 2rem;
}

.suggestions-section h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.suggestions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.suggestion-card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,0.2);
    text-decoration: none;
    color: white;
    display: block;
    transition: all 0.3s;
}

.suggestion-icon {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
    display: block;
}

.suggestion-card h3 {
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}

.suggestion-card p {
    font-size: 0.75rem;
    opacity: 0.9;
    line-height: 1.3;
}

.suggestion-meta {
    margin-top: 0.6rem;
    padding-top: 0.6rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 0.7rem;
    opacity: 0.8;
}

.quick-links {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.quick-links a {
    color: white;
    text-decoration: none;
    margin: 0 0.75rem;
    opacity: 0.8;
    font-size: 0.85rem;
    transition: opacity 0.2s;
}

.quick-links a:hover {
    opacity: 1;
}

/* ================================================
   RESPONSIVE STYLES
   ================================================ */

@media (min-width: 640px) {
    .trust-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .zones-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .logo {
        font-size: 1.4rem;
    }

    .logo img {
        height: 44px;
    }

    .nav-links {
        display: flex;
        gap: 0.5rem;
        list-style: none;
    }

    .nav-links a {
        color: white;
        text-decoration: none;
        font-weight: 600;
        padding: 0.75rem 1.25rem;
        border-radius: 8px;
        transition: all 0.2s;
        font-size: 1rem;
    }

    .nav-links a:hover {
        background: rgba(255,255,255,0.15);
        transform: translateY(-2px);
    }

    .hamburger {
        display: none;
    }

    .mobile-menu {
        display: none !important;
    }

    .installer-card {
        padding: 1.75rem;
    }

    .installer-avatar {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .installer-name {
        font-size: 1.25rem;
    }

    .installer-rating {
        gap: 0.75rem;
    }

    .star {
        font-size: 1.2rem;
    }

    .rating-text {
        font-size: 1rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .about-content h2 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .zones-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .service-detail {
        padding: 2rem;
    }

    .service-detail h1 {
        font-size: 2rem;
    }

    .service-description {
        font-size: 1rem;
    }

    .zone-hero h1 {
        font-size: 2.8rem;
    }

    .category-hero h1 {
        font-size: 2.5rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .form-container {
        padding: 3rem;
    }

    .content-grid {
        grid-template-columns: 2fr 1fr;
    }

    .contact-actions {
        position: sticky;
        top: 90px;
    }

    .profile-header {
        flex-wrap: nowrap;
    }

    .profile-hero .installer-avatar {
        width: 150px;
        height: 150px;
        font-size: 4rem;
    }

    .profile-hero .installer-info h1 {
        font-size: 2.5rem;
    }

    .search-page main {
        grid-template-columns: 250px 1fr;
        gap: 1.5rem;
        padding: 1.5rem 0;
    }

    .filters-toggle {
        display: none;
    }

    .filters-panel {
        display: block;
        margin-top: 0;
        position: sticky;
        top: 90px;
    }

    .search-info h1 {
        font-size: 1.5rem;
    }

    .search-meta {
        font-size: 0.9rem;
    }

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

    .suggestions-title {
        font-size: 1.1rem;
    }

    .result-title {
        font-size: 1.2rem;
    }

    .result-description {
        font-size: 0.9rem;
    }

    .no-results {
        padding: 4rem 2rem;
    }

    .no-results-icon {
        font-size: 5rem;
    }

    .no-results h2 {
        font-size: 2rem;
    }

    .no-results p {
        font-size: 1.1rem;
    }

    body.page-404 .container {
        max-width: 900px;
    }

    .error-code {
        font-size: 8rem;
    }

    body.page-404 h1 {
        font-size: 2rem;
    }

    .error-message {
        font-size: 1.1rem;
    }

    body.page-404 .search-input {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    body.page-404 .search-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .suggestions-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .suggestion-card {
        padding: 1.5rem;
    }

    .suggestion-card:hover {
        background: rgba(255,255,255,0.25);
        transform: translateY(-5px);
        border-color: rgba(255,255,255,0.4);
    }

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

    .suggestion-card h3 {
        font-size: 1.2rem;
    }

    .suggestion-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 767px) {
    /* Previne scroll orizontal pe mobil */
    body {
        overflow-x: hidden;
        width: 100%;
    }
    
    .container {
        max-width: 100%;
        padding: 0 1rem;
        overflow-x: hidden;
    }
    
    .category-hero h1 {
        font-size: 2rem;
    }

    .category-icon-large {
        font-size: 3.5rem;
    }

    .category-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

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

    .cta-section h2 {
        font-size: 1.5rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    .zone-hero h1 {
        font-size: 2rem;
    }

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

    .form-container {
        padding: 1.5rem;
    }

    .form-container h2 {
        font-size: 1.5rem;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }

    .benefit-icon {
        font-size: 2.5rem;
    }

    .profile-hero {
        padding: 2rem 0;
    }

    .profile-hero .installer-avatar {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }

    .profile-hero .installer-info h1 {
        font-size: 1.5rem;
    }

    .installer-meta {
        flex-direction: column;
        gap: 0.75rem;
    }

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

    .result-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .search-page .search-box {
        flex-direction: column;
        gap: 0.75rem;
        border: none;
    }
    
    .search-page .search-input {
        border: 2px solid #2563eb;
        border-radius: 8px;
        padding: 0.875rem 1rem;
        font-size: 1rem;
    }
    
    .search-page .search-button {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
        font-weight: 600;
        background: #10b981;
        color: white;
        border-radius: 8px;
        width: 100%;
    }
    
    .search-button {
        padding: 1rem 1.2rem;
        font-size: 1.1rem;
    }
    
    /* Fix pentru viewport pe mobil - previne scroll orizontal */
    .search-page main {
        display: block;
        width: 100%;
        padding: 0;
    }
    
    .results-container {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .result-card {
        max-width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .result-title {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .result-description {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .result-meta {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .search-info h1 {
        word-wrap: break-word;
        overflow-wrap: break-word;
        font-size: 1.2rem;
    }
    
    /* Stiluri pentru search box pe mobil */
    .search-page .search-box {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    .search-page .search-input {
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .search-header {
        padding: 0.75rem;
        box-sizing: border-box;
    }
    
    .sidebar {
        width: 100%;
        box-sizing: border-box;
    }
    
    .filters-toggle {
        box-sizing: border-box;
    }
    
}

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

@media (max-width: 480px) {
    .submit-button {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
}
/* ================================================
   ZONE PAGE - SEARCH & CLICKABLE CATEGORIES
   Updated styles for improved UX
   ================================================ */

/* === ZONE SEARCH BOX === */
.zone-search-box {
    position: relative;
    max-width: 600px;
    margin: 2rem auto 1rem;
    width: 100%;
}

.zone-search-box input {
    width: 100%;
    padding: 1rem 3rem 1rem 1.25rem;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.zone-search-box input:focus {
    outline: none;
    border-color: #fff;
    background: #fff;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.zone-search-box input::placeholder {
    color: #999;
}

.zone-search-box button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #999;
    font-size: 1.25rem;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zone-search-box button:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #333;
}

/* === CLICKABLE CATEGORIES === */
.category-card.clickable {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card.clickable::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.category-card.clickable:hover::before {
    opacity: 1;
}

.category-card.clickable:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.25);
    border-color: #2563eb;
}

.category-card.clickable:active {
    transform: translateY(-4px) scale(1.01);
}

.category-card.clickable.active {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: white;
    border-color: #2563eb;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
}

.category-card.clickable.active .category-icon {
    filter: brightness(0) invert(1);
}

.category-card.clickable.active h3,
.category-card.clickable.active .count {
    color: white;
}

/* Indicator for clickable */
.category-card.clickable::after {
    content: 'ðŸ‘†';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.875rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card.clickable:hover::after {
    opacity: 0.5;
}

/* === RESET FILTER BUTTON === */
.reset-filter-btn {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.reset-filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(239, 68, 68, 0.4);
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.reset-filter-btn:active {
    transform: translateY(0);
}

/* === SERVICE CARD FILTERING === */
.service-card {
    transition: all 0.3s ease;
}

.service-card.filtered-out {
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
}

/* Smooth appear animation */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.service-card:not(.filtered-out) {
    animation: fadeInScale 0.4s ease forwards;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .zone-search-box {
        margin: 1.5rem auto 1rem;
        padding: 0 1rem;
    }

    .zone-search-box input {
        padding: 0.875rem 3rem 0.875rem 1rem;
        font-size: 0.95rem;
    }

    .category-card.clickable::after {
        font-size: 0.75rem;
    }

    .reset-filter-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .zone-search-box input {
        font-size: 0.9rem;
        padding: 0.75rem 2.5rem 0.75rem 0.875rem;
    }

    .zone-search-box button {
        font-size: 1rem;
        width: 32px;
        height: 32px;
    }
}

/* === ACCESSIBILITY === */
.category-card.clickable:focus {
    outline: 3px solid #2563eb;
    outline-offset: 4px;
}

.zone-search-box input:focus {
    outline: 3px solid #2563eb;
    outline-offset: 2px;
}

/* === LOADING STATE (optional for future AJAX) === */
.services-grid.loading {
    opacity: 0.5;
    pointer-events: none;
}

.services-grid.loading::after {
    content: 'â³ ÃŽncÄƒrcare...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.25rem;
    font-weight: 600;
    color: #2563eb;
}

/* ================================================
   SERVICE CARDS REFRESH - Cleaner Design
   ================================================ */

/* Update service-meta layout */
.service-card .service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.service-card .service-category {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

/* New action button style - Arrow only */
.service-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: white;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.service-card:hover .service-action-btn {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transform: translateX(3px) scale(1.05);
}

/* Remove old styles */
.service-card .service-price,
.service-card .installers-badge {
    display: none;
}

/* Enhanced service card hover */
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-card .service-meta {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .service-action-btn {
        width: 28px;
        height: 28px;
        font-size: 0.875rem;
    }
}

/* ================================================
   SERVICE PAGE - CTA INSTALATORI BUTTON
   ================================================ */

.service-meta-new {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #bae6fd;
    border-radius: 16px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.meta-zone {
    font-size: 0.95rem;
    color: #374151;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.cta-instalatori-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: white;
    text-decoration: none;
    padding: 0.875rem 1.25rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.25);
}

.cta-instalatori-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
}

.cta-instalatori-btn:active {
    transform: translateY(0);
}

.cta-instalatori-btn .icon {
    font-size: 1.5rem;
    line-height: 1;
}

.cta-instalatori-btn .cta-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.cta-instalatori-btn .cta-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
}

.cta-instalatori-btn .cta-subtitle {
    font-size: 0.8rem;
    opacity: 0.9;
    line-height: 1.3;
}

.cta-instalatori-btn .arrow {
    font-size: 1.25rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.cta-instalatori-btn:hover .arrow {
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 768px) {
    .service-meta-new {
        padding: 1.25rem;
        margin: 1.5rem 0;
    }

    .cta-instalatori-btn {
        padding: 0.75rem 1rem;
        gap: 0.625rem;
    }

    .cta-instalatori-btn .icon {
        font-size: 1.375rem;
    }

    .cta-instalatori-btn .cta-title {
        font-size: 0.875rem;
    }

    .cta-instalatori-btn .cta-subtitle {
        font-size: 0.75rem;
    }

    .cta-instalatori-btn .arrow {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .cta-instalatori-btn {
        flex-direction: column;
        text-align: center;
        padding: 0.875rem;
    }

    .cta-instalatori-btn .icon {
        font-size: 2rem;
    }

    .cta-instalatori-btn .arrow {
        display: none;
    }
}

/* ================================================
   CATEGORII & ZONE PAGES - Dedicated Pages Styles
   ================================================ */

/* === PAGE HERO === */
.page-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    padding: 6rem 0 4rem;
    margin-top: 70px;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.page-hero p {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

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

/* === CATEGORY SECTIONS === */
.categories-page-section {
    padding: 3rem 0;
}

.category-section {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.category-section:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.category-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f3f4f6;
}

.category-icon-large {
    font-size: 3rem;
    line-height: 1;
    flex-shrink: 0;
}

.category-info {
    flex: 1;
}

.category-info h2 {
    color: #1e40af;
    margin-bottom: 0.75rem;
    font-size: 1.75rem;
}

.category-description {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.category-meta {
    display: flex;
    gap: 1rem;
}

.meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #f0f9ff;
    color: #1e40af;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.services-preview h3 {
    color: #374151;
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
}

.services-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.service-card-compact {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.service-card-compact:hover {
    border-color: #2563eb;
    background: #f0f9ff;
    transform: translateY(-2px);
}

.service-card-compact h4 {
    color: #1e40af;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.service-availability {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-all-link:hover {
    color: #1d4ed8;
    gap: 0.75rem;
}

/* === ZONES PAGE === */
.zones-section {
    padding: 3rem 0;
    background: #f9fafb;
}

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

.zone-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.zone-card:hover {
    border-color: #2563eb;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.zone-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.zone-card h3 {
    color: #1e40af;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.zone-info {
    margin-top: 0.5rem;
}

.installers-count {
    display: inline-block;
    background: #f0f9ff;
    color: #2563eb;
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.zone-arrow {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    font-size: 1.25rem;
    color: #9ca3af;
    transition: all 0.3s ease;
}

.zone-card:hover .zone-arrow {
    color: #2563eb;
    transform: translateX(3px);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .page-hero {
        padding: 4rem 0 3rem;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .page-hero p {
        font-size: 1.1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .category-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .category-icon-large {
        font-size: 2.5rem;
    }

    .category-info h2 {
        font-size: 1.5rem;
    }

    .services-grid-compact {
        grid-template-columns: 1fr;
    }

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

    .zone-card {
        padding: 1.25rem;
    }

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

@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 1.75rem;
    }

    .category-section {
        padding: 1.5rem;
    }

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

/* === ZONE CARDS SIMPLE === */
.zone-card-simple {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.zone-card-simple:hover {
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.zone-card-simple h3 {
    color: #1e40af;
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
}

.zone-link {
    color: #2563eb;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.zone-card-simple:hover .zone-link {
    transform: translateX(3px);
    color: #1d4ed8;
}

@media (max-width: 768px) {
    .zone-card-simple {
        padding: 1.25rem;
    }
    
    .zone-card-simple h3 {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .search-box {
        flex-direction: column;
        gap: 0.75rem;
        border-radius: 12px;
        padding: 0.75rem;
    }
    
    .search-input {
        border: 2px solid #e2e8f0;
        border-radius: 8px;
        padding: 0.875rem 1rem;
    }
    
    .search-button {
        width: 100%;
        padding: 1rem;
        font-size: 1.1rem;
        font-weight: 600;
        background: #10b981;
        border-radius: 8px;
    }
    
    .search-button:hover {
        background: #059669;
    }
}