/* Ghiza Tekstil - Starbucks Yeşili & Minimalist Tema */
@import url('https://fonts.googleapis.com/css2?family=Helvetica+Neue:wght@300;400;500;600;700;800&display=swap');

:root {
    --starbucks-green: #00704A;
    --dark-green: #004d32;
    --light-green: #008556;
    --black: #1a1a1a;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --text-gray: #666666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

/* Modern Header */
.top-header {
    background: var(--black);
    padding: 10px 0;
    font-size: 13px;
    color: var(--white);
}

.top-header a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.top-header a:hover {
    color: var(--starbucks-green);
}

.main-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--starbucks-green);
}

.logo {
    font-size: 36px;
    font-weight: 800;
    color: var(--starbucks-green);
    text-decoration: none;
    letter-spacing: -2px;
    text-transform: uppercase;
}

.navbar {
    background: transparent !important;
    box-shadow: none;
}

.navbar-nav {
    margin: 0 auto;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--black) !important;
    padding: 10px 20px;
    font-weight: 500;
    border-radius: 10px;
    margin: 0 5px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    background: transparent;
}

.navbar-dark .navbar-nav .nav-link:hover {
    background: var(--starbucks-green);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 112, 74, 0.4);
}

.cart-icon {
    background: var(--starbucks-green);
    border: none;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: var(--white);
}

.cart-icon:hover {
    background: var(--dark-green);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 112, 74, 0.4);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--black);
    color: var(--white);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
    }
    50% { 
        transform: scale(1.1);
    }
}

/* Hero Slider - Professional Ken Burns Style */
.hero-slider {
    position: relative;
    height: 700px;
    overflow: hidden;
    background: var(--black);
}

.carousel-item {
    transition: opacity 1.5s ease-in-out;
}

.hero-slide {
    position: relative;
    height: 700px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.7) 0%, 
        rgba(0, 112, 74, 0.4) 50%,
        rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.hero-slide::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    z-index: 1;
}

/* Ken Burns Animation */
.hero-slide {
    animation: kenBurns 20s ease-out infinite;
}

@keyframes kenBurns {
    0% {
        transform: scale(1) translate(0, 0);
    }
    100% {
        transform: scale(1.15) translate(-20px, -10px);
    }
}

.carousel-item.active .hero-slide {
    animation: kenBurns 20s ease-out forwards;
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 700px;
    animation: fadeInUp 1.5s cubic-bezier(0.165, 0.84, 0.44, 1) 0.3s both;
}

.hero-content h1 {
    font-size: 72px;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.1;
    letter-spacing: -3px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.5);
    text-transform: uppercase;
}

.hero-content p {
    font-size: 22px;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 0.5px;
    line-height: 1.7;
    opacity: 0.95;
    text-shadow: 0 2px 15px rgba(0,0,0,0.4);
    max-width: 600px;
}

.hero-content .btn {
    background: var(--starbucks-green);
    color: var(--white);
    padding: 18px 50px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 2px solid var(--starbucks-green);
    box-shadow: 0 10px 40px rgba(0, 112, 74, 0.4);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-content .btn:hover {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 112, 74, 0.6);
}

/* Professional Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 112, 74, 0.8);
    border-radius: 50%;
    padding: 10px;
}

/* Professional Indicators */
.carousel-indicators {
    bottom: 30px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: rgba(255, 255, 255, 0.4);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: var(--starbucks-green);
    border-color: var(--white);
    transform: scale(1.2);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Product Cards */
.product-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    background: var(--white);
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 112, 74, 0.2);
    border: 2px solid var(--starbucks-green);
}

.product-image {
    position: relative;
    height: 380px;
    overflow: hidden;
    background: var(--light-gray);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.15);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--starbucks-green);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 112, 74, 0.4);
    letter-spacing: 0.5px;
}

.product-info {
    padding: 25px;
}

.product-title {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--black);
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    letter-spacing: -0.5px;
}

.product-title:hover {
    color: var(--starbucks-green);
    transform: translateX(3px);
}

.product-price {
    font-size: 26px;
    font-weight: 800;
    color: var(--starbucks-green);
    letter-spacing: -1px;
}

