:root {
    --primary: #1D1D1F;           /* Almost black, Apple text color */
    --secondary: #FFFFFF;         /* Clean white for background */
    --background-alt: #F5F5F7;    /* Very light gray for alternate backgrounds */
    --accent: #0071E3;            /* Apple blue for primary accent and CTAs */
    --accent-secondary: #30B34A;  /* Apple green for success states */
    --text: #1D1D1F;              /* Primary text color */
    --text-secondary: #86868B;    /* Secondary text color */
    --subtle: #E8E8ED;            /* Very light gray for subtle elements */
    --border: #D2D2D7;            /* Light gray for borders */
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);  /* Subtle shadow */
    --transition: all 0.3s ease;
    --spacing: 24px;
    --header-height: 60px;        /* Cleaner, minimal header height */
    --radius: 12px;               /* Rounded corners, Apple-style */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--secondary);
    color: var(--text);
    line-height: 1.5;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: var(--header-height);
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
 
header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 0 var(--spacing);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.logo {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 400;
    font-size: 14px;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    background: var(--accent);
    bottom: -4px;
    left: 0;
    transition: var(--transition);
}

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

.nav-links a:hover {
    color: var(--accent);
}

.language-switcher {
    position: relative;
}

.language-button {
    display: flex;
    align-items: center;
    background: transparent;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    color: var(--text);
}

.language-button:hover {
    color: var(--accent);
}

.language-button .flag {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    object-fit: contain;
    vertical-align: middle;
}

.language-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    background: var(--secondary);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility 0s linear var(--transition);
    border: 1px solid var(--border);
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transition: opacity var(--transition);
}

.language-option {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    cursor: pointer;
    transition: var(--transition);
    background: var(--secondary);
    color: var(--text);
    font-size: 14px;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.language-option .flag {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    object-fit: contain;
    vertical-align: middle;
}

.language-option:hover {
    background: var(--background-alt);
}

.cta-button {
    background: var(--accent);
    color: white;
    padding: 8px 20px;
    border: none;
    border-radius: 20px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.cta-button:hover {
    background-color: #0077ED;
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(0, 113, 227, 0.2);
}

header .cta-button {
    position: relative;
    padding: 10px 20px;
    background-color: #3776DD;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
    overflow: visible;
}

header .cta-button:hover {
    background-color: #2a66bf;
}

.cart-item-count {
    position: absolute;
    bottom: -6px;
    left: -13px;
    background-color: var(--accent-secondary);
    color: white;
    border-radius: 50%;
    padding: 0;
    font-size: 14px;
    font-weight: bold;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    z-index: 2;
    border: 2px solid white;
}

.hamburger {
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary);
    position: relative;
    letter-spacing: -0.5px;
}

.dimension-item {
    background: var(--background-alt);
    padding: 16px;
    border-radius: var(--radius);
    text-align: center;
}

.dimension-name {
    font-size: 14px;
    color: var(--text-secondary);
}

.dimension-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
}

.price {
    font-size: 36px;
    font-weight: 600;
    color: var(--accent);
    text-align: right;
    margin: 24px 0;
}

footer {
    background: var(--background-alt);
    color: var(--text);
    padding: 60px var(--spacing);
    position: relative;
    margin-top: auto;
    font-size: 14px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--primary);
}

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

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

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

.copyright {
    text-align: center;
    margin-top: 40px;
    color: var(--text-secondary);
    font-size: 12px;
}

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

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

@keyframes loading {
    0% { width: 0; }
    100% { width: 100%; }
}

.product-description {
    padding: 80px var(--spacing);
    background: var(--background-alt);
}

.description-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.description-item {
    background: var(--secondary);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

.description-item h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 600;
}

.description-item ul {
    list-style: disc;
    padding-left: 20px;
    color: var(--text);
}

.description-item li {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.description-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 17px;
}
 
.cart-icon {
    font-size: 18px;
}

