/* Modern Sap Altı Şilte 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);
}

/* Modern Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 18px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(0, 34, 144, 0.3);
}

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

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 3px solid #002290 !important;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 34, 144, 0.3);
    background: var(--gradient-primary);
    color: var(--white);
    border: 3px solid #002290 !important;
}

.arrow {
    display: inline-block;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn-secondary:hover .arrow {
    transform: translateY(5px);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-success {
    background: var(--success);
    color: var(--white);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* 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;
}

/* 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: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.product-description {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 30px;
    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);
}

/* Service Cards */
.col-lg-3, .col-lg-6, .col-md-4, .col-md-6 {
    width: 100%;
}

.service-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    background: var(--white);
    height: 400px;
}

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

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

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

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 34, 144, 0.9));
    padding: 30px 25px 25px;
    color: var(--white);
}

.card-content p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.card-content .hover-content {
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    display: block;
    margin-bottom: 15px;
}

.hover-layer {
    position: absolute;
    inset: 0;
    background: rgba(0, 34, 144, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
}

.service-card:hover .hover-layer {
    opacity: 1;
}

.hover-layer p {
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.6;
}

.cus-btn-wrap {
    display: inline-block;
}

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

.cus-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cus-btn .text {
    font-size: 14px;
}

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

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

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

.h4 {
    font-size: 1.25rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .special-service-card {
        gap: 40px;
    }
    
    .service-content {
        padding: 40px;
    }
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-title .subtitle {
        font-size: 20px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .special-service-card {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .service-content {
        padding: 40px 30px;
    }
    
    .service-image {
        height: 300px;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .category-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .service-title {
        font-size: 28px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-title .subtitle {
        font-size: 18px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .products-category-section {
        padding: 60px 0;
    }
    
    .category-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .service-title {
        font-size: 24px;
    }
    
    .service-content {
        padding: 30px 20px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        height: 350px;
    }
    
    .service-card img {
        height: 200px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Print Styles */
@media print {
    .hero-bg,
    .features-banner-section,
    .special-service-section {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .container {
        max-width: 100%;
    }
}