.product-price del {
    font-size: 18px;
    color: var(--text-gray);
    margin-right: 10px;
}

/* Category Cards */
.category-card {
    position: relative;
    height: 320px;
    border-radius: 25px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.category-card:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 112, 74, 0.3);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.category-card:hover img {
    transform: scale(1.2);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26,26,26,0.95), transparent);
    padding: 35px;
    color: var(--white);
    transition: all 0.5s ease;
}

.category-card:hover .category-overlay {
    background: linear-gradient(to top, 
        rgba(0, 112, 74, 0.95) 0%, 
        rgba(0, 77, 50, 0.8) 100%);
}

.category-name {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -1px;
}

/* Buttons */
.btn {
    border-radius: 25px;
    padding: 14px 35px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--starbucks-green);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 112, 74, 0.3);
}

.btn-primary:hover {
    background: var(--dark-green);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 112, 74, 0.5);
}

.btn-secondary {
    background: var(--black);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.btn-secondary:hover {
    background: var(--starbucks-green);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 112, 74, 0.5);
}

.btn-outline-secondary {
    border: 2px solid var(--black);
    color: var(--black);
    background: transparent;
}

.btn-outline-secondary:hover {
    background: var(--black);
    color: var(--white);
}

.btn-lg {
    padding: 16px 50px;
    font-size: 18px;
    border-radius: 30px;
}

/* Modern Footer */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 40px 0 20px;
    margin-top: 80px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--starbucks-green);
}

.footer h5 {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 16px;
    letter-spacing: -0.3px;
    color: var(--white);
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 8px;
    font-size: 14px;
}

.footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 400;
    font-size: 14px;
}

.footer a:hover {
    color: var(--starbucks-green);
    padding-left: 10px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 8px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-size: 16px;
    color: var(--white);
}

.social-links a:hover {
    background: var(--starbucks-green);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 112, 74, 0.4);
}

/* Section Titles */
.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
    text-align: center;
    color: var(--black);
    letter-spacing: -2px;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--starbucks-green);
    margin: 20px auto 0;
}

.section-subtitle {
    color: var(--text-gray);
    margin-bottom: 50px;
    text-align: center;
    font-size: 18px;
    font-weight: 400;
}

/* Admin Styles */
.admin-sidebar {
    background: var(--black);
    min-height: 100vh;
    color: var(--white);
    box-shadow: 4px 0 20px rgba(0,0,0,0.1);
}

.stat-card {
    background: var(--white);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--starbucks-green);
    box-shadow: 0 10px 35px rgba(0, 112, 74, 0.2);
}

.card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.alert-success {
    background: rgba(0, 112, 74, 0.1);
    border-color: var(--starbucks-green);
    color: var(--dark-green);
}

.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.bg-success {
    background: var(--starbucks-green) !important;
}

.text-primary {
    color: var(--starbucks-green) !important;
}

/* Forms */
.form-control:focus,
.form-select:focus {
    border-color: var(--starbucks-green);
    box-shadow: 0 0 0 0.2rem rgba(0, 112, 74, 0.25);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slider {
        height: 500px;
    }
    
    .hero-slide {
        height: 500px;
    }
    
    .hero-content h1 {
        font-size: 42px;
        letter-spacing: -2px;
    }
    
    .hero-content p {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .product-image {
        height: 280px;
    }
    
    .category-card {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        height: 400px;
    }
    
    .hero-slide {
        height: 400px;
    }
    
    .hero-content h1 {
        font-size: 32px;
        letter-spacing: -1px;
    }
    
    .hero-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .hero-content .btn {
        padding: 14px 35px;
        font-size: 14px;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 112, 74, 0.3);
    border-radius: 50%;
    border-top-color: var(--starbucks-green);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Tables */
.table-hover tbody tr:hover {
    background-color: rgba(0, 112, 74, 0.05);
}

/* Nav Pills & Tabs */
.nav-pills .nav-link.active {
    background-color: var(--starbucks-green);
}

.nav-tabs .nav-link.active {
    border-color: var(--starbucks-green);
    color: var(--starbucks-green);
}
