/* ============================================
   Modern CSS for Klima Servis Website
   SEO-Optimized, Responsive, Interactive
   ============================================ */

/* CSS Variables for Easy Theming */
:root {
    --primary-color: #0066cc;
    --secondary-color: #00a8e8;
    --accent-color: #ff6b35;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-light: #666;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --gradient-primary: linear-gradient(135deg, #0066cc 0%, #00a8e8 100%);
    --gradient-hero: linear-gradient(135deg, rgba(0, 102, 204, 0.9) 0%, rgba(0, 168, 232, 0.9) 100%);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-lg);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    opacity: 0.8;
}

.logo-img {
    height: 80px;
    width: auto;
    /* max-width: 150px; */
    object-fit: contain;
    transition: var(--transition);
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.logo-text {
    display: block;
}

@media (max-width: 768px) {
    .logo-img {
        height: 50px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav-link:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

.nav-phone {
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
}

.nav-phone:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    height: 85vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    background-image: linear-gradient(135deg, rgba(0, 102, 204, 0.7) 0%, rgba(0, 168, 232, 0.7) 100%), url(../images/bacgraunds/backgraund-hero.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
}

.hero-cta {
    margin-top: 2rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(20px); opacity: 0; }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ============================================
   Animations
   ============================================ */
.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-in 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-in 0.6s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Services Section
   ============================================ */
.services-section {
    padding: 50px 0 0 0;
    background: var(--light-color);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    text-align: left;
    margin: 1.5rem 0;
    padding: 0;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
}

/* ============================================
   Why Choose Us Section
   ============================================ */
.why-choose-us {
    padding: 100px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    transition: var(--transition);
}

.feature-item:hover {
    transform: scale(1.05);
}

.feature-number {
    font-size: 4rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.feature-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* ============================================
   Process Section
   ============================================ */
.process-section {
    padding: 100px 0;
    background: var(--light-color);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

.process-step {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    padding: 80px 0;
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Page Header
   ============================================ */
.page-header {
    padding: 150px 0 80px;
    background: var(--gradient-primary);
    background-image: linear-gradient(135deg, rgba(0, 102, 204, 0.7) 0%, rgba(0, 168, 232, 0.7) 100%), url(../images/bacgraunds/bg-1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
    position: relative;
}

.page-header h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

/* ============================================
   Services Navigation
   ============================================ */
.services-nav-section {
    padding: 40px 0;
    background: var(--light-color);
    border-bottom: 2px solid #e0e0e0;
}

.services-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.service-nav-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--white);
    color: var(--text-color);
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: 2px solid transparent;
}

.service-nav-link:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-nav-link:active,
.service-nav-link.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: var(--primary-color);
}

/* ============================================
   Services Detail Page
   ============================================ */
.services-detail {
    padding: 60px 0;
}

.service-detail-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 0;
    margin-bottom: 3rem;
    scroll-margin-top: 120px;
    position: relative;
    overflow: hidden;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
}

.service-card-left .service-detail-content {
    grid-template-columns: 1fr 1fr;
}

.service-card-right .service-detail-content {
    grid-template-columns: 1fr 1fr;
}

.service-card-right .service-image-wrapper {
    order: 2;
}

.service-card-right .service-text-content {
    order: 1;
}

.service-image-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-color);
}

.service-image {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    display: block;
    transition: var(--transition);
}

.service-image:hover {
    transform: scale(1.02);
}

.service-text-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
}

.service-detail-icon {
    font-size: 5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.service-detail-content h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 2rem;
}

.service-details h3 {
    color: var(--dark-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.service-list {
    list-style: none;
    padding-left: 0;
}

.service-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.service-list ol {
    padding-left: 1.5rem;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-section {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-form-wrapper,
.contact-info-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-form-wrapper h2,
.contact-info-wrapper h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.contact-info-card {
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.contact-info-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-info-item p {
    margin: 0.25rem 0;
}

.contact-info-item a {
    color: var(--text-color);
}

.contact-info-item a:hover {
    color: var(--primary-color);
}

.map-container {
    margin-top: 2rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
}

.alert {
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.footer-logo:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.footer-logo-img {
    height: 150px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.footer-logo:hover .footer-logo-img {
    transform: scale(1.05);
    opacity: 0.9;
}

.footer-column h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-hours {
    width: 100%;
    color: rgba(255, 255, 255, 0.8);
    border-collapse: collapse;
}

.footer-hours tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-hours tr:last-child {
    border-bottom: none;
}

.footer-hours td {
    padding: 0.5rem 0.5rem 0.5rem 0;
    vertical-align: top;
}

.footer-hours td:first-child {
    font-weight: 500;
    min-width: 100px;
}

.footer-hours td:last-child {
    text-align: right;
    color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.footer-seo-keywords {
    font-size: 0.9rem;
    margin-top: 1rem;
    opacity: 0.7;
}

/* ============================================
   Floating Phone Button
   ============================================ */
.floating-phone-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.4);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 999;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    animation: pulse-phone 2s infinite;
    white-space: nowrap;
}

.floating-phone-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 102, 204, 0.6);
    color: var(--white);
}

.floating-phone-icon {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
}

.floating-phone-text {
    display: inline-block;
}

@keyframes pulse-phone {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(0, 102, 204, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(0, 102, 204, 0.6), 0 0 0 10px rgba(0, 102, 204, 0.1);
    }
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero {
        background-attachment: scroll;
    }
    
    .page-header {
        background-attachment: scroll;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .services-grid,
    .features-grid,
    .process-timeline {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .services-nav-section {
        padding: 20px 0;
    }
    
    .services-nav {
        gap: 0.5rem;
    }
    
    .service-nav-link {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .service-detail-card {
        scroll-margin-top: 100px;
    }
    
    .service-detail-content {
        grid-template-columns: 1fr !important;
    }
    
    .service-card-right .service-image-wrapper,
    .service-card-right .service-text-content {
        order: 0;
    }
    
    .service-image-wrapper {
        min-height: auto;
    }
    
    .service-image {
        height: auto;
    }
    
    .service-text-content {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .service-card,
    .service-detail-card,
    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 1.5rem;
    }
    
    .services-nav {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .service-nav-link {
        width: 100%;
        text-align: center;
        padding: 0.75rem;
    }
    
    .service-image-wrapper {
        min-height: auto;
    }
    
    .service-image {
        height: auto;
    }
    
    .service-text-content {
        padding: 1.5rem;
    }
    
    .floating-phone-btn {
        bottom: 20px;
        right: 20px;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .floating-phone-text {
        display: none;
    }
    
    .floating-phone-icon {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .navbar,
    .footer,
    .cta-section,
    .btn,
    .floating-phone-btn {
        display: none;
    }
    
    body {
        color: #000;
    }
}

