/* Global Site Custom Styles - Law Firm Aesthetic */

:root {
    /* New Color Palette */
    --yl-primary: #c5a059;
    /* Gold/Bronze */
    --yl-primary-hover: #b08d4b;
    --yl-bg-primary: #1a1d23;
    --yl-bg-card: #232730;
    --yl-text-primary: #f1f5f9;
    --yl-text-secondary: #94a3b8;
    --yl-border: rgba(197, 160, 89, 0.2);
    --yl-border-light: rgba(255, 255, 255, 0.1);

    /* Gradients */
    --yl-gradient-primary: linear-gradient(135deg, #c5a059 0%, #b08d4b 100%);
    --yl-gradient-dark: linear-gradient(145deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.98));
}

/* Global Overrides */
body {
    background-color: var(--yl-bg-primary);
    color: var(--yl-text-primary);
}

a {
    color: var(--yl-primary);
    border-bottom-color: rgba(197, 160, 89, 0.5);
}

a:hover {
    color: var(--yl-primary-hover);
    border-bottom-color: transparent;
}

/* Buttons */
.btn-law,
.btn-modern,
.btn-theme {
    background: var(--yl-gradient-primary) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3) !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem !important;
}

.btn-law:hover,
.btn-modern:hover,
.btn-theme:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4) !important;
    filter: brightness(1.1);
}

.btn-theme-outline {
    border-color: var(--yl-primary) !important;
    color: var(--yl-primary) !important;
}

.btn-theme-outline:hover {
    background: var(--yl-primary) !important;
    color: #fff !important;
}

/* Icons */
.icon,
.fa,
.fas,
.far,
.fab {
    color: var(--yl-primary);
}

/* Headers */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #fff;
}

h1.major,
h2.major,
h3.major {
    border-bottom-color: var(--yl-primary);
}

