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

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: #007acc;
    transition: color 0.3s ease;
}

a:hover {
    color: #005a9e;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #007acc, #005a9e);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #005a9e, #004080);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 122, 204, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #007acc;
    border: 2px solid #007acc;
}

.btn-secondary:hover {
    background: #007acc;
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #333;
    border: 2px solid #ddd;
}

.btn-outline:hover {
    background: #f8f9fa;
    border-color: #007acc;
    color: #007acc;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-top {
    background: #f8f9fa;
    padding: 8px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid #e9ecef;
}

.contact-info {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #666;
    font-size: 1.1rem;
}

.social-links a:hover {
    color: #007acc;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 50px;
    width: auto;
}

.brand-text h1 {
    font-size: 1.5rem;
    color: #007acc;
    margin-bottom: 0;
}

.brand-text p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: #333;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #007acc;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #007acc;
}

.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 0.7rem;
    margin-left: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 10px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
    color: #007acc;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #007acc;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 120px 0 80px;
    margin-top: 80px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

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

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #007acc, #005a9e);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

/* Section Styles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

/* Activities Section */
.activities {
    padding: 80px 0;
    background: white;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.activity-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.activity-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007acc, #005a9e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.activity-card h3 {
    color: #333;
    margin-bottom: 15px;
}

.activity-card p {
    color: #666;
    margin-bottom: 20px;
}

.activity-features {
    list-style: none;
    margin-bottom: 25px;
}

.activity-features li {
    color: #555;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.activity-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #007acc;
    font-weight: bold;
}

/* Products Section */
.products {
    padding: 80px 0;
    background: #f8f9fa;
}

.products-tabs {
    max-width: 900px;
    margin: 0 auto;
}

.tab-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    border-bottom: 2px solid #e9ecef;
}

.tab-btn {
    background: none;
    border: none;
    padding: 15px 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.tab-btn.active {
    color: #007acc;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #007acc;
}

.tab-content {
    min-height: 300px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.product-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.category-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.category-card h3 {
    color: #007acc;
    margin-bottom: 20px;
}

.category-card ul {
    list-style: none;
}

.category-card li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
}

.category-card li:last-child {
    border-bottom: none;
}

/* Category Header Styles */
.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.category-icon {
    width: 50px;
    height: 50px;
    background: #007acc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

/* Featured Category */
.category-card.featured {
    border: 2px solid #007acc;
    transform: scale(1.02);
}

.category-card.featured .category-header {
    color: #007acc;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* Catalog Grid */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.catalog-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.catalog-header {
    margin-bottom: 20px;
}

.catalog-header h3 {
    color: #007acc;
    margin-bottom: 5px;
}

.catalog-type {
    color: #666;
    font-size: 0.9rem;
}

/* Contract Styles */
.contract-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contract-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
}

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

.contract-card.featured {
    border: 2px solid #007acc;
    transform: scale(1.02);
}

.contract-header {
    margin-bottom: 20px;
}

.contract-header h3 {
    color: #007acc;
    margin-bottom: 10px;
}

.contract-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

.popular-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #ff6b6b;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Brand Grid */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.brand-item {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.brand-item:hover {
    transform: translateY(-5px);
}

.brand-item h3 {
    color: #007acc;
    margin-bottom: 15px;
}

