/* 
 * Professional Lawyer Landing Page Styles 
 * Domain: Okansefaatalay.com
 * Theme: Dark Navy, Anthracite, White, Gold
 */

:root {
    /* Color Palette */
    --color-navy: #0F172A;
    /* Deep Navy Background */
    --color-anthracite: #1E293B;
    /* Slightly lighter for cards/sections */
    --color-gold: #C9A24D;
    /* Primary Gold Accent */
    --color-gold-hover: #b08d42;
    --color-white: #e2e8f0;
    /* Soft white text */
    --color-bg-body: #0F172A;
    /* Main Body Background */
    --color-bg-card: #1E293B;
    /* Card Background */
    --color-bg-light: #162033;
    /* Alternating Section Background (slightly lighter navy) */
    --color-text-main: #e2e8f0;
    --color-text-light: #cbd5e1;
    /* Lightened from #94A3B8 for better contrast */
    --color-border: #334155;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-container: 1200px;
    --spacing-section: 100px;

    /* Transitions */
    --transition-fast: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-white);
    /* Default to white for maximum contrast */
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

/* Utility Classes */
.container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 20px;
}

.text-gold {
    color: var(--color-gold);
}

.text-dark {
    color: var(--color-white);
    /* Override: "dark text" should be white in dark mode */
}

.text-muted {
    color: var(--color-text-light);
}

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

.mb-8 {
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-weight: 500;
    border-radius: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-gold);
    color: #fff;
    /* Dark text on gold can also work, but white adds contrast if gold is dark enough. #C9A24D is mid-tone. Let's stick to white for elegance or dark navy for contrast. */
    color: var(--color-navy);
}

.btn-primary:hover {
    background-color: var(--color-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 162, 77, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-navy);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    width: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    /* Dark Navy Transparent */
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

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

/* .logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
} */

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-img {
    height: 100px;
    /* Kept the size */
    width: auto;
    object-fit: contain;
    /* Filter removed to avoid white box artifact */
}

/* Hover effect removed as requested */
/* .logo:hover .logo-img {
    transform: scale(1.05);
} */

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

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--color-white);
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.logo-subtitle {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 300;
    color: var(--color-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 2px;
}

.logo:hover .logo-img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(201, 162, 77, 0.5));
}

.header {
    padding: 25px 0;
    /* Adjusted padding */
    transition: all 0.3s ease;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-size: 0.95rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-white);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: width 0.3s ease;
}

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

.nav-phone.btn-gold {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(201, 162, 77, 0.08);
    /* Subtle gold tint */
    color: var(--color-gold);
    padding: 10px 24px;
    border: 1px solid rgba(201, 162, 77, 0.3);
    border-radius: 50px;
    /* Modern pill shape */
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.nav-phone.btn-gold:hover {
    background-color: var(--color-gold);
    color: var(--color-navy);
    border-color: var(--color-gold);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(201, 162, 77, 0.3);
}

.btn-nav {
    border: 1px solid var(--color-gold);
    padding: 8px 20px;
    border-radius: 4px;
    display: none;
    /* Hide Contact button since we added Phone */
}

.btn-nav::after {
    display: none;
}

.lang-switch {
    font-size: 0.9rem;
    color: var(--color-text-light);
    border-left: 1px solid var(--color-border);
    padding-left: 15px;
}

.lang-link.active {
    color: var(--color-gold);
    font-weight: 700;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--color-white);
    transition: all 0.3s ease-in-out;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-image: url('assets/images/hero-bg.png');
    /* Ensure this path is correct */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
}

/* Fallback if image not found or loading */
.hero {
    background-color: var(--color-navy);
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--color-white);
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-white);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Sections General */
.section {
    padding: var(--spacing-section) 0;
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-gold);
}

.section-desc {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
    font-size: 1.1rem;
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    padding: 20px;
}

.about-profile-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: top center;
    border-radius: 4px;
    position: relative;
    z-index: 2;
    display: block;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    filter: grayscale(10%) contrast(1.1);
    /* Subtle professional filter */
}

.about-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-gold);
    transform: translate(-20px, -20px);
    z-index: 1;
}

.about-content .section-title {
    text-align: left;
}

.about-content .section-title::after {
    left: 0;
    transform: none;
}

