/* ==========================================================================
   Özgür Ezer - Malatya Boya Ustası | Premium CSS
   ========================================================================== */

:root {
    /* Premium Color Palette */
    --primary: #F59E0B; /* Rich Gold/Orange for action */
    --primary-hover: #D97706;
    --secondary: #1E3A8A; /* Deep Navy Blue for trust */
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --text-main: #1F2937;
    --text-muted: #6B7280;
    --border-color: #E5E7EB;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Typography */
    --font-family: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-sm {
    max-width: 800px;
}

.text-center { text-align: center; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.section-padding {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff !important;
    box-shadow: var(--shadow-md);
}

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

.btn-outline {
    background-color: transparent;
    color: var(--bg-white) !important;
    border-color: var(--bg-white);
}

.btn-outline:hover {
    background-color: var(--bg-white);
    color: var(--secondary) !important;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    background-color: transparent;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled .logo {
    color: var(--secondary);
}

.navbar.scrolled .nav-links a {
    color: var(--text-main);
}

.navbar.scrolled .nav-links a.btn-primary {
    color: #fff;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bg-white);
    letter-spacing: -0.5px;
}

.logo span {
    font-weight: 300;
    font-size: 1rem;
    color: var(--primary);
    display: block;
    margin-top: -5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--bg-white);
    font-size: 1rem;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.btn-primary {
    padding: 0.6rem 1.5rem;
    background-color: var(--primary);
    color: white;
    border-radius: 50px;
}

.nav-links a.btn-primary:hover {
    color: white;
    background-color: var(--primary-hover);
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--bg-white);
    border-radius: 3px;
    transition: var(--transition);
}

.navbar.scrolled .menu-toggle span {
    background-color: var(--secondary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px; /* Offset for navbar */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30,58,138,0.95) 0%, rgba(17,24,39,0.85) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    color: var(--bg-white);
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: 4.5rem;
    color: var(--bg-white);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero h1 span {
    color: var(--primary);
    position: relative;
}

/* Underline decoration */
.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--primary);
    opacity: 0.3;
    z-index: -1;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* ==========================================================================
   Services
   ========================================================================== */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-inline: auto;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

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

.service-card {
    background-color: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.service-image-wrapper {
    height: 200px;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.service-icon-wrapper {
    height: 200px;
    background: linear-gradient(135deg, var(--secondary), #111827);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.service-icon-wrapper svg {
    width: 64px;
    height: 64px;
    stroke: var(--primary);
}

.service-card-content {
    padding: 2rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
}

/* ==========================================================================
   About
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.subtitle {
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    display: block;
    margin-bottom: 0.5rem;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.about-features {
    margin-top: 2rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--text-main);
}

.about-features svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.about-image {
    position: relative;
    padding-left: 2rem;
    padding-top: 2rem;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 90%;
    border: 3px solid var(--primary);
    border-radius: 16px;
    z-index: 0;
}

.image-wrapper {
    position: relative;
    z-index: 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.photo-placeholder {
    width: 100%;
    height: 500px;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--bg-white);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-premium);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
}

.experience-badge .num {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

.experience-badge .txt {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.2;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.cta-banner {
    background-color: var(--secondary);
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245,158,11,0.2) 0%, rgba(0,0,0,0) 70%);
    top: -250px;
    right: -100px;
    border-radius: 50%;
}

.cta-banner h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-banner p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    background-color: var(--bg-white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-premium);
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-item .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background-color: var(--bg-light);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary);
}

.contact-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.contact-item a, .contact-item p {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 1.1rem;
}

.contact-item a:hover {
    color: var(--primary);
}

.whatsapp-link {
    color: #25D366 !important;
    font-weight: 600 !important;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background-color: #111827;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
}

.footer-logo span {
    font-weight: 300;
    color: var(--primary);
}

.footer-text {
    max-width: 400px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 2rem;
}

.footer-bottom {
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    color: rgba(255,255,255,0.4);
    font-size: 0.875rem;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        z-index: 1001; /* Above mobile menu */
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--bg-white);
        flex-direction: column;
        justify-content: center;
        transition: right 0.4s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: var(--text-main);
        font-size: 1.25rem;
    }

    .nav-links a.btn-primary {
        margin-top: 1rem;
    }

    /* Menu open toggle styling */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(10.5px) rotate(45deg);
        background-color: var(--text-main);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-10.5px) rotate(-45deg);
        background-color: var(--text-main);
    }

    .hero h1 {
        font-size: 2.75rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .section-padding {
        padding: 4rem 0;
    }
    
    .contact-box {
        padding: 2rem;
    }
}

/* ==========================================================================
   Blog Styles
   ========================================================================== */
.blog-header { padding: 120px 0 60px; background-color: var(--bg-light); text-align: center; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; margin-top: 3rem; }
.blog-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-md); transition: var(--transition); border: 1px solid var(--border-color); }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-img { height: 220px; width: 100%; object-fit: cover; }
.blog-content { padding: 1.5rem; }
.blog-date { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 0.5rem; display: block; }
.blog-card h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.blog-card h3 a:hover { color: var(--primary); }
.blog-card p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.read-more { font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 0.5rem; }
.read-more:hover { color: var(--secondary); }
/* Article Page */
.article-hero { height: 60vh; min-height: 400px; display: flex; align-items: flex-end; padding-bottom: 4rem; position: relative; color: white; }
.article-content { max-width: 800px; margin: 0 auto; padding: 4rem 1.5rem; }
.article-content h2, .article-content h3 { margin-top: 2rem; margin-bottom: 1rem; }
.article-content p { font-size: 1.1rem; margin-bottom: 1.5rem; line-height: 1.8; }
.article-content ul, .article-content ol { margin-bottom: 1.5rem; padding-left: 2rem; }
.article-content li { margin-bottom: 0.5rem; font-size: 1.1rem; }
