/* ============================================
   Global Styles - Çerkezköy Hurda Sitesi
   ============================================ */

:root {
    --primary-color: #2c5f2d;
    --secondary-color: #97bc62;
    --accent-color: #f4a261;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --text-color: #333;
    --border-color: #dee2e6;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 5px 20px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* ============================================
   Header & Navigation
   ============================================ */

.navbar {
    background: #fff;
    box-shadow: var(--shadow);
    padding: 1rem 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.98);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

/* ============================================
   Hero Section
   ============================================ */

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
    animation: waveMove 20s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: #fff;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    animation: fadeInUp 0.8s ease;
}

.hero-section .hero-subtitle {
    font-size: 1.35rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 300;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-section .hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-section .hero-image {
    position: relative;
    z-index: 2;
    animation: fadeInRight 1s ease 0.4s both;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.hero-section .hero-image:hover {
    transform: translateY(-10px) scale(1.02);
}

.hero-section .hero-image img {
    border-radius: 15px;
    transition: transform 0.5s ease;
}

.hero-section .hero-image:hover img {
    transform: scale(1.05);
}

.btn-hero {
    background: var(--accent-color);
    color: #fff;
    padding: 18px 45px;
    font-size: 1.15rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.8s ease 0.5s both;
    box-shadow: 0 10px 30px rgba(244, 162, 97, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-hero:hover::before {
    width: 300px;
    height: 300px;
}

.btn-hero:hover {
    background: #e76f51;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(244, 162, 97, 0.5);
    color: #fff;
}

.btn-hero:active {
    transform: translateY(-1px);
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.3);
    animation: fadeInDown 0.8s ease;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    display: block;
    line-height: 1;
    margin-bottom: 5px;
}

.hero-stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Page Hero (for other pages) */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
    animation: waveMove 20s ease-in-out infinite;
}

.page-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    animation: fadeInUp 0.8s ease;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* ============================================
   Section Styles
   ============================================ */

.section {
    padding: 80px 0;
    position: relative;
}

.section.bg-light {
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
    animation: expandWidth 0.8s ease 0.3s both;
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 80px;
    }
}

.section-subtitle {
    color: #666;
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* ============================================
   Card Styles
   ============================================ */

.service-card {
    background: #fff;
    border-radius: 15px;
    padding: 35px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.service-card .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* ============================================
   Feature Box
   ============================================ */

.feature-box {
    text-align: center;
    padding: 35px 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 15px;
    position: relative;
}

.feature-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.4s ease;
}

.feature-box:hover::after {
    width: 60px;
}

.feature-box:hover {
    transform: translateY(-8px);
    background: rgba(44, 95, 45, 0.03);
}

.feature-box .icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-box h5 {
    color: var(--dark-color);
    margin-bottom: 15px;
}

/* ============================================
   About Section
   ============================================ */

.about-img {
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: auto;
}

.about-content {
    padding: 20px 0;
}

/* ============================================
   Contact Section
   ============================================ */

.contact-info {
    background: linear-gradient(135deg, var(--light-color) 0%, #ffffff 100%);
    padding: 35px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    border-left: 4px solid var(--primary-color);
}

.contact-info:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.contact-info .icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 15px;
}

.contact-form {
    background: #fff;
    padding: 45px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
}

.contact-form:hover::before {
    transform: scaleY(1);
}

.form-control {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 14px 18px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 95, 45, 0.25);
    transform: translateY(-2px);
}

.form-control:hover {
    border-color: var(--primary-color);
}

.btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 14px 45px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(44, 95, 45, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    background: #1e4220;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(44, 95, 45, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--dark-color);
    color: #fff;
    padding: 50px 0 20px;
}

.footer h5 {
    color: #fff;
    margin-bottom: 20px;
}

.footer a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
}

/* ============================================
   Floating Action Buttons
   ============================================ */

.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
}

.floating-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.floating-btn:hover::before {
    width: 100px;
    height: 100px;
}

.floating-btn:hover {
    transform: scale(1.15) translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: #fff;
}

.floating-btn.whatsapp {
    background: #25d366;
}

.floating-btn.phone {
    background: var(--primary-color);
}