.gradient-text {
    background: linear-gradient(to right, #fff, #e2e8f0);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Contact Cards Container - Enhanced Layout */
.contact-cards-container {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 2rem !important;
    padding: 2rem 1.5rem !important;
    max-width: 1400px;
    margin: 0 auto !important;
    min-height: auto !important;
}

@media (max-width: 768px) {
    .contact-cards-container {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        padding: 1.5rem 1rem !important;
    }
}

@media (max-width: 480px) {
    .contact-cards-container {
        gap: 1.2rem !important;
        padding: 1rem 0.75rem !important;
    }
}

/* Contact Cards Overrides */
.contact-card {
    border-color: var(--yl-border) !important;
    transform: translateY(0) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.contact-card:hover {
    border-color: var(--yl-primary) !important;
    box-shadow: 0 20px 60px rgba(197, 160, 89, 0.25), 0 0 0 1px rgba(197, 160, 89, 0.1) !important;
    transform: translateY(-8px) scale(1.02) !important;
}

/* Address Card */
.gradient-border-address {
    background: var(--yl-gradient-primary) !important;
}

.icon-wrapper {
    background: rgba(197, 160, 89, 0.1) !important;
}

.icon-address,
.address-title,
.address-icon,
.address-icon-2 {
    color: var(--yl-primary) !important;
}

.address-line,
.address-line-3 {
    background: rgba(197, 160, 89, 0.05) !important;
    border-left-color: var(--yl-primary) !important;
}

/* Email Card */
.gradient-border-email {
    background: linear-gradient(90deg, #c5a059, #eab308) !important;
}

.icon-wrapper-email {
    background: rgba(197, 160, 89, 0.1) !important;
}

.icon-email,
.email-title,
.email-icon,
.email-paper-plane {
    color: var(--yl-primary) !important;
}

.email-content-inner {
    background: rgba(197, 160, 89, 0.05) !important;
    border-color: rgba(197, 160, 89, 0.2) !important;
}

.email-link {
    background: rgba(197, 160, 89, 0.1) !important;
    border-color: rgba(197, 160, 89, 0.3) !important;
}

.email-link:hover {
    background: rgba(197, 160, 89, 0.2) !important;
}

/* Phone Card */
.gradient-border-phone {
    background: linear-gradient(90deg, #c5a059, #d4af37) !important;
}

.icon-wrapper-phone {
    background: rgba(197, 160, 89, 0.1) !important;
}

.icon-phone,
.phone-title,
.phone-icon-mobile,
.phone-icon-headset,
.phone-info-icon {
    color: var(--yl-primary) !important;
}

.phone-icon-separator {
    background: var(--yl-gradient-primary) !important;
}

.phone-link {
    background: var(--yl-gradient-primary) !important;
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.3) !important;
}

.phone-info-item {
    background: rgba(197, 160, 89, 0.1) !important;
}

/* Work Area Cards */
.work-area-card h3 i {
    color: var(--yl-primary) !important;
}

/* Form Elements */
input:focus,
textarea:focus,
select:focus {
    border-color: var(--yl-primary) !important;
    box-shadow: 0 0 0 2px rgba(197, 160, 89, 0.2) !important;
}

/* Blog detay sayfası için tam ekran responsive stiller */
body.blog-page,
body.blog-post {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body.blog-page,
body.blog-post {
    background: var(--yl-bg-primary);
    color: var(--yl-text-primary);
}

/* Article action butonları için özel stiller */
.article-action-btn {
    transition: all 0.3s ease;
    border: 2px solid transparent;
    white-space: nowrap;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    vertical-align: middle;
    line-height: 1;
}

.article-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-theme.article-action-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
}

.btn-theme-outline.article-action-btn {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-theme-outline.article-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

body.blog-page #wrapper,
body.blog-post #wrapper {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body.blog-page #main,
body.blog-post #main {
    display: block;
    opacity: 1;
    transform: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body.blog-page article,
body.blog-post article {
    display: block;
    opacity: 1;
    transform: none;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.is-preload.blog-page #main article,
body.is-preload.blog-post #main article {
    transform: none;
    opacity: 1;
}

/* Header tam ekran düzeni */
body.blog-page header#header,
body.blog-post header#header {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

body.blog-page header#header .content,
body.blog-post header#header .content {
    width: 100%;
    max-width: 100%;
    padding: 2rem 1rem;
}

body.blog-page header#header nav ul li,
body.blog-post header#header nav ul li {
    display: inline-block;
    margin: 0 0.5em;
}

/* Blog içerik stili - tam ekran */
.blog-content {
    line-height: 1.8;
    font-size: 1.1rem;
    margin: 2rem auto 3rem auto;
    text-align: justify;
    hyphens: auto;
    word-wrap: break-word;
    max-width: 1200px;
    width: 100%;
    padding: 3rem 2rem;
    background: var(--yl-bg-card);
    backdrop-filter: blur(15px);
    border: 1px solid var(--yl-border);
    border-radius: 12px;
    box-shadow: var(--yl-shadow-md);
    box-sizing: border-box;
}

/* Scrollbar */
::-webkit-scrollbar-thumb {
    background: var(--yl-primary);
}

::-webkit-scrollbar-track {
    background: var(--yl-bg-primary);
}

/* Language Switcher */
.dropdown {
    position: absolute;
    top: 1rem;
    right: 2rem;
    display: inline-block;
    z-index: 1000;
}

.dropbtn {
    background: rgba(197, 160, 89, 0.1);
    color: var(--yl-primary);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border: 1px solid var(--yl-border);
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dropbtn:hover,
.dropdown:hover .dropbtn {
    background: var(--yl-primary);
    color: #fff;
    border-color: var(--yl-primary);
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: var(--yl-bg-card);
    min-width: 120px;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.4);
    z-index: 1;
    border: 1px solid var(--yl-border);
    border-radius: 4px;
    overflow: hidden;
}

.dropdown-content a {
    color: var(--yl-text-secondary);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: rgba(197, 160, 89, 0.1);
    color: var(--yl-primary);
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 736px) {
    .dropdown {
        top: 0.5rem;
        right: 1rem;
    }

    .dropbtn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}