.cart-panel {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    height: 100%;
    background: var(--secondary);
    box-shadow: -2px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1002;
    padding: 24px;
    overflow-y: auto;
    transition: transform 0.3s ease;
    border-left: 1px solid var(--border);
}

.cart-panel.active {
    display: block;
    transform: translateX(0);
}

.cart-panel .close-cart {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 22px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.cart-panel .close-cart:hover {
    color: var(--accent);
}

.cart-panel h3 {
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--primary);
    text-align: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
}

.cart-item {
    display: flex;
    align-items: flex-start;
    padding: 16px;
    margin-bottom: 16px;
    background: var(--background-alt);
    border-radius: var(--radius);
    transition: transform 0.3s, box-shadow 0.3s;
}

.cart-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.cart-item-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 16px;
}

.cart-item-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-image .model-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    text-transform: uppercase;
    margin-top: 5px;
    background: none;
    padding: 0;
}

.cart-item-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cart-item-details .dimensions {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.cart-item-details .quantity {
    font-size: 14px;
    color: var(--text);
    margin-bottom: 5px;
}

.cart-item-details .price {
    font-size: 15px;
    font-weight: 600;
    color: var(--accent);
}

.cart-item .remove-btn {
    background: var(--accent);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 16px;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 13px;
}

.cart-item .remove-btn:hover {
    background: #0077ED;
}

.cart-total {
    font-size: 20px;
    font-weight: 600;
    color: var(--accent);
    margin-top: 24px;
    text-align: right;
    padding: 16px;
    background: var(--background-alt);
    border-radius: var(--radius);
}

.cart-item-details .quantity-controls {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 5px 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2px 5px;
    background-color: var(--secondary);
    width: fit-content;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
    height: 28px;
    line-height: 28px;
    overflow: hidden;
}

.cart-item-details .quantity-controls .quantity-btn {
    width: 24px;
    height: 24px;
    background-color: var(--background-alt);
    border: none;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 24px;
}

.cart-item-details .quantity-controls .quantity-btn:hover {
    background-color: var(--subtle);
}

.cart-item-details .quantity-controls .quantity {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    min-width: 24px;
    text-align: center;
    padding: 0;
    line-height: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.cart-item-details .quantity-controls:hover {
    border-color: var(--accent);
    transform: scale(1.02);
    transition: all 0.3s ease;
}

.empty-cart {
    text-align: center;
    color: var(--text-secondary);
    margin-top: 24px;
    font-style: italic;
}
 
.order-btn {
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 12px 0;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    margin-top: 24px;
    transition: all 0.3s;
}

.order-btn:hover {
    background-color: #0077ED;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 113, 227, 0.3);
}

.order-btn:active {
    transform: translateY(1px);
}
 
.product-details-container {
    flex: 1;
    min-width: 300px;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
    padding: 0;
}

.language-option:active,
.language-option:focus {
    background: var(--secondary);
    color: var(--text);
}

.language-option.active {
    background: var(--accent);
    color: white;
}

h2 {
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 22px;
    color: var(--primary);
}

h3 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 24px;
    color: var(--primary);
    text-align: center;
}

h4 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--primary);
    font-weight: 600;
    text-align: center;
}

p {
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.content-item {
    margin-bottom: 20px;
    padding: 16px;
    background-color: var(--secondary);
    border-radius: var(--radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border);
}

.scroll-item {
    margin-bottom: 16px;
    padding: 16px;
    transition: all 0.2s ease;
    width: 100%;
}

.scroll-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
}

.product-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    width: 100%;
}

.product-card {
    background-color: var(--secondary);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.card-bottom {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 12px 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 50%);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

.buy-now {
    background-color: var(--background-alt);
    color: var(--primary);
    border-radius: 16px;
    padding: 6px 12px;
    font-size: 13px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
}

.buy-now:hover {
    background-color: var(--accent);
    color: white;
}

.arrow-icon {
    margin-left: 5px;
    font-size: 12px;
}

.price {
    font-weight: 600;
    font-size: 15px;
    color: var(--accent);
}

.heart-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    cursor: pointer;
    font-size: 16px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}