.floating-btn-label {
    position: absolute;
    right: 75px;
    background: var(--dark-color);
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.floating-btn:hover .floating-btn-label {
    opacity: 1;
}

/* ============================================
   Blog/Article Cards
   ============================================ */

.article-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.article-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 95, 45, 0.05) 0%, rgba(151, 188, 98, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.article-card:hover::after {
    opacity: 1;
}

.article-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.article-card img {
    transition: transform 0.5s ease;
}

.article-card:hover img {
    transform: scale(1.1);
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-card h5 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.article-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.article-card .btn {
    margin-top: auto;
    align-self: flex-start;
}

/* ============================================
   Region Cards
   ============================================ */

.region-card {
    background: #fff;
    border-radius: 15px;
    padding: 35px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.region-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(44, 95, 45, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.region-card:hover::before {
    opacity: 1;
}

.region-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-top: 4px solid var(--primary-color);
}

.region-card .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* ============================================
   Breadcrumb
   ============================================ */

.breadcrumb-section {
    background: var(--light-color);
    padding: 30px 0;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--text-color);
}

/* ============================================
   Animations
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes waveMove {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease;
}

.fade-in-down {
    animation: fadeInDown 0.8s ease;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease;
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Additional smooth transitions */
* {
    transition: color 0.3s ease, background-color 0.3s ease;
}

img {
    transition: transform 0.5s ease, opacity 0.3s ease;
}

/* Icon animations */
.service-card .icon,
.feature-box .icon,
.region-card .icon {
    transition: all 0.4s ease;
}

.service-card:hover .icon,
.feature-box:hover .icon,
.region-card:hover .icon {
    transform: scale(1.1) rotate(5deg);
}

/* Stagger animation for grid items */
.animate-stagger {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.animate-stagger:nth-child(1) { animation-delay: 0.1s; }
.animate-stagger:nth-child(2) { animation-delay: 0.2s; }
.animate-stagger:nth-child(3) { animation-delay: 0.3s; }
.animate-stagger:nth-child(4) { animation-delay: 0.4s; }
.animate-stagger:nth-child(5) { animation-delay: 0.5s; }
.animate-stagger:nth-child(6) { animation-delay: 0.6s; }

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 80px;
        min-height: auto;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-section .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-section .hero-description {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 20px;
        margin-top: 30px;
    }
    
    .hero-stat-number {
        font-size: 2rem;
    }
    
    .page-hero {
        padding: 100px 0 60px;
    }
    
    .page-hero h1 {
        font-size: 2.2rem;
    }
    
    .page-hero p {
        font-size: 1rem;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .floating-buttons {
        right: 15px;
        bottom: 15px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* ============================================
   Buttons - Global Override
   ============================================ */

.btn {
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
}

.btn-primary:hover,
.btn-primary:not(:disabled):not(.disabled):active {
    background-color: #1e4220 !important;
    border-color: #1e4220 !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline-primary {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    background-color: transparent;
    border-width: 2px;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-outline-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-outline-primary:hover::before,
.btn-outline-primary:focus::before,
.btn-outline-primary:active::before {
    left: 0;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary:not(:disabled):not(.disabled):active {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 95, 45, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: #fff !important;
}

.btn-secondary:hover {
    background-color: #7a9a4f !important;
    border-color: #7a9a4f !important;
    color: #fff !important;
}

/* ============================================
   Links - Global Styles
   ============================================ */

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1e4220;
    text-decoration: underline;
}

a:focus {
    color: var(--primary-color);
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Links in content areas */
.content-area a,
.service-card a,
.article-card a,
.region-card a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.content-area a:hover,
.service-card a:hover,
.article-card a:hover,
.region-card a:hover {
    color: #1e4220;
    text-decoration: underline;
}

/* Remove underline for specific elements */
.navbar-nav .nav-link,
.footer a,
.breadcrumb-item a,
.floating-btn {
    text-decoration: none !important;
}

.navbar-nav .nav-link:hover,
.footer a:hover,
.breadcrumb-item a:hover {
    text-decoration: none !important;
}

/* ============================================
   Legal Pages Content Style
   ============================================ */

.legal-content {
    background: #fff;
    border-radius: 15px;
    padding: 45px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    position: relative;
    border-top: 4px solid var(--primary-color);
}

.legal-content h4 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.legal-content h4:first-child {
    margin-top: 0;
}

.legal-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.legal-content ul li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.legal-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.legal-content strong {
    color: var(--dark-color);
    font-weight: 600;
}

/* ============================================
   Article Single Page
   ============================================ */

.article-single {
    background: #fff;
    border-radius: 15px;
    padding: 45px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    position: relative;
    border-top: 4px solid var(--primary-color);
}

.article-single-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.article-single-header h1 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.article-single-meta {
    color: #666;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.article-single-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.article-single-featured-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.article-single-content {
    line-height: 1.8;
    font-size: 1.05rem;
}

.article-single-content h2 {
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.75rem;
}

.article-single-content h3 {
    color: var(--dark-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.article-single-content p {
    margin-bottom: 20px;
}

.article-single-content ul,
.article-single-content ol {
    margin-left: 30px;
    margin-bottom: 20px;
}

.article-single-content ul li,
.article-single-content ol li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.article-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 30px 0;
    box-shadow: var(--shadow);
}

.article-single-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.article-tag {
    background: var(--light-color);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-tag:hover {
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}

.article-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: var(--light-color);
    border-radius: 10px;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    flex: 1;
}

.article-nav-link:hover {
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    transform: translateX(-5px);
}

.article-nav-link.next {
    text-align: right;
    flex-direction: row-reverse;
}

.article-nav-link.next:hover {
    transform: translateX(5px);
}

.related-articles {
    margin-top: 50px;
}

.related-articles h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

/* ============================================
   Utility Classes
   ============================================ */

.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.shadow-custom {
    box-shadow: var(--shadow) !important;
}

