/* D&G Tan Hukuk - Modern CSS */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #3498db;
    --text-color: #373737;
    --text-light: #666666;
    --bg-color: #ececec;
    --white: #ffffff;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
}

.logo-container {
    text-align: center;
    padding: 20px 0;
}

.logo {
    max-width: 350px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Navigation */
nav {
    background: var(--white);
    border-top: 1px solid #e0e0e0;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0;
}

nav ul li {
    margin: 0 5px;
}

nav ul li a {
    display: block;
    padding: 15px 20px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--accent-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--accent-color);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 80%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    margin: 10px auto;
    border-radius: var(--border-radius);
}

/* Hero Section */
.hero {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin: 20px 0;
    border-radius: var(--border-radius);
}

.hero-slider {
    position: relative;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
}

/* Feature Boxes */
.feature-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.feature-box {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
    text-align: center;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.feature-box h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 18px;
}

.feature-box p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.8;
}

.feature-box a {
    display: inline-block;
    margin-top: 15px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

/* Content Section */
.content-section {
    background: var(--white);
    margin: 40px 0;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

.content-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.content-text h1 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 32px;
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 10px;
}

.content-text h2 {
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 24px;
}

.content-text h3 {
    color: var(--secondary-color);
    margin-top: 25px;
    margin-bottom: 12px;
    font-size: 20px;
}

.content-text p {
    text-align: justify;
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-color);
}

.content-text ul {
    list-style: none;
    padding: 0;
}

.content-text ul li {
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.content-text ul li:last-child {
    border-bottom: none;
}

.content-text ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.content-text ul li a:hover {
    color: var(--accent-color);
    padding-left: 10px;
}

/* Contact Info */
.contact-info {
    background: #f8f9fa;
    padding: 25px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.contact-info strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
}

.contact-info p {
    margin: 5px 0;
    color: var(--text-color);
}

.contact-info a {
    color: var(--accent-color);
    text-decoration: none;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #2c3e50;
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.social-links a i {
    transition: var(--transition);
}

.social-links a:hover i {
    transform: scale(1.1);
}

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

.footer-bottom a {
    color: var(--white);
    text-decoration: none;
}

.footer-credit {
    text-align: center;
    padding-top: 10px;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

.footer-credit .heart {
    color: #e74c3c;
    font-size: 16px;
}

.footer-credit a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-credit a:hover {
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo {
        max-width: 280px;
    }

    .menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        background: var(--white);
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 0;
        border-bottom: 1px solid #e0e0e0;
    }

    nav ul li a {
        padding: 15px 20px;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .hero {
        height: 300px;
    }

    .feature-boxes {
        grid-template-columns: 1fr;
    }

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

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: 240px;
    }

    .content-section {
        padding: 20px;
    }

    .content-text h1 {
        font-size: 24px;
    }

    .content-text h2 {
        font-size: 20px;
    }
}

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

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
}

.btn:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