.about-subtitle {
    font-size: 1.25rem;
    color: var(--color-gold);
    margin-bottom: 20px;
    font-weight: 500;
}

.about-text {
    margin-bottom: 20px;
    color: var(--color-text-main);
}

.signature {
    margin-top: 30px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-white);
}

/* Expertise / Cards */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.expertise-card {
    background: var(--color-bg-card);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition-fast);
    border-bottom: 3px solid transparent;
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-bottom-color: var(--color-gold);
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(201, 162, 77, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--color-gold);
}

.expertise-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

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

/* Articles Section */
.articles-section {
    background-color: var(--color-navy);
    color: var(--color-white);
}

.articles-section .section-title {
    color: var(--color-white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background-color: var(--color-bg-card);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-fast);
    border: 1px solid var(--color-border);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.blog-date {
    font-size: 0.85rem;
    color: var(--color-gold);
    margin-bottom: 10px;
    display: block;
    font-weight: 500;
}

.blog-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--color-white);
}

.blog-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-link {
    color: var(--color-gold);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin-top: auto;
}

.blog-link:hover {
    color: var(--color-white);
}

/* Process Section */
.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 900px;
    margin: 60px auto 0;
    position: relative;
}

.step-card {
    flex: 1;
    text-align: center;
    padding: 0 10px;
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 50px;
    height: 50px;
    background-color: var(--color-navy);
    color: var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    border: 2px solid var(--color-gold);
}

.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

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

.step-connector {
    flex: 1;
    height: 2px;
    background-color: var(--color-border);
    margin-top: 25px;
    /* Half of icon height */
    position: relative;
    top: 0;
}

/* Contact Section */
.contact-container {
    display: flex;
    gap: 60px;
}

.contact-info,
.contact-form-wrapper {
    flex: 1;
}

.contact-info .section-title {
    text-align: left;
}

.contact-info .section-title::after {
    left: 0;
    transform: none;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.contact-item strong {
    color: var(--color-gold);
    margin-bottom: 5px;
}

.map-placeholder {
    width: 100%;
    height: 250px;
    background-color: var(--color-bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    border-radius: 8px;
}

.contact-form {
    background: var(--color-bg-card);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border-top: 5px solid var(--color-gold);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--color-white);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s;
    background-color: var(--color-navy);
    color: var(--color-white);
}

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

.full-width {
    width: 100%;
    text-align: center;
}

/* Footer */
.footer {
    background-color: #0b1121;
    color: var(--color-text-light);
    padding: 80px 0 30px;
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 40px;
    }
}

.footer-col h3,
.footer-col h4 {
    color: var(--color-white);
    font-family: var(--font-heading);
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-gold);
}

.footer-col p {
    line-height: 1.6;
    font-size: 0.95rem;
    color: var(--color-text-light);
}

.footer-brand-desc {
    margin-bottom: 15px;
}

.baro-info {
    font-size: 0.9rem;
    color: var(--color-gold) !important;
    font-weight: 500;
}

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

.footer-links a {
    color: var(--color-text-light);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.footer-links a::before {
    content: "›";
    color: var(--color-gold);
    font-size: 1.2rem;
    line-height: 1;
}

.footer-links a:hover {
    color: var(--color-white);
    transform: translateX(5px);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.footer-contact-item svg {
    color: var(--color-gold);
    flex-shrink: 0;
    margin-top: 4px;
}

.footer-contact-item a {
    color: var(--color-text-light);
    transition: var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: var(--color-text-light);
    transition: var(--transition-fast);
}

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

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    /* start invisible */
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
    }

    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .header .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        /* Header height */
        flex-direction: column;
        background-color: var(--color-navy);
        width: 100%;
        height: calc(100vh - 70px);
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding-top: 40px;
    }

    .header .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-menu-btn.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-btn.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .step-connector {
        display: none;
        /* Hide connectors on mobile */
    }

    .step-card {
        width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .about-profile-img {
        height: 400px;
    }
}

/* Form Status Messages */
.form-status {
    margin-top: 15px;
    padding: 12px;
    border-radius: 4px;
    font-size: 0.95rem;
    display: none;
    line-height: 1.4;
}

.form-status.success {
    display: block;
    background-color: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid #4caf50;
}

.form-status.error {
    display: block;
    background-color: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid #f44336;
}