.card-selected {
    border: 2px solid var(--accent);
}

.section-container {
    width: 100%;
    max-height: 1000px;
    margin-bottom: 24px;
    background-color: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
}

.color-box {
    width: 40px;
    height: 40px;
    cursor: pointer;
    border-radius: 8px;
    border: 2px solid #E0E0E5;
    transition: border 0.2s ease;
     
}

.color-box.selected {
    border: 2px solid var(--accent);
}

.dropdown-container {
    width: 100%;
    max-width: 300px;
    margin: 15px auto;
    position: relative;
}

.dropdown-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary);
    font-size: 15px;
}

.dropdown {
    position: relative;
    width: 100%;
}

.dropdown select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background-color: var(--secondary);
    font-size: 15px;
    color: var(--primary);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.dropdown::after {
    content: '▼';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-secondary);
    font-size: 12px;
}

.dropdown select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 5px rgba(0, 113, 227, 0.3);
}

.dimensions-container {
    width: 100%;
    padding: 16px;
    margin-bottom: 20px;
}

.dimensions-container > div > div {
    padding: 12px;
    text-align: center;
    background-color: var(--background-alt);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.product-details-container {
    width: 100%;
    padding: 16px;
}

.product-details {
    padding: 16px;
}

.product-preview {
    width: 90%; 
    height: 90%; 
    margin: 0 auto; 
    text-align: center; 
    padding: 20px; 
    background-color: var(--background-alt); 
    border-radius: var(--radius); 
    display: flex; 
    justify-content: center; 
    align-items: center;
    box-sizing: border-box;
    transform-origin: center center;
}

.product-preview img {
    max-width: calc(100% - 40px);
    max-height: calc(100% - 40px);
    object-fit: contain;
    display: block;
    object-fit: cover;
    height: 100%;
    width: 100%;
    border-radius: var(--radius); 
}

.order-cta-button {
    background-color: var(--accent);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 12px 0;
    width: 100%;
    max-width: 220px;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0 auto;
    transition: all 0.3s;
}

.order-cta-button svg {
    margin-right: 8px;
}

.order-cta-button:hover {
    transform: translateY(-2px);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 113, 227, 0.3);
    background-color: #0077ED;
}

@media (max-width: 900px) {
    .section-title
    {
        margin-bottom: 0;
    }

    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: saturate(180%) blur(20px);

        padding: 0 15px;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        display: flex;
        gap: 0;
    }
    .logo {
        order: 2;
        font-size: 20px;
        flex-grow: 1;
        text-align: center;
    }
    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: white;
        z-index: 999;
        padding: 10px 0;
        display: none;
    }
    .language-switcher {
        order: 3;
        margin: 0 5px;
    }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .nav-links a {
        margin: 8px 0;
        font-size: 16px;
    }
    
    .cart-panel {
        width: 100%;
        right: -100%;
        transition: all 0.3s ease;
    }
    
    .cart-panel.active {
        right: 0;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 15px;
    }
    
    .language-button .language-name {
        display: none;
    }
    
    .language-button .flag {
        margin-right: 0;
    }
    
    .kcta-button, .cta-button {
        order: 4;
        font-size: 14px;
        padding: 8px 16px;
    }
    
    .hamburger {
        order: 1;
        display: block;
        font-size: 24px;
    }
    
    .dimensions-container > div {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .product-description {
        padding: 40px 15px;
    }
    
    .description-container {
        grid-template-columns: 1fr;
    }

    .product-card img {
        height: 220px;
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 20px;
    }
    
    h3 {
        font-size: 18px;
        margin: 15px 0;
    }
    
    .dimension-item {
        padding: 8px;
    }
    
    #detail-width-title, #detail-depth-title, #detail-height-title, 
    #detail-planter-depth-title {
        font-size: 12px;
    }
    
    #detail-width, #detail-depth, #detail-height, 
    #detail-planter-depth {
        font-size: 15px;
    }
    
    .dropdown-container {
        max-width: 100%;
    }
    
    #designCanvas, #preview-image {
        max-width: 90%;
        max-height: 90%;
    }

    .product-card .card-cta {
        padding: 10px 18px;
        font-size: 14px;
        width: 100%; /* Butonu tam genişlik yap */
        box-sizing: border-box;
    }
}

