@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --primary: #0f172a;
    --secondary: #d4af37;
    --accent: #1e293b;
    --text: #334155;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --gold-dark: #b8860b;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1, h2, h3, .serif {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}

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

section {
    padding: 100px 0;
}

/* ═══════════════════════════════════════════
   NAVBAR 
   ═══════════════════════════════════════════ */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 20px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

#navbar.scrolled {
    background: #ffffff;
    padding: 14px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    box-sizing: border-box;
}

/* — Logo — */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    flex-shrink: 0;
    margin-right: 50px;
    transition: color 0.4s ease;
}

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

/* — Logo New (Birebir Brand Versiyonu) — */
.logo-new {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 15px;
    transition: var(--transition);
    padding: 5px 0;
    margin-right: auto; /* Sadece logoyu en sola yaslar */
}

.logo-icon-box {
    background-color: #b42220;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(180, 34, 32, 0.2);
    transition: var(--transition);
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-main {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #b42220;
    letter-spacing: -1px;
    line-height: 0.85;
}

.logo-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 2px;
    margin-top: 3px;
    text-transform: uppercase;
    opacity: 0.85;
}

#navbar.scrolled .logo-sub {
    color: #1a1a1a;
}

#navbar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Şık bir alt çizgi */
}

#navbar.scrolled {
    border-bottom: 1px solid #f1f5f9;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.75rem; /* Biraz daha zarif boyut */
    text-transform: uppercase;
    letter-spacing: 2px; /* Lüks marka etkisi */
    transition: color 0.4s ease;
}

#navbar.scrolled .logo-main {
    font-size: 1.7rem;
}

#navbar.scrolled .logo-icon-box {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
}

/* — Nav Links — */
.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    /* margin-right: auto; kaldırıldı */
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.4s ease;
    white-space: nowrap;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

#navbar.scrolled .nav-links a {
    color: var(--primary);
}

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

/* — Nav Actions — */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
    margin-left: auto;
}

.btn-desktop-call {
    white-space: nowrap;
    font-size: 0.75rem;
    letter-spacing: 1px;
    padding: 12px 24px;
}

/* — Mobile Menu Button — */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 10001;
}

.mobile-menu-btn .bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    margin: 5px 0;
    transition: all 0.3s ease;
    transform-origin: center;
    border-radius: 2px;
}

#navbar.scrolled .mobile-menu-btn .bar {
    background-color: var(--primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), url('hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
}

.hero-content {
    max-width: 900px;
}

.hero-tagline {
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: block;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: #e2e8f0;
    font-weight: 300;
}

.btn {
    display: inline-block;
    padding: 18px 40px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: var(--white);
    transform: translateY(-5px);
}

/* Service Grid */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header .tagline {
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 50px 40px;
    border: 1px solid #f1f5f9;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background-color: var(--secondary);
    transform: scaleY(0);
    transition: var(--transition);
    transform-origin: bottom;
}

.card:hover::before {
    transform: scaleY(1);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 25px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

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

/* About Section */
.about {
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 30px 30px 0 var(--bg-light), -1px -1px 0 rgba(0,0,0,0.1);
}

.expertise-list {
    list-style: none;
    margin-top: 30px;
}

.expertise-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
}

.expertise-list li span:last-child {
    color: var(--secondary);
    font-weight: 600;
}

/* Stats Section */
.stats {
    background-color: var(--primary);
    color: var(--white);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.stat-item p {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: #94a3b8;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.contact-details div {
    margin-bottom: 20px;
}

.contact-details p {
    font-weight: 600;
    color: var(--primary);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e2e8f0;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--secondary);
    outline: none;
}

/* Navbar */
/* Floating Buttons */
.whatsapp-float, .call-float {
    position: fixed;
    right: 25px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    color: white;
    font-size: 28px;
    text-decoration: none;
    z-index: 10002;
    transition: var(--transition);
}

.whatsapp-float {
    bottom: 25px;
    background-color: #25d366;
}

.call-float {
    bottom: 95px;
    background-color: var(--secondary);
}

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

.whatsapp-float:hover, .call-float:hover {
    transform: scale(1.1) translateY(-5px);
}

/* Team Section */
.team {
    background-color: var(--bg-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--white);
    padding: 30px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid #f1f5f9;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--secondary);
}

.team-icon {
    width: 60px;
    height: 60px;
    background: #f8fafc;
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.team-card:hover .team-icon {
    background: var(--secondary);
    color: var(--white);
}

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

.team-card p {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact Section Responsive Layout */
.contact-layout {
    display: flex;
    gap: 80px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.contact-info-block {
    flex: 1;
    min-width: 320px;
}

.contact-map-block {
    flex: 1.2;
    min-width: 320px;
}

.contact-map-inner {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border: 1px solid #f1f5f9;
    height: 500px;
}

/* Footer Grid for Blog/Article Pages */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

.btn-call {
    padding: 10px 25px;
    font-size: 0.7rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .grid { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 3.5rem; }
}

@media (max-width: 768px) {
    .nav-container { padding: 0 20px; }
    .logo-text { font-size: 1.2rem; }

    .btn-desktop-call {
        display: none; /* Hide desktop call button on mobile */
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--primary);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0,0,0,0.2);
        z-index: 10000;
    }

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

    .nav-links a {
        color: #ffffff !important;
        font-size: 1.1rem;
        letter-spacing: 2px;
    }

    .nav-links a:hover {
        color: var(--secondary) !important;
    }

    .mobile-menu-btn {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 35px;
        height: auto;
        z-index: 10001;
        padding: 5px;
        background: transparent;
        border: none;
        cursor: pointer;
    }

    /* Contact & Footers */
    .contact-layout, .footer-grid {
        flex-direction: column;
        gap: 40px;
    }
    
    .contact-info-block, .contact-map-block {
        width: 100%;
        min-width: unset;
    }

    .contact-map-inner {
        height: 350px;
    }

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

    .grid, .blog-grid, .team-grid { grid-template-columns: 1fr !important; }
    .about-content { grid-template-columns: 1fr; text-align: center; }
    .about-image { margin-bottom: 40px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .contact-container { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }
    
    .section-header h2 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.2rem; }
    .btn-call { padding: 8px 10px; }
    .logo-text { font-size: 1rem; }
    .stats-grid { grid-template-columns: 1fr; }
}

/* — Blog Section — */
.blog {
    padding: 100px 0;
    background-color: #f8fafc;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.blog-image {
    height: 220px;
    overflow: hidden;
}

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

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 12px;
    display: block;
    font-weight: 500;
}

.blog-content h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-content p {
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 25px;
    line-height: 1.6;
    flex: 1;
}

.read-more {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    margin-top: auto;
}

.read-more:hover {
    gap: 12px;
}

/* Article Page Styles */
.article-header {
    padding: 180px 0 100px;
    background-color: var(--primary);
    color: white;
    text-align: center;
}

.article-header h1 {
    font-size: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.article-meta {
    margin-bottom: 25px;
    font-size: 1rem;
    opacity: 0.8;
}

.article-container {
    max-width: 900px;
    margin: -60px auto 100px;
    background: white;
    padding: 80px;
    border-radius: 15px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
    line-height: 1.8;
}

.article-container h2 {
    margin: 40px 0 20px;
    color: var(--primary);
    font-size: 1.8rem;
}

.article-container p {
    margin-bottom: 25px;
    color: #334155;
    font-size: 1.1rem;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    margin-top: 50px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .article-container {
        padding: 40px 25px;
        margin: -40px 15px 60px;
    }
    .article-header h1 {
        font-size: 2rem;
        padding: 0 15px;
    }
}
