/* Leonardit Fabrika Satış - Ana Stil Dosyası */

/* ===== CSS Variables ===== */
:root {
    --primary: #5D4037;
    --primary-dark: #4E342E;
    --secondary: #2E7D32;
    --secondary-light: #4CAF50;
    --accent: #8D6E63;
    --light: #F5F5F5;
    --dark: #333333;
    --white: #FFFFFF;
    --gray: #757575;
    --gray-light: #E0E0E0;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-lg: 0 5px 20px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ===== Reset ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Header ===== */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--white);
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-text span {
    color: var(--secondary);
}

/* Navigation */
.nav-menu {
    display: flex;
    gap: 5px;
}

.nav-menu a {
    padding: 10px 15px;
    font-weight: 500;
    color: var(--dark);
    border-radius: 5px;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: var(--light);
    color: var(--primary);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 140px 0 80px;
    color: var(--white);
    text-align: center;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero p {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 30px;
}

.hero-btn {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: var(--shadow-lg);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* ===== Features Section ===== */
.features {
    padding: 60px 0;
    background: var(--light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.feature-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon svg {
    width: 35px;
    height: 35px;
    fill: var(--white);
}

.feature-card h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--gray);
}

/* ===== Section Styles ===== */
.section {
    padding: 70px 0;
}

.section-alt {
    background: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Products Grid ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.product-image {
    height: 200px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-image svg {
    width: 80px;
    height: 80px;
    fill: rgba(255,255,255,0.5);
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.product-info p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.product-package {
    display: inline-block;
    background: var(--light);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background: var(--primary-dark);
}

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

.btn-secondary:hover {
    background: #1B5E20;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-block {
    display: block;
    width: 100%;
}

/* ===== Content Page ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 120px 0 50px;
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-content {
    padding: 50px 0;
}

.content-box {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.content-box h2, .content-box h3 {
    color: var(--primary);
    margin-top: 30px;
    margin-bottom: 15px;
}

.content-box h2:first-child, .content-box h3:first-child {
    margin-top: 0;
}

.content-box p {
    margin-bottom: 15px;
    color: var(--dark);
}

.content-box ul, .content-box ol {
    margin-left: 25px;
    margin-bottom: 20px;
}

.content-box ul {
    list-style: disc;
}

.content-box ol {
    list-style: decimal;
}

.content-box li {
    margin-bottom: 8px;
    color: var(--dark);
}

/* ===== Usage Areas ===== */
.usage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.usage-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary);
}

.usage-card svg {
    width: 50px;
    height: 50px;
    fill: var(--secondary);
    margin-bottom: 15px;
}

.usage-card h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.usage-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ===== Technical Analysis Table ===== */
.analysis-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.analysis-table th,
.analysis-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--gray-light);
}

.analysis-table th {
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
}

.analysis-table tr:hover {
    background: var(--light);
}

.analysis-table td:last-child {
    text-align: center;
    font-weight: 600;
    color: var(--secondary);
}

/* ===== Certificate Cards ===== */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.certificate-card {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
}

.certificate-card svg {
    width: 50px;
    height: 50px;
    fill: var(--accent);
    margin-bottom: 15px;
}

.certificate-card h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 15px;
}

/* ===== Contact Section ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-box {
    background: var(--light);
    padding: 30px;
    border-radius: 12px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--white);
}

.contact-text h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.contact-text p, .contact-text a {
    color: var(--gray);
    font-size: 0.95rem;
}

.contact-text a:hover {
    color: var(--secondary);
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: var(--white);
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    margin-top: 25px;
}

.whatsapp-btn:hover {
    background: #128C7E;
}

.whatsapp-btn svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 35px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gray-light);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* ===== Footer ===== */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.footer-about p {
    opacity: 0.8;
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ===== Alerts ===== */
.alert {
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.alert-success {
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #A5D6A7;
}

.alert-error {
    background: #FFEBEE;
    color: #C62828;
    border: 1px solid #EF9A9A;
}

.alert-warning {
    background: #FFF3E0;
    color: #E65100;
    border: 1px solid #FFCC80;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 75px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-menu a {
        padding: 15px;
        border-bottom: 1px solid var(--light);
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .content-box {
        padding: 25px;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.7rem;
    }

    .container {
        padding: 0 15px;
    }

    .btn {
        padding: 10px 20px;
    }
}

/* ===== Utility Classes ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.hidden { display: none; }