#designCanvas, #preview-image {
    transition: all 0.5s ease;
}
 
.cart-item-details .customizations {
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.cart-item-details .customizations div {
    margin-bottom: 5px;
}
.product-customizations {
    margin: 20px 0;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.product-customizations h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

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

.product-customizations li {
    font-size: 15px;
    color: #666;
    margin-bottom: 5px;
}

@keyframes slideOutRightFade {
    0% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(20px); opacity: 0; }
}

@keyframes slideInLeftFade {
    0% { transform: translateX(20px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutLeftFade {
    0% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(-20px); opacity: 0; }
}

@keyframes slideInRightFade {
    0% { transform: translateX(-20px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

.product-card .price {
    font-weight: 500;
    font-size: 15px;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-block;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    text-align: center;
    position: relative;
    z-index: 3;
    letter-spacing: 0.5px;
    margin: 0px;
}

.product-card .price::before {
    content: "₺";
    margin-right: 3px;
    font-weight: 400;
}

.product-card .price:hover {
    background-color: rgba(0, 0, 0, 0.85);
    transform: scale(1.05);
}

.product-card .price.discounted {
    color: #fff;
    background-color: var(--accent-secondary);
}

.product-card .price.discounted::after {
    content: "İndirimli";
    position: absolute;
    top: -18px;
    right: -10px;
    background-color: #FF3B30;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 8px;
    font-weight: 600;
    transform: rotate(-5deg);
}

.product-card .card-bottom {
    justify-content: flex-end;
    padding: 16px;
    width: 100%;
}

/* Hero Section Styles */
.hero {
    background: url('../images/hero-background.jpg') no-repeat center center/cover; /* Arka plan görseli ekleyin */
    background-color: var(--background-alt); /* Görsel yüklenmezse */
    color: var(--secondary); /* Koyu arka plan üzerinde açık renk metin */
    text-align: center;
    padding: 100px var(--spacing);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh; /* Ekran yüksekliğinin bir kısmını kaplasın */
}

.hero::before { /* Arka planı biraz karartmak için overlay */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--secondary);
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.9);
}

.hero .hero-cta {
    background-color: var(--secondary);
    color: var(--accent);
    padding: 14px 32px;
    font-size: 18px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.hero .hero-cta:hover {
    background-color: var(--accent);
    color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 113, 227, 0.4);
}

/* Product Gallery Styles */
.product-gallery {
    padding: 80px var(--spacing);
    background-color: var(--secondary); /* Veya --background-alt */
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--secondary);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-card img {
    width: 100%;
    height: 250px; /* Sabit yükseklik */
    object-fit: cover;
    display: block;
}

.product-card .card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.product-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 10px;
    text-align: left; /* Başlığı sola hizala */
}

.product-card p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.product-card .card-cta {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    margin-top: auto; /* Butonu kartın altına iter */
    align-self: flex-start; /* Butonu sola yaslar */
}

.product-card .card-cta:hover {
    background-color: #005bb5; /* Biraz daha koyu mavi */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 113, 227, 0.2);
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .hero {
        padding: 80px 15px;
        min-height: 50vh;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .product-gallery {
        padding: 60px 15px;
    }

    .gallery-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }

    .product-card img {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 15px;
        min-height: 40vh;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero .hero-cta {
        padding: 12px 28px;
        font-size: 16px;
    }

    .product-gallery {
        padding: 40px 15px;
    }

    .gallery-container {
        grid-template-columns: 1fr; /* Tek sütunlu görünüm */
        gap: 20px;
    }

    .product-card h3 {
        font-size: 18px;
    }

    .product-card p {
        font-size: 14px;
    }

    .product-card .card-cta {
        padding: 10px 18px;
        font-size: 14px;
        width: 100%; /* Butonu tam genişlik yap */
        box-sizing: border-box;
    }
}

/* --- Hero Slider Styles --- */
.hero-slider {
    position: relative;
    width: 100%;
    height: 70vh; /* Adjust height as needed */
    min-height: 450px; /* Minimum height */
    overflow: hidden;
    background-color: var(--background-alt); /* Fallback background */
}

.slides-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 0s linear 1s;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 1s ease-in-out;
    z-index: 10;
}

/* Added ::before rule to .slide for gradient */
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
    z-index: 2; /* Between background image and content */
}

.slide-background {
    position: absolute; /* Changed from relative */
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1; /* Changed from 0 */
}

.slide-content {
    position: relative;
    z-index: 3;
    color: var(--secondary);
    max-width: 600px;
    padding: 0 var(--spacing);
    text-align: left;
    opacity: 0;
    margin-right: auto;
    margin-left: 10%;
    transition: opacity 0.6s ease-out;
}

.slide.active .slide-content {
    opacity: 1;
}

.slide h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--secondary);
    line-height: 1.2;
}

