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

:root {
    --primary-blue: #007bff;
    --primary-blue-hover: #0056b3;
    --light-blue-bg: #f2fbff;
    --gradient-bg: linear-gradient(135deg, #007bff 0%, #00a8ff 100%);
    --text-dark: #1a202c;
    --text-muted: #4a5568;
    --text-light: #718096;
    --white: #ffffff;
    --green-accent: #00c853;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light-blue-bg);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Main Container */
.container {
    width: 100%;
    overflow-x: hidden;
}

/* Sections */
.section {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* --- Section 1: Home --- */
.section-1 {
    background-color: var(--light-blue-bg);
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px 20px;
}

header {
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    font-size: 1.1rem;
    color: #1a202c;
}

.logo img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
    max-width: 800px;
    padding: 20px;
}

.product-showcase {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* The prompt asked for product on a circular background */
.main-image-circle {
    width: 400px;
    height: 400px;
    /* Circular background effect slightly visible if image has transparency */
    border-radius: 20px; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-hero-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1));
}

.hero-info {
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%;
}

.price-box {
    background-color: #00d26a;
    color: white;
    border-radius: 16px;
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 210, 106, 0.3);
    min-width: 200px;
}

.price-label { font-size: 0.9rem; opacity: 0.9; }
.price-value { font-size: 2.5rem; font-weight: 700; margin: 5px 0; }
.price-desc { font-size: 0.8rem; opacity: 0.9; }

.contact-box {
    background-color: white;
    border-radius: 16px;
    padding: 20px 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    min-width: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-box h3 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95rem;
    font-weight: 600;
}

.icon-circle {
    width: 32px;
    height: 32px;
    background-color: #e6f2ff;
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
}

/* --- Section 2: Features --- */
.section-2 {
    background-color: white;
    padding: 80px 20px;
    align-items: center;
}

.section-2 h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 10px 25px;
    border: none;
    background-color: #f0f4f8;
    color: var(--text-muted);
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.tab-btn.active, .tab-btn:hover {
    background-color: var(--primary-blue);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.tab-content {
    display: flex;
    gap: 50px;
    max-width: 1000px;
    width: 100%;
    padding: 0 20px;
    animation: fadeIn 0.5s ease;
}

/* --- Sub Tabs (Sanayi Tipi için) --- */
.sub-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    width: 100%;
    justify-content: center;
}

.sub-tab-btn {
    padding: 8px 25px;
    border: none;
    background-color: #f0f4f8;
    color: var(--text-muted);
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.sub-tab-btn.active, .sub-tab-btn:hover {
    background-color: var(--primary-blue);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.sub-tab-content {
    display: flex;
    gap: 50px;
    width: 100%;
    animation: fadeIn 0.5s ease;
}

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

.product-gallery {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f8fbff;
    padding: 30px;
    border-radius: 20px;
}

.gallery-main-img {
    width: 300px;
    height: 350px;
    object-fit: contain;
    margin-bottom: 20px;
    transition: opacity 0.3s ease;
}

.gallery-thumbnails {
    display: flex;
    gap: 15px;
}

.gallery-thumbnails .thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    background-color: white;
    padding: 5px;
}

.gallery-thumbnails .thumb.active {
    border-color: var(--primary-blue);
}

.product-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.product-details p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

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

.feature-item {
    background-color: #f0f7ff;
    padding: 12px 15px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
}

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


/* --- Section 3: Custom Orders --- */
.section-3 {
    background-color: var(--light-blue-bg);
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 600px;
}

.section-header h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-light);
    line-height: 1.5;
}

.carousel-container {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 1100px;
}

.carousel-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background-color: white;
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    z-index: 2;
    transition: all 0.2s;
}

.carousel-btn:hover {
    background-color: var(--primary-blue);
    color: white;
}

.carousel-track-container {
    flex: 1;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease-in-out;
}

.carousel-card {
    min-width: calc(25% - 15px); /* Show 4 cards by default on desktop */
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.carousel-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-title {
    padding: 20px 15px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
}

/* --- Section 4: Contact --- */
.section-4 {
    background: var(--gradient-bg);
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 80px 20px 100px 20px;
}

.contact-content {
    text-align: center;
    color: white;
    max-width: 600px;
    width: 100%;
}

.contact-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.contact-content p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 50px;
    line-height: 1.5;
}

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

.contact-card {
    background-color: white;
    border-radius: 16px;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 25px;
    text-align: left;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.contact-card .icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: #e6f2ff;
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.card-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.card-info .label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.card-info .value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
}

.card-info small {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

footer {
    position: absolute;
    bottom: 30px;
    width: 100%;
    text-align: center;
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
}

/* --- Responsive Design --- */

/* Tablet & Mobile Landscape */
@media (max-width: 1024px) {
    .hero-info {
        flex-direction: column;
        align-items: center;
    }
    .main-image-circle {
        width: 300px;
        height: 300px;
    }
    .tab-content, .sub-tab-content {
        flex-direction: column;
        gap: 30px;
    }
    .product-gallery {
        width: 100%;
    }
    .gallery-main-img {
        height: 250px;
    }
    .carousel-card {
        min-width: calc(33.333% - 13.33px);
    }
}

/* Mobile Portrait */
@media (max-width: 768px) {
    header {
        top: 20px;
        left: 20px;
    }
    
    .logo span {
        display: none; /* Hide text on mobile for cleaner look */
    }

    .main-image-circle {
        width: 250px;
        height: 250px;
    }

    .price-box, .contact-box {
        width: 100%;
        max-width: 300px;
    }

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

    .tabs, .sub-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }

    .carousel-card {
        min-width: calc(50% - 10px);
    }

    .carousel-btn {
        display: none; /* Hide arrows on mobile, use swipe */
    }
    
    .carousel-track-container {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 20px;
    }
    
    .carousel-card {
        scroll-snap-align: start;
        flex-shrink: 0;
    }

    .contact-content h2 {
        font-size: 1.5rem;
    }
    
    .contact-card {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .contact-card .icon-wrapper {
        margin: 0 auto;
    }
}

/* Very Small Mobile */
@media (max-width: 480px) {
    .carousel-card {
        min-width: 80%; /* Show one card at a time on small phones */
    }
    
    .card-info .value {
        font-size: 1.1rem;
    }
}
