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

html {
    scroll-behavior: smooth;
}

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;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    height: 70px;
    gap: 40px;
}

.nav-logo {
    flex-shrink: 0;
}

.nav-logo .logo-img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
    flex: 1;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    position: relative;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Hover effects for different states */
.navbar.on-slider .nav-link:hover {
    color: #00d4ff;
}

.navbar.on-content .nav-link:hover {
    color: #007bff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00d4ff;
    transition: all 0.3s ease;
}

/* Dynamic underline colors */
.navbar.on-slider .nav-link::after {
    background: #00d4ff;
}

.navbar.on-content .nav-link::after {
    background: #007bff;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Home Section */
.home-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

.home-content {
    text-align: center;
    z-index: 2;
    margin-bottom: 50px;
}

.logo-container {
    animation: fadeInUp 1s ease-out;
}

.main-logo {
    height: 120px;
    width: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.company-name {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.company-description {
    font-size: 1.2rem;
    color: #666;
    font-weight: 300;
}

/* Full Screen Scroll-based Image Sequence Slider */
.fullscreen-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
    background: #000;
}

.slider-sequence {
    position: relative;
    width: 100%;
    height: 100%;
}

.sequence-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1);
    z-index: 1;
}

.sequence-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.sequence-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.slide-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
    transform: translateY(0);
    opacity: 1;
}

.sequence-slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-content h3 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background: linear-gradient(45deg, #007bff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slide-content p {
    font-size: 1.5rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Progress Bar */
.scroll-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #00d4ff);
    width: 0%;
}

/* Navigation Dots */
.sequence-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.sequence-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    border: 2px solid transparent;
}

.sequence-dot.active {
    background: #007bff;
    transform: scale(1.3);
    border-color: rgba(255, 255, 255, 0.8);
}

.sequence-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.scroll-arrow i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.scroll-arrow span {
    font-size: 0.9rem;
    font-weight: 500;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .slide-content h3 {
        font-size: 2.5rem;
    }
    
    .slide-content p {
        font-size: 1.2rem;
    }
    
    .sequence-dots {
        bottom: 20px;
    }
    
    .scroll-indicator {
        bottom: 60px;
    }
}

@media (max-width: 480px) {
    .slide-content h3 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
}

/* Legacy Slider Styles (for compatibility) */
.slider-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.slider-track {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.5s ease;
}

.slide {
    width: 33.333%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 40px 30px 30px;
    text-align: center;
}

.slide-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.slide-content p {
    font-size: 1rem;
    opacity: 0.9;
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #333;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.slider-btn:hover {
    background: #007bff;
    color: white;
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #007bff;
    transform: scale(1.2);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

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

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

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.about-card p {
    color: #666;
    line-height: 1.6;
}

.company-info {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
}

.info-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Products Section */
.products-section {
    padding: 100px 0;
    background: white;
}

.products-content {
    max-width: 1000px;
    margin: 0 auto;
}

.companies-section {
    margin-bottom: 80px;
}

.companies-section h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

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

.company-logo {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    min-height: 120px;
    position: relative;
    overflow: hidden;
}

.company-logo:hover {
    transform: scale(1.05);
}

.company-logo img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0%);
    transition: all 0.3s ease;
    display: block;
}

.company-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 80px;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    color: #6c757d;
    font-size: 0.8rem;
    text-align: center;
    padding: 10px;
    min-height: 80px;
}

.company-placeholder i {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: #007bff;
}

.company-logo:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.company-logo iframe {
    width: 100%;
    height: 100px;
    border: none;
    border-radius: 5px;
    background: white;
    transition: all 0.3s ease;
    display: block;
}

.company-logo:hover iframe {
    transform: scale(1.05);
}

.product-categories h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

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

.category-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-card:hover {
    background: white;
    border-color: #007bff;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 123, 255, 0.1);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.5rem;
}

.category-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.category-card p {
    color: #666;
    line-height: 1.6;
}

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

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.contact-info-single {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.contact-icon {
    width: 50px;
    height: 50px; 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center; 
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(0, 123, 255, 0.3);
}

.contact-details h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

.contact-details p {
    color: #666;
    line-height: 1.5;
    font-size: 0.95rem;
    margin: 0;
}

.contact-link {
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
    padding: 2px 0;
}

.contact-link:hover {
    color: #000;
    border-bottom: 1px solid #333;
    transform: translateY(-1px);
}

/* WhatsApp özel stili */
.contact-icon .fab.fa-whatsapp {
    color: #25D366;
}
 

/* Hover efekti */
.contact-item:hover {
    background: rgba(0, 123, 255, 0.05);
    border-radius: 10px;
    margin: 0 -10px;
    padding: 20px 10px;
    transition: all 0.3s ease;
}

.info-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(0, 123, 255, 0.3);
}

.info-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
    text-align: center;
}

.info-card p {
    color: #666;
    line-height: 1.5;
    text-align: center;
    font-size: 0.9rem;
    margin: 0;
}

/* WhatsApp özel stili */
.info-card .fab.fa-whatsapp {
    color: #25D366;
}

.info-card:hover .fab.fa-whatsapp {
    color: #128C7E;
}

.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

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

.submit-btn {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.3);
}

.map-container {
    margin-top: 40px;
}

.map {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo-img {
    height: 60px;
    width: auto;
}

.footer-info p {
    color: #ccc;
    font-size: 0.9rem;
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.9);
        width: 100%;
        text-align: center;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 20px 0;
    }

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

    /* Mobile menu colors based on navbar state */
    .navbar.on-content .nav-menu {
        background-color: rgba(255, 255, 255, 0.95);
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
    }

    .navbar.on-content .nav-menu .nav-link {
        color: #333;
        text-shadow: none;
    }


    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .company-name {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

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

    .slider-wrapper {
        height: 300px;
    }

    .slide-content {
        padding: 20px 15px 15px;
    }

    .slide-content h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .main-logo {
        height: 80px;
    }

    .company-name {
        font-size: 1.5rem;
    }

    .company-description {
        font-size: 1rem;
    }

    .slider-wrapper {
        height: 250px;
    }

    .slide-content h3 {
        font-size: 1.2rem;
    }

    .slide-content p {
        font-size: 0.9rem;
    }
}