.slide p {
    font-size: 20px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.9);
}

.slide .hero-cta {
    background-color: var(--secondary);
    color: var(--accent);
    padding: 14px 32px;
    font-size: 18px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.slide .hero-cta:hover {
    background-color: var(--accent);
    color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 113, 227, 0.4);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    padding: 15px;
    font-size: 24px;
    cursor: pointer;
    z-index: 20;
    transition: background-color 0.3s ease;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-nav:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 12px;
}

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

.slider-dot.active {
    background-color: #00BFFF;
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .hero-slider {
        height: 60vh;
        min-height: 400px;
    }

    .slide h1 {
        font-size: 36px;
    }

    .slide p {
        font-size: 18px;
    }

    .slider-nav {
        padding: 10px;
        font-size: 20px;
        width: 40px;
        height: 40px;
    }

    .slider-nav.prev {
        left: 15px;
    }

    .slider-nav.next {
        right: 15px;
    }

    .slider-dots {
        bottom: 20px;
    }

    .slider-dot {
        width: 10px;
        height: 10px;
    }

    .product-gallery {
        padding: 60px 15px;
    }

    .gallery-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }

    .product-card img {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 55vh;
        min-height: 350px;
    }

    .slide h1 {
        font-size: 28px;
    }

    .slide p {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .slide .hero-cta {
        padding: 12px 28px;
        font-size: 16px;
    }

    .slider-nav {
        display: none;
    }

    .slider-dots {
        bottom: 15px;
    }

    .product-gallery {
        padding: 40px 15px;
    }

    .gallery-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-card h3 {
        font-size: 18px;
    }

    .product-card p {
        font-size: 14px;
    }

    .product-card .card-cta {
        padding: 10px 18px;
        font-size: 14px;
        width: 100%;
        box-sizing: border-box;
    }
}

/* Product overlay styles */
.card-image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.product-card:hover .card-image-wrapper img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .card-overlay {
    opacity: 1;
}

.card-overlay .card-cta {
    transform: translateY(20px);
    transition: transform 0.3s ease;
    background-color: var(--accent);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    font-weight: 500;
}

.product-card:hover .card-overlay .card-cta {
    transform: translateY(0);
}

/* Normal card-cta style remains for backward compatibility */
.product-image-container {
    position: relative;
    overflow: hidden;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-overlay .card-cta {
    transform: translateY(20px);
    transition: transform 0.3s ease;
    background-color: var(--accent);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    font-weight: 500;
}

.product-card:hover .product-overlay .card-cta {
    transform: translateY(0);
}

/* Responsive düzenlemeler */
@media (max-width: 900px) {
    .card-image-wrapper {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .card-image-wrapper {
        height: 200px;
    }
}

.image-button {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: var(--accent);
    color: white;
    padding: 8px 20px;
    border: none;
    border-radius: 20px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.image-button:hover {
    background-color: #0077ED;
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(0, 113, 227, 0.2);
}