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

:root {
    --primary-color: #2c5f2d;
    --secondary-color: #97bc62;
    --accent-color: #f39c12;
    --dark-color: #1a1a1a;
    --light-color: #f4f4f4;
    --white: #ffffff;
    --text-color: #333333;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 15px rgba(0, 0, 0, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

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

/* Top Bar Styles */
.top-bar {
    background: var(--dark-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.top-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-info i {
    color: var(--accent-color);
}

.top-info a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-info a:hover {
    color: var(--accent-color);
}

/* Header Styles */
.header {
    background: rgba(44, 95, 45, 0.98);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border-bottom: 2px solid var(--accent-color);
}

.header.scrolled {
    padding: 8px 0;
    background: rgba(44, 95, 45, 1);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 18px;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 12px;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-image {
    height: 70px;
    width: 70px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    border: 3px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    background: white;
}

.logo:hover .logo-image {
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.5);
    border-color: var(--accent-color);
    transform: rotate(-2deg) scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
    color: var(--white);
    margin: 0;
}

.logo-text p {
    font-size: 0.88rem;
    opacity: 0.95;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--accent-color);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    margin: 0;
}

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

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 10px 18px;
    border-radius: 8px;
    display: inline-block;
    position: relative;
    letter-spacing: 0.3px;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 70%;
    height: 2px;
    background: var(--accent-color);
    transition: transform 0.3s ease;
}

.nav-menu a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    color: var(--accent-color);
}

.nav-menu a:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.nav-menu a.active {
    background: var(--accent-color);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.4);
}

.nav-menu a.active::before {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('images/eminogulları.png') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-content {
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    animation: fadeInDown 1s ease;
}

.hero h3 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--accent-color);
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    animation: fadeIn 1.5s ease;
}

.btn-primary {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    background: #e67e22;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 50px;
}

/* Services Section */
.services {
    background: var(--light-color);
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

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

.service-card h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-color);
    line-height: 1.8;
}

/* Projects Section */
.projects {
    background: var(--white);
}

.products-cta {
    text-align: center;
    padding: 60px 20px;
}

.btn-products {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 20px 50px;
    font-size: 1.3rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(44, 95, 45, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-products::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-products:hover::before {
    left: 100%;
}

.btn-products:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(44, 95, 45, 0.4);
}

.btn-products i:last-child {
    transition: transform 0.3s ease;
}

.btn-products:hover i:last-child {
    transform: translateX(5px);
}

.products-cta-text {
    margin-top: 20px;
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.8;
}

/* Products Sidebar */
.products-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    pointer-events: none;
}

.products-sidebar.active {
    pointer-events: all;
}

.sidebar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.products-sidebar.active .sidebar-overlay {
    opacity: 1;
}

.sidebar-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 90%;
    max-width: 500px;
    height: 100%;
    background: var(--white);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.products-sidebar.active .sidebar-content {
    transform: translateX(0);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.sidebar-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.sidebar-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-close:hover {
    background: var(--accent-color);
    transform: rotate(90deg);
}

.sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
}

.sidebar-body::-webkit-scrollbar {
    width: 8px;
}

.sidebar-body::-webkit-scrollbar-track {
    background: var(--light-color);
}

.sidebar-body::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 10px;
}

.sidebar-body::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.product-item {
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 2px solid var(--light-color);
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.product-item:nth-child(1) { animation-delay: 0.1s; }
.product-item:nth-child(2) { animation-delay: 0.2s; }
.product-item:nth-child(3) { animation-delay: 0.3s; }
.product-item:nth-child(4) { animation-delay: 0.4s; }
.product-item:nth-child(5) { animation-delay: 0.5s; }

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

.product-image {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center -20px;
    transition: transform 0.4s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.1);
}

.product-info h4 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-info h4 i {
    color: var(--accent-color);
}

.product-info > p {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.6;
}

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

.product-details li {
    padding: 10px 15px;
    margin-bottom: 8px;
    background: var(--light-color);
    border-radius: 8px;
    color: var(--text-color);
    position: relative;
    padding-left: 40px;
    transition: all 0.3s ease;
}

.product-details li::before {
    content: '✓';
    position: absolute;
    left: 15px;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.product-details li:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateX(5px);
}

.product-details li:hover::before {
    color: var(--white);
}

.sidebar-footer {
    padding: 25px 30px;
    background: var(--light-color);
    border-top: 2px solid rgba(44, 95, 45, 0.1);
}

