/* RC PALET VE ORMAN ÜRÜNLERİ - Ana Stil Dosyası */

:root {
    --wood-brown: #8B4513;
    --wood-light: #A0522D;
    --wood-dark: #654321;
    --wood-accent: #6B4423;
    --dark-gray: #2C2C2C;
    --gray-medium: #555555;
    --gray-light: #F5F5F5;
    --gray-dark: #404040;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Navbar Stilleri */
.navbar {
    background: linear-gradient(135deg, var(--wood-dark) 0%, var(--wood-brown) 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    margin-right: 0;
    padding: 0;
}

.navbar-logo {
    height: 55px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--wood-light) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--wood-light);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

.navbar-toggler {
    border-color: var(--white);
    z-index: 1050;
    position: relative;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.social-icons {
    display: flex;
    align-items: center;
}

.social-icons a {
    color: var(--white);
    font-size: 1.2rem;
    margin-left: 1rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--wood-light);
}

/* Mobil için sosyal medya ikonları (iletişim sayfası) */
.mobile-social-icons {
    display: none;
    text-align: center;
    padding: 2rem 0;
    background: var(--gray-light);
}

.mobile-social-icons a {
    color: var(--wood-brown);
    font-size: 2rem;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.mobile-social-icons a:hover {
    color: var(--wood-dark);
}

/* Hero Carousel */
#heroCarousel {
    margin-top: 76px;
}

.hero-slide {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.carousel-control-prev,
.carousel-control-next {
    z-index: 3;
    width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.carousel-indicators {
    z-index: 3;
    margin-bottom: 2rem;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--white);
}

.carousel-indicators button.active {
    background-color: var(--wood-brown);
}

/* Why Us Section */
.why-us-section {
    padding: 5rem 0;
    background: var(--white);
}

.feature-card {
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    color: var(--wood-brown);
}

/* About Section */
.about-section {
    padding: 5rem 0;
}

.about-section img {
    width: 100%;
    height: auto;
}

.about-logo {
    max-width: 400px;
    max-height: 300px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

/* Production Section */
.production-section {
    padding: 5rem 0;
    background: var(--white);
}

.production-section img {
    width: 100%;
    height: auto;
}

.production-image {
    max-width: 400px;
    max-height: 300px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

/* Sectors Section */
.sectors-section {
    padding: 5rem 0;
    background: var(--white);
}

.sector-card {
    padding: 2rem 1rem;
    background: var(--gray-light);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.sector-card:hover {
    background: var(--white);
    border-color: var(--wood-brown);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Counter Section */
.counter-section {
    background: var(--gray-light);
    padding: 5rem 0;
}

.counter-section h2 {
    text-align: center;
    color: var(--wood-dark);
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: bold;
}

.counter-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.counter-item:hover {
    transform: translateY(-5px);
}

.counter-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--wood-brown);
    display: block;
    margin-bottom: 0.5rem;
}

.counter-label {
    font-size: 1.1rem;
    color: var(--gray-medium);
    font-weight: 500;
}

/* Products Section */
.products-section {
    padding: 5rem 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    color: var(--wood-dark);
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: bold;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--wood-brown);
}

.product-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-card-body {
    padding: 1.5rem;
    background: var(--white);
}

.product-card-title {
    color: var(--wood-dark);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--wood-dark) 0%, var(--wood-brown) 100%);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer h5 {
    color: var(--wood-light);
    margin-bottom: 1rem;
    font-weight: bold;
}

.footer p, .footer a {
    color: var(--white);
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
}

.footer a:hover {
    color: var(--wood-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
}

/* Contact Form */
.contact-section {
    padding: 5rem 0;
    background: var(--gray-light);
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-control {
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    padding: 0.75rem;
    margin-bottom: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--wood-brown);
    box-shadow: 0 0 0 0.2rem rgba(139, 69, 19, 0.25);
}

.btn-primary {
    background: var(--wood-brown);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s ease;
    color: var(--white);
}

.btn-primary:hover {
    background: var(--wood-dark);
    color: var(--white);
}

.contact-info {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.contact-info-item {
    margin-bottom: 2rem;
}

.contact-info-item i {
    color: var(--wood-brown);
    font-size: 1.5rem;
    margin-right: 1rem;
}

.contact-info-item h6 {
    color: var(--wood-dark);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Map */
.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: var(--white);
}

.about-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-medium);
}

/* Certificates Section */
.certificates-section {
    padding: 5rem 0;
    background: var(--gray-light);
}

.certificate-card {
    border: none;
    border-radius: 10px;
    overflow: visible;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
}

.certificate-card:hover {
    transform: translateY(-5px);
}

.certificate-card img {
    width: 100%;
    height: auto;
    max-height: 800px;
    object-fit: contain;
    object-position: center;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 0;
    }

    .navbar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .navbar-brand {
        font-size: 0.9rem;
        letter-spacing: 0.3px;
        line-height: 1.4;
        margin-right: 0;
    }

    .navbar-logo {
        height: 50px;
        width: auto;
    }

    .navbar-toggler {
        z-index: 1051;
        order: 0;
        margin-left: auto;
    }

    .navbar-collapse {
        width: 100%;
        margin-top: 1rem;
    }

    .social-icons {
        display: none;
    }

    .mobile-social-icons {
        display: block;
    }

    .hero-slide {
        min-height: 500px;
        height: 70vh;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .counter-number {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .navbar-nav {
        text-align: center;
        margin-top: 1rem;
    }

    .product-card {
        margin-bottom: 1.5rem;
    }

    .product-card img {
        height: 200px;
    }

    .counter-item {
        margin-bottom: 1.5rem;
    }

    .contact-form,
    .contact-info {
        margin-bottom: 2rem;
    }

    .about-logo {
        max-width: 300px;
        max-height: 250px;
    }

    .production-image {
        max-width: 300px;
        max-height: 250px;
    }

    .certificate-card img {
        max-height: 600px;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 0.8rem;
        letter-spacing: 0.2px;
        line-height: 1.4;
    }

    .navbar-logo {
        height: 50px;
        width: auto;
    }

    .navbar-toggler {
        padding: 0.25rem 0.5rem;
    }

    .product-card img {
        height: 180px;
    }

    .counter-number {
        font-size: 1.75rem;
    }

    .counter-label {
        font-size: 0.95rem;
    }

    .about-logo {
        max-width: 250px;
        max-height: 200px;
    }

    .production-image {
        max-width: 250px;
        max-height: 200px;
    }

    .certificate-card img {
        max-height: 500px;
    }
}

/* Alert Messages */
.alert {
    border-radius: 5px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}


