/* ==========================================================================
   Özgür Sargın Danışmanlık Premium CSS Stylesheet
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
    --primary-color: #00205B;      /* Deep Navy Blue (UK Flag blue) */
    --secondary-color: #BF081F;    /* Crimson Red (UK/TR Flag red) */
    --accent-color: #C39B00;       /* Golden Yellow */
    --text-dark: #1F2937;          /* Charcoal text */
    --text-muted: #4B5563;         /* Muted grey */
    --bg-light: #F9FAFB;           /* Clean Off-White */
    --bg-white: #FFFFFF;
    --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);
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    
    --font-headings: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* --- Base Resets & Global Styles --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.25;
}

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

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

ul {
    list-style: none;
}

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

.text-center { text-align: center; }
.hidden { display: none !important; }

/* --- Buttons & Interactive Elements --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-headings);
    font-weight: 600;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
}

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

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

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

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

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

.btn-accent:hover {
    background-color: #a38100;
    transform: translateY(-2px);
}

/* --- Top Info Bar --- */
.top-bar {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-info-left span, .top-info-right a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-info-right {
    display: flex;
    gap: 20px;
}

.top-info-right a:hover {
    color: var(--bg-white);
}

.text-whatsapp {
    color: #25D366;
}

/* --- Sticky Header & Navigation --- */
.main-header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
    border-bottom: 2px solid var(--border-color);
}

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

/* Logo Design */
.logo-box {
    display: flex;
    flex-direction: column;
    position: relative;
}

.logo-text {
    font-family: var(--font-headings);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--primary-color);
    line-height: 1;
}

.logo-subtext {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--secondary-color);
    line-height: 1.2;
}

.logo-flags {
    display: flex;
    gap: 4px;
    margin-top: 4px;
}

.flag-tr, .flag-uk {
    width: 14px;
    height: 9px;
    display: inline-block;
    border-radius: 1px;
}

.flag-tr {
    background: linear-gradient(to right, #e30a17, #e30a17);
    border: 1px solid rgba(0,0,0,0.1);
}

.flag-uk {
    background: linear-gradient(to right, #00247d, #00247d);
    border: 1px solid rgba(0,0,0,0.1);
}

/* Navigation Links */
.desktop-nav .nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
}

.desktop-nav .nav-link {
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 15px;
    color: var(--primary-color);
    padding: 8px 0;
    position: relative;
}

.desktop-nav .nav-link:hover, .desktop-nav .nav-link.active {
    color: var(--secondary-color);
}

.desktop-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width var(--transition-fast);
}

.desktop-nav .nav-link:hover::after, .desktop-nav .nav-link.active::after {
    width: 100%;
}

.nav-btn-cta {
    background-color: var(--secondary-color);
    color: var(--bg-white) !important;
    padding: 10px 20px !important;
    border-radius: 6px;
    transition: all var(--transition-normal) !important;
}

.nav-btn-cta::after {
    display: none !important;
}

.nav-btn-cta:hover {
    background-color: var(--primary-color) !important;
    transform: translateY(-1px);
}

/* Dropdown Sub-menu */
.nav-item.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    border-radius: 6px;
    border: 1px solid var(--border-color);
    padding: 10px 0;
    min-width: 200px;
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-fast);
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.dropdown-menu a:hover {
    background-color: var(--bg-light);
    color: var(--secondary-color);
}

/* Hamburger & Mobile Menu */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.burger-bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all var(--transition-normal);
}

/* Mobile Sidebar */
.mobile-nav-sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    z-index: 200;
    padding: 20px;
    transition: left var(--transition-normal);
}

