/* Istanbul-themed CSS for KPMG Turkey Website */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Variables - Istanbul Color Palette */
:root {
    --primary-blue: #0B5394;
    --secondary-gold: #D4AF37;
    --warm-orange: #E67E22;
    --deep-red: #8B0000;
    --cream: #F8F6F0;
    --light-gray: #F5F5F5;
    --dark-gray: #2C3E50;
    --white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-light: #666666;
    --accent-turquoise: #40E0D0;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.2);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    max-width: 1180px;
    margin: 0 auto;
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.4rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Container */
.container {
    padding: 0 2rem;
    max-width: 1140px;
    margin: 0 auto;
}

/* Block 1: Hero Section - Istanbul Inspired */
.hero-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--deep-red) 100%);
    color: var(--white);
    min-height: 430px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="mosque" patternUnits="userSpaceOnUse" width="50" height="50"><circle cx="25" cy="25" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23mosque)"/></svg>');
    opacity: 0.3;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-section h1 {
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

/* CTA Button - Golden Accent */
.cta-button {
    display: inline-block;
    background: var(--secondary-gold);
    color: var(--text-dark);
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

/* Services Section - Warm Cream Background */
.services-section {
    background-color: var(--cream);
    padding: 5rem 0;
    color: var(--text-dark);
}

.services-section h2 {
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid var(--warm-orange);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-dark);
}

.service-item h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.service-item .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-gold);
    margin-top: 1.5rem;
    font-family: 'Playfair Display', serif;
}

/* Article Section - Highlighted */
.article-section {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    border: 3px solid var(--accent-turquoise);
    margin-top: 3rem;
}

.article-section h3 {
    color: var(--deep-red);
    margin-bottom: 1.5rem;
    text-align: center;
}

.article-section p {
    text-align: justify;
    font-size: 1.05rem;
    color: var(--text-dark);
}

/* Reviews Section - Deep Blue */
.reviews-section {
    background: var(--primary-blue);
    color: var(--white);
    padding: 5rem 0;
}

.reviews-section h2 {
    text-align: center;
    color: var(--white);
    margin-bottom: 3rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.review-item:hover {
    transform: translateY(-3px);
}

.review-item h4 {
    color: var(--secondary-gold);
    margin-bottom: 0.5rem;
}

.review-item .company {
    font-style: italic;
    opacity: 0.8;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* Specialists Section - Light Gray */
.specialists-section {
    background-color: var(--light-gray);
    padding: 5rem 0;
    color: var(--text-dark);
}

.specialists-section h2 {
    text-align: center;
    color: var(--deep-red);
    margin-bottom: 3rem;
}

.specialists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.specialist-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease;
    border-top: 4px solid var(--accent-turquoise);
}

.specialist-item:hover {
    transform: translateY(-5px);
}

.specialist-item h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.specialist-item .title {
    color: var(--warm-orange);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Contact Form Section - Warm Orange */
.contact-form-section {
    background: var(--warm-orange);
    color: var(--white);
    padding: 5rem 0;
}

.contact-form-section h2 {
    text-align: center;
    color: var(--white);
    margin-bottom: 3rem;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--white);
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--secondary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.subscribe-button {
    width: 100%;
    background: var(--secondary-gold);
    color: var(--text-dark);
    padding: 1.2rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.subscribe-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Contact Section - Dark Gray */
.contact-section {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 5rem 0;
}

.contact-section h2 {
    text-align: center;
    color: var(--white);
    margin-bottom: 3rem;
}

.contact-info {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-info p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-dark);
}

.map-container iframe {
    display: block;
    border: none;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.footer p {
    margin: 0;
    opacity: 0.8;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .hero-section {
        min-height: 450px;
        padding: 2rem 0;
    }

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

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .services-grid,
    .reviews-grid,
    .specialists-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-item,
    .specialist-item {
        padding: 2rem;
    }

    .contact-form {
        padding: 2rem;
        margin: 0 1rem;
    }

    .article-section {
        padding: 2rem;
        margin-top: 2rem;
    }

    .map-container iframe {
        height: 300px;
    }

    /* Reduce section padding on mobile */
    .services-section,
    .reviews-section,
    .specialists-section,
    .contact-form-section,
    .contact-section {
        padding: 3rem 0;
    }
}

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

    h2 {
        font-size: 1.6rem;
    }

    .hero-section {
        min-height: 430px;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .service-item .price {
        font-size: 1.6rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .article-section {
        padding: 1.5rem;
    }
}
