/* 
   Özoğlu Teknik - Premium Web Stylesheet
   Designed with Outfit Font and Modern CSS Variables
*/

/* 1. Global Reset & Variables */
:root {
    --primary-orange: #FF5722;     /* Warmhaus Orange */
    --primary-orange-hover: #E64A19;
    --secondary-blue: #0D47A1;     /* Viessmann Blue */
    --secondary-blue-hover: #0A3680;
    --dark-navy: #0F172A;          /* Slate 900 */
    --light-bg: #F8FAFC;           /* Slate 50 */
    --white: #FFFFFF;
    --text-dark: #1E293B;          /* Slate 800 */
    --text-muted: #64748B;         /* Slate 500 */
    --border-color: #E2E8F0;       /* Slate 200 */
    --font-main: 'Outfit', sans-serif;
    
    --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.1);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Common Layout Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* 2. Typography & Buttons */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.25;
    color: var(--dark-navy);
}

h1 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.15rem;
}

.btn-primary {
    background-color: var(--primary-orange);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(255, 87, 34, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.5);
}

.btn-call {
    background-color: var(--secondary-blue);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(13, 71, 161, 0.4);
}

.btn-call:hover {
    background-color: var(--secondary-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 71, 161, 0.5);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Pulsing Animation for Main CTA */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(13, 71, 161, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(13, 71, 161, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(13, 71, 161, 0);
    }
}

.pulsing {
    animation: pulse 2s infinite;
}

/* Section Title layout */
.section-title {
    margin-bottom: 3.5rem;
}

.section-title p {
    max-width: 600px;
    margin: 1rem auto 0;
}

.title-bar {
    width: 60px;
    height: 4px;
    background-color: var(--primary-orange);
    margin: 12px 0;
}

.text-center .title-bar {
    margin: 12px auto;
}

/* 3. Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    height: 70px;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--dark-navy);
}

.logo-accent {
    color: var(--primary-orange);
}

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

.nav-link {
    font-size: 1rem;
    font-weight: 550;
    color: var(--text-muted);
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-orange);
}

.nav-link.active {
    border-bottom-color: var(--primary-orange);
}

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

.btn-header {
    padding: 8px 20px;
    font-size: 0.95rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-navy);
    cursor: pointer;
    padding: 4px;
}

/* 4. Hero Section */
.hero {
    position: relative;
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 120px;
    background: linear-gradient(135deg, #0A192F 0%, #152E52 100%);
    color: var(--white);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-brand-name {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
    text-align: center;
}

@media (max-width: 768px) {
    .hero-brand-name {
        font-size: 1.75rem;
    }
}

.hero-content h1 {
    color: var(--white);
    font-size: 3.5rem;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.hero-lead {
    color: #E2E8F0;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.authorized-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 87, 34, 0.15);
    color: var(--primary-orange);
    border: 1px solid rgba(255, 87, 34, 0.3);
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.brand-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 2.5rem;
}

.brand-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-tag.warmhaus {
    background-color: rgba(255, 87, 34, 0.1);
    color: #FF7043;
    border-color: rgba(255, 87, 34, 0.2);
}

.brand-tag.viessmann {
    background-color: rgba(227, 6, 19, 0.1);
    color: #E30613;
    border-color: rgba(227, 6, 19, 0.2);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Hero Stats cards (Right Side column) */
.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-card {
    background-color: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px;
    border-radius: 16px;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateX(-5px);
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

.stat-icon {
    font-size: 1.75rem;
    color: var(--primary-orange);
    margin-bottom: 12px;
}

.stat-card h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.stat-card p {
    color: #94A3B8;
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Background Curve Design */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.hero-wave .shape-fill {
    fill: var(--light-bg);
}

/* 5. Services Section */
.services {
    padding: 100px 0;
    background-color: var(--light-bg);
}

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

.service-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background-color: rgba(255, 87, 34, 0.08);
    color: var(--primary-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary-orange);
    color: var(--white);
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-list {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-list li {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-list li i {
    color: #25D366;
}

/* 6. Why Us / Authorized Section */
.why-us {
    padding: 100px 0;
    background-color: var(--white);
}

.why-us-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
    align-items: center;
}

/* Brand visual block */
.why-us-image {
    position: relative;
    background: linear-gradient(135deg, #152E52 0%, #0A192F 100%);
    border-radius: 24px;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.why-us-image::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(255, 87, 34, 0.15);
    filter: blur(50px);
    top: -50px;
    right: -50px;
}

.image-badge {
    position: absolute;
    top: 30px;
    left: 30px;
    background-color: var(--white);
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.badge-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-orange);
    line-height: 1;
}

.badge-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    margin-top: 4px;
    text-align: center;
}

.brand-images {
    display: flex;
    gap: 20px;
    width: 100%;
    padding: 0 20px;
    justify-content: center;
    align-items: center;
    z-index: 2;
    margin-top: 50px;
}

.brand-img-wrapper {
    position: relative;
    flex: 1;
    max-width: 170px;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 12px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-img-wrapper:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.kombi-img {
    width: 100%;
    height: 140px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 12px;
    background-color: var(--white);
    padding: 8px;
}

.brand-img-label {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 4px 14px;
    border-radius: 50px;
    color: var(--white);
    text-transform: uppercase;
}

.warmhaus-label {
    background-color: var(--primary-orange);
}

.viessmann-label {
    background-color: #E30613; /* Viessmann Red */
}

/* Trust features checklist */
.why-us-content .section-title {
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--secondary-blue);
    margin-top: 2px;
}

.feature-item h4 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.feature-item p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* 7. Contact Section */
.contact {
    padding: 100px 0 120px;
    background-color: var(--light-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 50px;
    align-items: stretch;
}

.contact-info {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
}

.contact-info h3 {
    margin-bottom: 12px;
}

.contact-desc {
    font-size: 0.95rem;
    margin-bottom: 30px;
}

/* Visual contact links layout */
.info-link-card {
    display: flex;
    gap: 20px;
    background-color: var(--light-bg);
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 20px;
    align-items: center;
    border: 1px solid transparent;
    transition: var(--transition);
}

.info-link-card:hover {
    border-color: var(--border-color);
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(13, 71, 161, 0.08);
    color: var(--secondary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.info-link-card span {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 2px;
}

.info-action-text {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark-navy);
}

.info-action-text:hover {
    color: var(--secondary-blue);
}

.info-text {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0;
}

/* Map Section */
.contact-map {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.contact-map h3 {
    margin-bottom: 24px;
}

.map-container {
    flex-grow: 1;
    border-radius: 16px;
    overflow: hidden;
    min-height: 320px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* 8. Footer */
.footer {
    background-color: var(--dark-navy);
    color: var(--white);
    padding: 60px 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand h2 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.footer-brand p {
    color: #94A3B8;
    max-width: 300px;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.footer-contact-details {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact-details p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #CBD5E1;
    max-width: 450px;
    line-height: 1.5;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.footer-links a {
    color: #94A3B8;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-orange);
    transform: translateX(4px);
}

.footer-copy {
    padding-top: 30px;
    text-align: center;
}

.footer-copy p {
    color: #64748B;
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* 9. Mobile Fixed Bottom Call Bar */
.mobile-cta-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: var(--white);
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.mobile-cta-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--white);
    height: 100%;
}

.cta-call {
    background-color: var(--secondary-blue);
}

.cta-call:hover {
    background-color: var(--secondary-blue-hover);
}

.cta-whatsapp {
    background-color: #25D366;
}

.cta-whatsapp:hover {
    background-color: #128C7E;
}

/* 10. Media Queries (Mobile Responsiveness) */
@media (max-width: 992px) {
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.85rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .stat-card {
        flex: 1;
        min-width: 250px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .why-us-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .why-us-image {
        height: 300px;
        order: 2;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    body {
        padding-bottom: 60px; /* Padding for mobile bottom fixed bar */
    }
    
    /* Navigation drawer menu for mobile */
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 24px;
        z-index: 999;
        transition: var(--transition);
        box-shadow: var(--shadow-md);
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.25rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .btn-header {
        display: none; /* Hide header call button on mobile, use bottom fixed bar */
    }
    
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .hero-stats {
        flex-direction: column;
    }
    
    .mobile-cta-bar {
        display: flex;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* 11. Floating WhatsApp Widget */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 998;
    transition: var(--transition);
}

.whatsapp-float i {
    font-size: 1.5rem;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* Adjustments for mobile view so it doesn't overlap the bottom bar */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 80px; /* Positions it just above the mobile cta bar */
        right: 20px;
        padding: 12px; /* Makes it a circular button on mobile to save space */
        border-radius: 50%;
        width: 56px;
        height: 56px;
        justify-content: center;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }
    
    .whatsapp-float-text {
        display: none; /* Hide text on mobile to avoid covering screen content */
    }
}

/* Brands Large Showcase Section */
.brands-showcase-large {
    padding: 80px 0 60px 0;
    background-color: var(--light-bg);
}

.brands-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.showcase-card {
    background-color: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 0, 0, 0.08);
}

.showcase-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 16px;
    border-radius: 50px;
    color: var(--white);
}

.warmhaus-badge {
    background-color: var(--primary-orange);
}

.viessmann-badge {
    background-color: #E30613; /* Viessmann Red */
}

.showcase-img {
    height: 280px;
    max-width: 100%;
    object-fit: contain;
    margin: 20px 0;
    transition: var(--transition);
}

.showcase-card:hover .showcase-img {
    transform: scale(1.04);
}

.showcase-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.showcase-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 90%;
}

@media (max-width: 768px) {
    .brands-showcase-large {
        padding: 50px 0 30px 0;
    }
    
    .brands-showcase-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .showcase-card {
        padding: 30px 20px;
    }
    
    .showcase-img {
        height: 200px;
    }
    
    .showcase-title {
        font-size: 1.25rem;
    }
}

/* 13. Appointment Section Styling */
.appointment {
    padding: 80px 0;
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
}

.appointment-form {
    max-width: 800px;
    margin: 40px auto 0 auto;
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark-navy);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background-color: var(--white);
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.1);
}

/* Service Selection Buttons */
.appt-type-container {
    display: flex;
    gap: 16px;
    width: 100%;
}

.appt-type-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    background-color: var(--white);
    cursor: pointer;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.appt-btn-img {
    width: 100%;
    max-width: 220px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 4px;
    transition: var(--transition);
}

.appt-type-btn:hover .appt-btn-img {
    transform: scale(1.03);
}

.appt-type-btn:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    background-color: rgba(255, 87, 34, 0.02);
}

.appt-type-btn.active {
    border-color: var(--primary-orange);
    background-color: var(--primary-orange);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.25);
}

/* Time Slot Buttons */
.time-slots-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    padding: 15px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    min-height: 80px;
    align-items: center;
}

.select-date-msg {
    grid-column: span 6;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.time-slot-btn {
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--light-bg);
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.time-slot-btn:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    background-color: rgba(255, 87, 34, 0.05);
}

.time-slot-btn.active {
    border-color: var(--primary-orange);
    background-color: var(--primary-orange);
    color: var(--white);
}

.appt-submit-btn {
    min-width: 250px;
    border: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .appointment {
        padding: 50px 0;
    }
    
    .appointment-form {
        padding: 24px 16px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .appt-type-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .appt-btn-img {
        max-width: 100%;
        height: 140px;
    }
    
    .time-slots-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .select-date-msg {
        grid-column: span 3;
    }
}

/* 12. Brand-Specific Logotype Mimics */
.brand-txt-warmhaus {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    letter-spacing: -0.5px;
}
span.brand-txt-warmhaus {
    color: var(--primary-orange) !important;
}

.brand-txt-viessmann {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -0.5px;
    text-transform: capitalize;
}
span.brand-txt-viessmann {
    color: #E30613 !important; /* Viessmann Red */
}

/* Maintain white color inside colored badges/labels */
.showcase-badge span.brand-txt-warmhaus,
.showcase-badge span.brand-txt-viessmann,
.brand-img-label.brand-txt-warmhaus,
.brand-img-label.brand-txt-viessmann,
.brand-tag span.brand-txt-warmhaus,
.brand-tag span.brand-txt-viessmann {
    color: var(--white) !important;
}

.brand-logo-img {
    max-height: 25px;
    width: auto;
    object-fit: contain;
    margin: 8px auto 0 auto;
    display: block;
    background-color: var(--white);
    padding: 3px 10px;
    border-radius: 6px;
}

.tag-logo-img {
    height: 20px;
    width: auto;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    background-color: var(--white);
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 6px;
}
