/* HELMEC - Endüstriyel Mekanik Tesisat Web Sitesi */

:root {
    --primary-color: #00695c;
    --primary-dark: #004d40;
    --primary-light: #26a69a;
    --accent-color: #00897b;
    --text-dark: #212529;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* Genel Stiller */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* Header */
.navbar {
    background-color: var(--white) !important;
    box-shadow: var(--shadow);
    padding: 0.75rem 0;
    min-height: 80px;
}

.navbar .container {
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 0;
        min-height: auto;
    }
    
    .navbar-brand {
        padding: 0;
    }
    
    .navbar-brand img {
        width: 200px;
        height: auto;
    }
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-dark) !important;
}

.navbar-brand img {
    width: 200px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.navbar-brand:hover img {
    opacity: 0.8;
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Dil Seçici */
.language-selector {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.language-selector a {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.language-selector a.active {
    background-color: var(--primary-color);
    color: var(--white) !important;
}

.language-selector a:not(.active) {
    color: var(--text-light);
}

.language-selector a:not(.active):hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

/* CTA Butonları */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    margin-top: 0;
}

.hero-slider .carousel-item {
    height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-slider .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 105, 92, 0.75) 0%, rgba(0, 77, 64, 0.8) 100%);
    z-index: 1;
}

.hero-slider .carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: var(--white);
    width: 90%;
    max-width: 800px;
    padding: 1rem;
}

@media (max-width: 768px) {
    .hero-slider .carousel-caption {
        padding: 0.5rem;
        width: 95%;
    }
}

.hero-slider h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-slider p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Bölüm Başlıkları */
.section-title {
    text-align: center;
    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-color: var(--primary-color);
    border-radius: 2px;
}

/* Hizmet Kartları */
.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

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

.service-card .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h4 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Sertifikalar */
.certificates {
    background-color: var(--bg-light);
    padding: 3rem 0;
}

