/* assets/css/style.css - TÜM STİLLER BURADA */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f0f8ff;
    color: #333;
    line-height: 1.6;
}

/* KARŞILAMA MODAL STİLLERİ */
.welcome-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.welcome-content {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
}

.welcome-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.welcome-title {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #4fc3f7;
}

.welcome-message {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: left;
}

.welcome-message ul {
    text-align: left;
    margin: 15px 0;
    padding-left: 20px;
}

.welcome-message li {
    margin-bottom: 10px;
}

.instagram-link {
    color: #4fc3f7;
    text-decoration: none;
    font-weight: bold;
}

.instagram-link:hover {
    text-decoration: underline;
}

.continue-btn {
    background: #4fc3f7;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
}

.continue-btn:hover {
    background: #29b6f6;
    transform: translateY(-2px);
}

/* Cookie kontrolü için */
.modal-show {
    display: flex !important;
}

/* HEADER */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.header-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: bold;
}

.logo a {
    color: white;
    text-decoration: none;
}

.logo span {
    color: #4fc3f7;
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav li {
    margin-left: 20px;
}

.nav a {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background 0.3s;
}

.nav a:hover {
    background: rgba(255,255,255,0.2);
}

/* ARAMA ÇUBUĞU STİLLERİ */
.search-bar {
    background: linear-gradient(135deg, #4fc3f7, #29b6f6);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.search-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.search-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 25px;
    font-size: 1em;
    outline: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.search-btn {
    background: #1e3c72;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.search-btn:hover {
    background: #2a5298;
}

/* USER MENU STİLLERİ */
.user-menu {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* MOBILE MENU */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* MAIN LAYOUT */
.main-container {
    display: grid;
    grid-template-areas: 
        "sidebar main ads";
    grid-template-columns: 250px 1fr 200px;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 20px auto;
    min-height: 70vh;
}

/* SIDEBAR */
.sidebar {
    grid-area: sidebar;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sidebar h3 {
    color: #1e3c72;
    margin-bottom: 15px;
    border-bottom: 2px solid #4fc3f7;
    padding-bottom: 5px;
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 10px;
}

.category-list a {
    color: #333;
    text-decoration: none;
    padding: 8px;
    display: block;
    border-radius: 5px;
    transition: background 0.3s;
}

.category-list a:hover {
    background: #e3f2fd;
    color: #1e3c72;
}

/* MAIN CONTENT */
.main-content {
    grid-area: main;
}

.hero {
    background: linear-gradient(135deg, #4fc3f7, #29b6f6);
    color: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 30px;
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2em;
    opacity: 0.9;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.product-card {
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 200px;
    background: #e3f2fd;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e3c72;
    font-weight: bold;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-badge {
    background: #4fc3f7;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    margin-bottom: 8px;
    display: inline-block;
}

.product-title {
    font-weight: bold;
    margin-bottom: 10px;
    color: #1e3c72;
    font-size: 1.1em;
}

.product-description {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 10px;
    line-height: 1.4;
}

.stock-info {
    font-size: 0.9em;
    margin-bottom: 10px;
}

.in-stock {
    color: #4caf50;
}

.out-of-stock {
    color: #f44336;
}

.product-price {
    color: #e91e63;
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 15px;
}

.btn {
    background: #1e3c72;
    color: white;
    border: none;
    padding: 12px 15px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s;
    font-size: 1em;
}

.btn:hover {
    background: #2a5298;
}

.btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* ADS SIDEBAR */
.ads-sidebar {
    grid-area: ads;
}

.ad-unit {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    text-align: center;
}

.ad-unit h4 {
    color: #1e3c72;
    margin-bottom: 10px;
}

/* FOOTER */
.footer {
    background: #1e3c72;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.no-products {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 10px;
    grid-column: 1 / -1;
}

/* RESPONSIVE STYLES */
@media (max-width: 1024px) {
    .main-container {
        grid-template-areas: 
            "sidebar main"
            "ads ads";
        grid-template-columns: 200px 1fr;
    }
    
    .ads-sidebar {
        display: flex;
        gap: 20px;
        margin-top: 20px;
    }
    
    .ad-unit {
        flex: 1;
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav {
        display: none;
        width: 100%;
        margin-top: 15px;
    }
    
    .nav.active {
        display: block;
    }
    
    .nav ul {
        flex-direction: column;
    }
    
    .nav li {
        margin: 5px 0;
    }
    
    .nav a {
        display: block;
        text-align: center;
        padding: 12px;
    }
    
    .main-container {
        grid-template-areas: 
            "main"
            "sidebar"
            "ads";
        grid-template-columns: 1fr;
        padding: 15px;
        gap: 15px;
    }
    
    .hero {
        padding: 30px 20px;
    }
    
    .hero h1 {
        font-size: 2em;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .ads-sidebar {
        flex-direction: column;
    }

    .search-form {
        flex-direction: column;
        gap: 10px;
    }
    
    .search-input {
        border-radius: 8px;
    }
    
    .search-btn {
        border-radius: 8px;
    }

    .welcome-content {
        padding: 25px;
        margin: 20px;
    }
    
    .welcome-title {
        font-size: 1.5em;
    }
    
    .welcome-message {
        font-size: 1em;
    }
    
    .continue-btn {
        padding: 12px 25px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 22px;
    }
    
    .hero {
        padding: 20px 15px;
    }
    
    .hero h1 {
        font-size: 1.6em;
    }
    
    .hero p {
        font-size: 1em;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card {
        padding: 12px;
    }
    
    .product-image {
        height: 150px;
    }
}