.sidebar-footer .btn-primary {
    width: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

/* References Section */
.references {
    background: var(--light-color);
}

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

.reference-item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

.reference-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.reference-item p {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

.reference-item h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.reference-item span {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Stats Section */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 1.1rem;
    color: var(--text-color);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 20px 0;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

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

.about-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: var(--shadow);
    background: white;
    padding: 30px;
}

/* Contact Section */
.contact {
    background: var(--light-color);
}

.contact-content {
    display: block;
    margin-bottom: 50px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.info-card {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.info-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.info-card h4 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.info-card p {
    color: var(--text-color);
    line-height: 1.8;
}

.info-card p a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-card p a:hover {
    color: var(--primary-color);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    transition: all 0.3s ease;
}

/* Map Container */
.map-container {
    margin-top: 50px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--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 h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.footer-section p {
    margin-bottom: 10px;
    opacity: 0.9;
}

.footer-section p a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section p a:hover {
    color: var(--accent-color);
}

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

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

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.8;
    margin-bottom: 5px;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-bar-content {
        justify-content: center;
        gap: 20px;
    }

    .top-info {
        font-size: 0.85rem;
    }

    .header {
        padding: 10px 0;
    }

    .logo {
        gap: 12px;
        padding: 5px 8px;
    }

    .logo-image {
        height: 55px;
        width: 55px;
        border-width: 2px;
    }

    .logo-text h1 {
        font-size: 1.2rem;
    }

    .logo-text p {
        font-size: 0.78rem;
        letter-spacing: 0.5px;
    }

    .nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background: linear-gradient(180deg, rgba(44, 95, 45, 0.98) 0%, rgba(44, 95, 45, 1) 100%);
        backdrop-filter: blur(10px);
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        overflow-y: auto;
        box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        padding: 30px 20px;
        gap: 10px;
        align-items: stretch;
    }

    .nav-menu ul li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        text-align: center;
        padding: 15px 20px;
        font-size: 1.1rem;
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu a::before {
        display: none;
    }

    .nav-menu a:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateX(5px);
        border-color: var(--accent-color);
    }

    .nav-menu a.active {
        background: var(--accent-color);
        border-color: var(--accent-color);
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero {
        height: 500px;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .hero h3 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid,
    .references-content {
        grid-template-columns: 1fr;
    }

    .btn-products {
        padding: 18px 40px;
        font-size: 1.15rem;
    }

    .sidebar-content {
        max-width: 420px;
    }

    .sidebar-header {
        padding: 20px 25px;
    }

    .sidebar-header h3 {
        font-size: 1.3rem;
    }

    .sidebar-body {
        padding: 25px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .map-container iframe {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .top-bar {
        padding: 8px 0;
    }

    .top-bar-content {
        flex-direction: column;
        gap: 10px;
    }

    .top-info {
        font-size: 0.8rem;
    }

    .header {
        padding: 8px 0;
    }

    .logo {
        gap: 10px;
        padding: 3px 5px;
    }

    .logo-image {
        height: 48px;
        width: 48px;
        border-width: 2px;
    }

    .logo-text h1 {
        font-size: 1rem;
    }

    .logo-text p {
        font-size: 0.7rem;
        letter-spacing: 0.3px;
    }

    .nav-menu {
        top: 80px;
        height: calc(100vh - 80px);
    }

    .nav-menu ul {
        padding: 20px 15px;
    }

    .nav-menu a {
        padding: 12px 15px;
        font-size: 1rem;
    }

    .about-image {
        display: flex;
        justify-content: center;
    }

    .about-image img {
        max-width: 100%;
        padding: 15px;
    }

    .hero {
        height: 400px;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .hero h3 {
        font-size: 1.8rem;
    }

    section {
        padding: 50px 0;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .btn-products {
        padding: 15px 30px;
        font-size: 1rem;
        gap: 10px;
    }

    .products-cta-text {
        font-size: 0.95rem;
    }

    .sidebar-content {
        width: 95%;
        max-width: 100%;
    }

    .sidebar-header {
        padding: 18px 20px;
    }

    .sidebar-header h3 {
        font-size: 1.1rem;
        gap: 8px;
    }

    .sidebar-close {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .sidebar-body {
        padding: 20px;
    }

    .product-image {
        height: 180px;
    }

    .product-info h4 {
        font-size: 1.2rem;
    }

    .sidebar-footer {
        padding: 20px;
    }

    .map-container iframe {
        height: 300px;
    }
}