.certificate-item {
    text-align: center;
    padding: 1rem;
    background: var(--white);
    border-radius: 8px;
    margin: 0.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.certificate-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.certificate-item h6 {
    margin-top: 0.5rem;
    color: var(--primary-dark);
    font-size: 0.9rem;
}

/* Ortaklık Yapısı */
.partnership-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.partnership-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.partnership-logo {
    max-width: 200px;
    width: 100%;
    height: auto;
    margin-bottom: 0;
    object-fit: contain;
}

.partnership-card p {
    text-align: left;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer h5 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    margin-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* Hakkımızda Sayfası */
.about-section {
    padding: 3rem 0;
}

.about-section:nth-child(even) {
    background-color: var(--bg-light);
}

.anchor-menu {
    position: sticky;
    top: 100px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.anchor-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.anchor-menu li {
    margin-bottom: 0.5rem;
}

.anchor-menu a {
    color: var(--text-dark);
    padding: 0.5rem;
    display: block;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.anchor-menu a:hover,
.anchor-menu a.active {
    background-color: var(--primary-color);
    color: var(--white);
    padding-left: 1rem;
}

/* Ürünler Sayfası */
.product-search {
    margin-bottom: 2rem;
}

.product-search input {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.product-search input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 105, 92, 0.25);
}

.category-accordion .accordion-item {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.category-accordion .accordion-button {
    background-color: var(--bg-light);
    color: var(--primary-dark);
    font-weight: 600;
    padding: 1.25rem;
}

.category-accordion .accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: var(--white);
}

.category-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.product-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-list-item {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-list-item:hover {
    background-color: var(--bg-light);
    padding-left: 1.5rem;
}

.product-list-item:last-child {
    border-bottom: none;
}

.product-list-item h6 {
    margin: 0;
    color: var(--text-dark);
}

/* Ürün Detay Sayfası */
.product-detail-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 6rem 0;
    margin-bottom: 3rem;
    margin-top: 76px;
}

.product-detail-header h1 {
    color: var(--white);
}

.detail-section {
    margin-bottom: 3rem;
}

.detail-section h3 {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--primary-color);
}

.detail-section ul {
    padding-left: 1.5rem;
}

.detail-section li {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

/* İletişim Sayfası */
.contact-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    height: 100%;
}

.contact-info-item {
    display: flex;
    align-items: start;
    margin-bottom: 1.5rem;
}

.contact-info-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.contact-form {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.contact-form .form-control,
.contact-form .form-select {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 105, 92, 0.25);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.map-container {
    margin-top: 3rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slider {
        height: 400px;
        margin-top: 120px;
        padding-top: 0;
    }
    
    .hero-slider .carousel-item {
        height: 400px;
    }
    
    .hero-slider h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .hero-slider p {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    .hero-slider .carousel-caption {
        top: 40%;
        transform: translate(-50%, -50%);
        padding: 0.5rem;
    }
    
    .hero-slider h1 {
        margin-bottom: 0.75rem;
    }
    
    .hero-slider p {
        margin-bottom: 1rem;
    }
    
    .hero-slider .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
        margin-top: 0.5rem;
    }
    
    .anchor-menu {
        position: relative;
        top: 0;
        margin-bottom: 2rem;
    }
    
    .service-card {
        margin-bottom: 1.5rem;
    }
    
    .catalog-category {
        flex-direction: column;
    }
    
    .catalog-category.reverse {
        flex-direction: column;
    }
    
    .catalog-image {
        max-width: 100%;
    }
    
    .product-detail-header {
        margin-top: 120px !important;
        padding: 3rem 0;
    }
    
    .product-detail-header h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .product-detail-header .lead {
        font-size: 1rem;
    }
    
    .section-padding[style*="margin-top"] {
        margin-top: 120px !important;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 0.4rem 0;
    }
    
    .hero-slider {
        height: 350px;
    }
    
    .hero-slider .carousel-item {
        height: 350px;
    }
    
    .hero-slider h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-slider p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-slider .carousel-caption {
        padding: 1rem;
    }
}

/* Katalog Formatı */
.catalog-section {
    margin-bottom: 4rem;
}

.catalog-category {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.catalog-category.reverse {
    flex-direction: row-reverse;
}

.catalog-content {
    flex: 1;
    min-width: 0;
}

.catalog-title {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 4px;
}

.catalog-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.catalog-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.6;
}

.catalog-list li:last-child {
    border-bottom: none;
}

.catalog-list li a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.catalog-list li a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.catalog-image {
    flex: 1;
    min-width: 0;
    max-width: 500px;
}

.catalog-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

.catalog-divider {
    height: 3px;
    background-color: var(--primary-dark);
    margin: 3rem 0;
    border-radius: 2px;
}

/* Utility Classes */
.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.section-padding {
    padding: 4rem 0;
}

.mb-section {
    margin-bottom: 4rem;
}

/* Loading Animation */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

@media (max-width: 576px) {
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand img {
        width: 200px;
        height: auto;
    }
    
    .hero-slider {
        height: 350px;
        margin-top: 120px;
        padding-top: 0;
    }
    
    .hero-slider .carousel-item {
        height: 350px;
    }
    
    .hero-slider h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-slider p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-slider .carousel-caption {
        top: 40%;
        transform: translate(-50%, -50%);
        padding: 0.5rem;
    }
    
    .hero-slider h1 {
        margin-bottom: 0.5rem;
    }
    
    .hero-slider p {
        margin-bottom: 0.75rem;
    }
    
    .hero-slider .btn {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
        margin-top: 0.5rem;
    }
    
    .product-detail-header {
        margin-top: 120px !important;
        padding: 2.5rem 0;
    }
    
    .product-detail-header h1 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .product-detail-header .lead {
        font-size: 0.95rem;
    }
    
    .section-padding[style*="margin-top"] {
        margin-top: 120px !important;
    }
}
