/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Navigation - Shared across all pages */
#navbar {
    background: #fff;
    padding: 0.6rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

#nav-container {
    width: 100%;
    height: 2.5vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem 0 0.5rem;
}

#logo {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
}

#logo-image {
    height: 2vh;
    width: auto;
    margin-right: 0.4rem;
    margin-left: 0.5vh;
}

#logo-text {
    font-size: 1.5rem;
    display: flex;
}

#logo-cold {
    color: #2563eb;
}

#logo-air {
    color: #4b5563;
}

#nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

#nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1rem;
}

#nav-menu a:hover {
    color: #ff6b35;
}

/* Main Page Hero Section */
#hero-main {
    background: linear-gradient(135deg, #6981ef 0%, #2e38f4 100%);
    min-height: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 30px;
}

#hero-main-content {
    max-width: 800px;
    padding: 2rem;
}

#hero-main-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

#hero-main-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Main Page Services Section */
#services-main {
    padding: 4rem 0;
    background: #f8f9fa;
}

#services-main-container {
    width: 98%;
    margin: 0 auto;
    display: flex;
    gap: 1.5%;
    padding: 0 1%;
}

.service-card-main {
    flex: 1;
    min-width: 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    max-height: 400px;
}

.service-card-main:hover {
    transform: translateY(-5px);
}

.service-image-main {
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    flex-shrink: 0;
}

.service-image-main img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.service-content-main {
    padding: 2rem;
    background: #60a5fa;
    color: white;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-title-main {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
}

.service-description-main {
    font-style: italic;
    font-size: 1rem;
    margin-bottom: 1.2rem;
    opacity: 0.9;
    text-align: right;
}

.read-more-main {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: opacity 0.3s ease;
}

.read-more-main:hover {
    opacity: 0.8;
}

/* Main Page About Section */
#about-main {
    padding: 4rem 0;
    background: white;
}

#about-main-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 0 2rem;
    align-items: start;
}

#about-main-content {
    padding-right: 2rem;
}

#about-main-label {
    color: #ff6b35;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

#about-main-title {
    font-size: 2.5rem;
    color: #2c3e50;
    font-weight: 700;
    line-height: 1.2;
}

#about-main-text p {
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.6;
}

/* Company Pages Shared Styles */
.company-header, #company-header {
    padding: 60px 0 40px 0;
    color: white;
    margin-top: 90px;
}

.company-hero {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 0 2rem;
}

.company-logo-section {
    flex: 1;
    text-align: center;
}

.company-logo-large {
    max-width: 280px;
    max-height: 180px;
    object-fit: contain;
}

.company-title-section {
    flex: 2;
}

.company-main-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.company-motto {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.company-subtitle {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Company Page Specific Backgrounds */
#ozen-header {
    background: linear-gradient(135deg, #6981ef 0%, #2e38f4 100%);
}

#termokar-header {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
}

#mit-header {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
}

/* Company Info Sections */
.company-info {
    padding: 4rem 0;
    background: white;
}

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

.company-info-title {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-weight: 700;
}

.company-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
}

/* Year Badges */
.year-badge {
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.year-badge-ozen {
    background: #60a5fa;
}

.year-badge-termokar {
    background: #0ea5e9;
}

.year-badge-mit {
    background: #dc2626;
}

.year-badge .year {
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

/* Contact Sections - Shared across all pages */
.contact-info {
    padding: 4rem 0;
    background: #2c3e50;
    color: white;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
}

.contact-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-details p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.contact-details strong {
    color: #60a5fa;
}

/* Responsive Design */
@media (max-width: 768px) {
    #nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 0 5%;
        height: auto;
    }

    #nav-menu {
        gap: 1rem;
    }

    #hero-main {
        min-height: 25vh;
    }

    #hero-main-title {
        font-size: 2rem;
    }

    #services-main-container {
        flex-direction: column;
        width: 90%;
        gap: 4%;
    }

    .service-card-main {
        width: 100%;
    }

    #about-main-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 5%;
    }

    #about-main-content {
        padding-right: 0;
    }

    #about-main-title {
        font-size: 2rem;
    }

    .company-hero {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .company-main-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    #services-main-container {
        width: 95%;
        padding: 0 2.5%;
    }

    #nav-container {
        padding: 0 2.5%;
    }

    #hero-main-content {
        padding: 1rem;
    }
}