.mobile-nav-sidebar.open {
    left: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.mobile-nav-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-link {
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 18px;
    display: block;
}

.mobile-nav-btn-cta {
    display: block;
    text-align: center;
    background-color: var(--secondary-color);
    color: var(--bg-white);
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
}

.mobile-dropdown-menu {
    padding-left: 20px;
    margin-top: 10px;
    display: none;
}

.mobile-dropdown-menu.open {
    display: block;
}

.mobile-dropdown-menu a {
    display: block;
    padding: 8px 0;
    font-size: 16px;
    color: var(--text-muted);
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 150;
    display: none;
}

.mobile-nav-overlay.open {
    display: block;
}

/* --- Hero Showcase / Carousel --- */
.hero-showcase {
    position: relative;
    overflow: hidden;
    color: var(--bg-white);
    padding: 240px 0 220px;
    border-bottom: 5px solid var(--secondary-color);
}

.hero-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.hero-slide.active {
    opacity: 1; /* Fully visible slide */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 32, 91, 0.25) 0%, rgba(0, 20, 60, 0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h1 {
    font-size: 46px;
    color: var(--bg-white);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* --- Breadcrumbs --- */
.breadcrumb-nav {
    background-color: var(--bg-white);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

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

.breadcrumb-item a:hover {
    color: var(--secondary-color);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '/';
    margin-right: 8px;
    color: var(--border-color);
}

.breadcrumb-item.active {
    color: var(--text-dark);
    font-weight: 500;
}

/* --- Standard Page Layouts --- */
.section {
    padding: 80px 0;
}

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

.section-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 15px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-desc {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
    color: var(--text-muted);
}

/* --- Service Cards & Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: all var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 32, 91, 0.15);
}

.service-card-image {
    height: 200px;
    background-color: var(--primary-color);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.service-card-icon-placeholder {
    position: absolute;
    font-size: 48px;
    color: rgba(255, 255, 255, 0.9);
}

.service-card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-card-link {
    font-family: var(--font-headings);
    font-weight: 600;
    color: var(--secondary-color);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
}

.service-card-link:hover {
    color: var(--primary-color);
}

/* --- "How We Work" Stepper --- */
.steps-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
    position: relative;
}

.step-item {
    background-color: var(--bg-white);
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.step-number {
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 18px;
    margin: 0 auto 20px;
    border: 3px solid var(--border-color);
}

.step-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.step-item p {
    font-size: 14px;
    color: var(--text-muted);
}

/* --- Contact Page & Form --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info-panel {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.contact-info-panel h3 {
    color: var(--bg-white);
    font-size: 24px;
    margin-bottom: 20px;
}

.contact-info-panel p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

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

.contact-detail-item i {
    font-size: 20px;
    color: var(--accent-color);
    margin-top: 3px;
}

.contact-detail-item h4 {
    color: var(--bg-white);
    font-size: 16px;
    margin-bottom: 4px;
}

.contact-detail-item p, .contact-detail-item a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
}

.contact-detail-item a:hover {
    color: var(--bg-white);
}

/* Form Styles */
.form-card {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.form-card h3 {
    font-size: 24px;
    margin-bottom: 25px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--bg-light);
    outline: none;
    transition: all var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary-color);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(0, 32, 91, 0.1);
}

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

.form-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    cursor: pointer;
}

.form-checkbox-label input {
    margin-top: 4px;
}

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

.alert-success {
    background-color: #DEF7EC;
    color: #03543F;
    border: 1px solid #BCF0DA;
}

.alert-danger {
    background-color: #FDE8E8;
    color: #9B1C1C;
    border: 1px solid #FBD5D5;
}

/* --- Map Panel --- */
.map-section {
    padding-bottom: 0;
}

.map-container {
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 3px solid var(--bg-white);
}

/* --- FAQ Accordion --- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.faq-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.faq-item p {
    color: var(--text-muted);
    font-size: 15px;
}

/* --- Page View General Layout --- */
.page-header-banner {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 60px 0;
    text-align: center;
}

.page-header-banner h1 {
    color: var(--bg-white);
    font-size: 38px;
}

.rich-content {
    max-width: 800px;
    margin: 40px auto;
}

.rich-content h1, .rich-content h2, .rich-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.rich-content p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.rich-content ul {
    margin-bottom: 25px;
    padding-left: 20px;
    list-style: disc;
}

.rich-content li {
    margin-bottom: 10px;
}

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 450px;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    border-radius: 10px;
    border: 2px solid var(--primary-color);
    padding: 20px;
    z-index: 1000;
    transition: opacity var(--transition-normal);
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cookie-icon {
    font-size: 24px;
    color: var(--accent-color);
}

.cookie-banner p {
    font-size: 13px;
    color: var(--text-dark);
}

.cookie-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.cookie-btn {
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    border: none;
}

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

.cookie-btn-reject {
    background-color: var(--bg-light);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

/* --- Main Footer --- */
.main-footer {
    background-color: #0d1b2a;
    color: #e0e1dd;
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
    color: var(--bg-white);
    font-size: 18px;
    margin-bottom: 25px;
    font-family: var(--font-headings);
}

.footer-logo {
    color: var(--bg-white);
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-bio {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(224, 225, 221, 0.7);
    margin-bottom: 25px;
}

.footer-social-links {
    display: flex;
    gap: 12px;
}

.footer-social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    transition: all var(--transition-fast);
}

.footer-social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

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

.footer-links a {
    font-size: 14px;
    color: rgba(224, 225, 221, 0.7);
}

.footer-links a:hover {
    color: var(--bg-white);
    padding-left: 5px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: rgba(224, 225, 221, 0.7);
}

.footer-contact-info i {
    color: var(--accent-color);
    margin-top: 3px;
}

.footer-contact-info a:hover {
    color: var(--bg-white);
}

.footer-bottom {
    background-color: #0b131f;
    padding: 25px 0;
    font-size: 13px;
    color: rgba(224, 225, 221, 0.5);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom-links a {
    color: rgba(224, 225, 221, 0.5);
}

.footer-bottom-links a:hover {
    color: var(--bg-white);
}

/* --- Admin Login Page Style --- */
.admin-login-body {
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.login-card {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 420px;
}

.login-card h2 {
    text-align: center;
    margin-bottom: 10px;
}

.login-subtitle {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none; /* Hide top bar on mobile for cleaner view */
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .steps-timeline {
        grid-template-columns: 1fr;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Footer SVG Logo Dark Theme Overrides */
.footer-logo-wrap svg .text-name {
    fill: #ffffff !important;
}
.footer-logo-wrap svg .text-sub {
    fill: var(--accent-color) !important;
}
.footer-logo-wrap svg:hover .text-name {
    fill: var(--accent-color) !important;
}
.footer-logo-wrap svg:hover .text-sub {
    fill: #ffffff !important;
}