/* Case Studies */
.case-studies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.case-study {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.case-study h3 {
    color: #007acc;
    margin-bottom: 15px;
}

.case-study p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.case-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.case-type {
    background: #e3f2fd;
    color: #007acc;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.case-year {
    color: #999;
    font-size: 0.9rem;
}

/* Partners Section */
.partners {
    padding: 80px 0;
    background: white;
}

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

.partner-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.partner-card:hover {
    border-color: #007acc;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.partner-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.partner-logo h3 {
    color: #007acc;
    font-size: 1.8rem;
    margin: 0;
}

.partner-card p {
    color: #666;
    margin-bottom: 25px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #007acc, #005a9e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h3 {
    color: #333;
    margin-bottom: 5px;
}

.contact-details p {
    color: #666;
    margin: 0;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

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

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: #007acc;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bdc3c7;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

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

.footer-logo {
    height: 50px;
    margin-bottom: 15px;
}

.footer-brand h3 {
    color: #007acc;
    margin-bottom: 10px;
}

.footer-brand p {
    color: #bdc3c7;
}

.footer-section .social-links {
    margin-top: 20px;
    justify-content: center;
}

.footer-section .social-links a {
    color: #bdc3c7;
}

.footer-section .social-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Icons (placeholder styles) */
.icon-phone::before { content: '📞'; }
.icon-email::before { content: '✉️'; }
.icon-location::before { content: '📍'; }
.icon-linkedin::before { content: 'in'; }
.icon-facebook::before { content: 'f'; }
.icon-whatsapp::before { content: '💬'; }
.icon-refrigeration::before { content: '❄️'; }
.icon-supply::before { content: '📦'; }
.icon-installation::before { content: '🔧'; }
.icon-service::before { content: '🛠️'; }
.icon-consulting::before { content: '💡'; }

/* Additional icons for pages */
.icon-commercial::before { content: '🏪'; }
.icon-industrial::before { content: '🏭'; }
.icon-climatisation::before { content: '❄️'; }
.icon-equipment::before { content: '⚙️'; }
.icon-evaporator::before { content: '🌀'; }
.icon-condenser::before { content: '🌡️'; }
.icon-emergency::before { content: '🚨'; }
.icon-contract::before { content: '📋'; }
.icon-upgrade::before { content: '⬆️'; }
.icon-study::before { content: '📚'; }
.icon-design::before { content: '🎨'; }
.icon-optimization::before { content: '📈'; }
.icon-commercial-project::before { content: '🏬'; }
.icon-industrial-project::before { content: '🏗️'; }
.icon-climatisation-project::before { content: '🌬️'; }

/* Additional icons for pages */
.icon-components::before { content: '🔩'; }
.icon-panels::before { content: '📦'; }
.icon-control::before { content: '🎛️'; }
.icon-catalog::before { content: '📖'; }
.icon-featured::before { content: '⭐'; }
.icon-popular::before { content: '🔥'; }

/* Responsive Design */
/* Tablet */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .activity-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-categories {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Large */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        padding: 20px;
        transition: left 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin: 10px 0;
        background: #f8f9fa;
        border-radius: 8px;
        padding: 10px;
    }
    
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 30px;
        height: 30px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }
    
    .mobile-menu-toggle span {
        width: 25px;
        height: 3px;
        background: #007acc;
        margin: 3px 0;
        transition: 0.3s;
        border-radius: 2px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .activity-cards {
        grid-template-columns: 1fr;
    }
    
    .product-categories {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .tab-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
    }
    
    .header-top {
        display: none;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
}

/* Mobile Medium */
@media (max-width: 600px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 30px;
    }
    
    .footer-logo {
        height: 35px;
        margin-bottom: 10px;
    }
    
    .brand-text {
        display: none;
    }
    
    .nav-brand {
        justify-content: center;
        flex: 1;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .logo {
        max-width: 60px;
        max-height: 60px;
        height: auto !important;
    }
    
    .navbar {
        padding: 0.8rem 0;
        position: relative;
    }
    
    .mobile-menu-toggle {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        padding: 100px 0 40px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .activity-card {
        padding: 20px;
    }
    
    .activity-card h3 {
        font-size: 1.2rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .tab-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .contact-card {
        padding: 20px;
    }
    
    .logo {
        max-width: 50px;
        max-height: 50px;
        height: auto !important;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 0.8rem;
    }
    
    .tab-btn {
        padding: 10px 16px;
        font-size: 0.8rem;
    }
    
    .activity-card {
        padding: 15px;
    }
    
    .contact-card {
        padding: 15px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .logo {
        max-width: 45px;
        max-height: 45px;
        height: auto !important;
    }
}

/* Mobile Small - Additional styles */
@media (max-width: 480px) {
    .product-categories {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}
