/* Modern Ses İzolasyon Malzemeleri Page Styles */

/* CSS Variables */
:root {
    --primary: #002290;
    --primary-dark: #001a6b;
    --primary-light: #0033cc;
    --secondary: #ff6b35;
    --accent: #4ade80;
    --success: #25d366;
    --dark: #1a1a1a;
    --gray: #666666;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, #ff8c5a 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
    max-width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.main-content {
    padding-top: 80px;
    position: relative;
    overflow-x: hidden;
    max-width: 100%;
    flex: 1 0 auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Modern Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

/* Products Grid Section */
.products-grid-section {
    padding: 80px 0;
    background: var(--white);
}

.product-category {
    margin-bottom: 80px;
}

.product-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 40px;
    color: var(--dark);
    text-align: center;
    position: relative;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

/* Ses izolasyon malzemeleri için özel grid */
.product-category:first-child .products-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
}

/* Son ürünü tam genişlikte ortala */
.product-category:first-child .product-card:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
}

/* Product Cards */
.product-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    min-height: 400px;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.product-content {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--light-gray);
}

.product-category-tag {
    font-size: 14px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
    line-height: 1.3;
}

.product-description {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 25px;
    line-height: 1.6;
}

.product-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    align-self: flex-start;
}

.product-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 34, 144, 0.4);
    color: var(--white);
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Responsive Design */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .category-title {
        font-size: 36px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-card {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .product-content {
        padding: 40px;
    }
    
    .product-title {
        font-size: 24px;
    }
    
    .product-description {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .category-title {
        font-size: 32px;
    }
    
    .products-grid-section {
        padding: 60px 0;
    }
    
    .product-content {
        padding: 30px;
    }
    
    .product-title {
        font-size: 22px;
    }
    
    .product-description {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .category-title {
        font-size: 28px;
    }
    
    .products-grid-section {
        padding: 40px 0;
    }
    
    .product-content {
        padding: 25px;
    }
    
    .product-title {
        font-size: 20px;
    }
    
    .product-card {
        min-height: 350px;
    }
}

/* Utility Classes */
.white {
    color: var(--white) !important;
}

.mb-16 {
    margin-bottom: 16px;
}

.mb-32 {
    margin-bottom: 32px;
}

.h4 {
    font-size: 1.25rem;
}

/* Print Styles */
@media print {
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .container {
        max-width: 100%;
    }
    
    .product-btn {
        display: none;
    }
    
    .product-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
