/* ============================================
   Emek Fidancılık - Custom CSS Styles
   Renk Paleti: Yeşil, Sarı, Kahverengi
   Prefix: em-
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Advent+Pro:wght@400;500;600;700;800&display=swap');

/* ============================================
   1. ROOT VARIABLES & RESET
   ============================================ */
:root {
    --em-primary: #2d5016;
    /* Koyu Yeşil */
    --em-secondary: #4a7c23;
    /* Orta Yeşil */
    --em-accent: #8fbc3f;
    /* Açık Yeşil */
    --em-yellow: #f9d423;
    /* Sarı */
    --em-brown: #6b4423;
    /* Kahverengi */
    --em-light-brown: #a67c52;
    /* Açık Kahverengi */
    --em-white: #ffffff;
    --em-light: #f8f9fa;
    --em-gray: #6c757d;
    --em-dark: #212529;
    --em-shadow: rgba(0, 0, 0, 0.1);
    --em-shadow-hover: rgba(0, 0, 0, 0.2);
    --em-transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--em-dark);
    line-height: 1.6;
    background-color: var(--em-white);
}

/* Selection Color */
::selection {
    background: var(--em-accent);
    color: var(--em-white);
}

::-moz-selection {
    background: var(--em-accent);
    color: var(--em-white);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--em-light);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--em-secondary), var(--em-accent));
    border-radius: 10px;
    border: 2px solid var(--em-light);
}

    ::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(135deg, var(--em-accent), var(--em-yellow));
    }

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--em-accent) var(--em-light);
}

@media (max-width: 768px) {
    .mobile-gap {
        gap: 0.5rem;
    }
}

/* ============================================
   2. TYPOGRAPHY
   ============================================ */
.em-title {
    font-family: 'Advent Pro', Arial, Helvetica, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--em-primary);
    margin-bottom: 1rem;
}

.em-subtitle {
    font-family: 'Advent Pro', Arial, Helvetica, sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--em-secondary);
    margin-bottom: 0.75rem;
}

.em-text {
    font-size: 1rem;
    color: var(--em-gray);
    line-height: 1.8;
}

.em-lead {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--em-accent);
}

/* ============================================
   3. BUTTONS
   ============================================ */
.em-btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--em-transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.em-btn-primary {
    background: linear-gradient(135deg, var(--em-secondary), var(--em-accent));
    color: var(--em-white);
    box-shadow: 0 4px 15px var(--em-shadow);
}

    .em-btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px var(--em-shadow-hover);
        color: var(--em-white);
    }

.em-btn-secondary {
    background: var(--em-brown);
    color: var(--em-white);
    box-shadow: 0 4px 15px var(--em-shadow);
}

    .em-btn-secondary:hover {
        background: var(--em-light-brown);
        transform: translateY(-2px);
        color: var(--em-white);
    }

.em-btn-outline {
    background: var(--em-secondary);
    color: var(--em-white);
    border: 2px solid var(--em-secondary);
}

    .em-btn-outline:hover {
        background: var(--em-secondary);
        color: var(--em-white);
    }

/* ============================================
   4. NAVIGATION
   ============================================ */
.em-navbar {
    background: linear-gradient(135deg, var(--em-white) 0%, #f8f9fa 100%);
    box-shadow: 0 4px 20px rgba(45, 80, 22, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    margin-top: 0;
}

.em-navbar-brand {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--em-primary) !important;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

    .em-navbar-brand i {
        color: var(--em-accent);
        font-size: 2rem;
    }

    .em-navbar-brand img {
        position: absolute;
        top: 20px;
        border-radius: 20px;
        padding: 0.5rem;
        width: 180px;
        box-shadow: 0 4px 15px rgba(45, 80, 22, 0.3);
        transition: var(--em-transition);
    }

        .em-navbar-brand img:hover {
            box-shadow: 0 6px 25px rgba(45, 80, 22, 0.5);
            transform: translateY(-2px);
        }

@media (max-width: 768px) {
    .em-navbar-brand img {
        width: 150px;
    }
}

.em-nav-link {
    color: var(--em-dark) !important;
    font-weight: 600;
    padding: 0.75rem 1.25rem !important;
    transition: var(--em-transition);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

    .em-nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--em-accent), var(--em-yellow));
        background: linear-gradient(90deg, var(--em-accent), #245211);
        transition: var(--em-transition);
        border-radius: 2px;
    }

    .em-nav-link:hover::after,
    .em-nav-link.active::after {
        width: 80%;
    }

    .em-nav-link:hover {
        color: var(--em-primary) !important;
        background: rgba(79, 124, 35, 0.05);
        border-radius: 8px;
    }

/* Dropdown hover effect */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 8px 30px rgba(45, 80, 22, 0.15);
    border-radius: 12px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    visibility: hidden;
    display: block;
    background: var(--em-white);
    min-width: 220px;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    color: var(--em-dark);
    font-weight: 500;
    transition: var(--em-transition);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

    .dropdown-item:hover {
        background: linear-gradient(135deg, var(--em-secondary), var(--em-accent));
        color: var(--em-white);
        padding-left: 2rem;
    }

    .dropdown-item i {
        margin-right: 0.75rem;
        width: 20px;
        text-align: center;
    }

/* ============================================
   5. HERO SECTION
   ============================================ */
.em-hero {
    position: relative;
    color: var(--em-white);
    padding: 150px 0 120px;
    overflow: hidden;
    margin-bottom: -1px;
    background: url(../images/horizontal/7.webp);
    background-size: cover;
    background-position: center;
}

    .em-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-size: cover;
        background-position: bottom;
        opacity: 1;
        background: linear-gradient(45deg, #4d9523, #1010101f);
    }

    .em-hero .em-btn {
        position: relative;
    }

.em-hero-home {
    position: relative;
    color: var(--em-white);
    padding: 150px 0 120px;
    overflow: hidden;
    margin-bottom: -1px;
    background: url(../images/horizontal/7.webp);
    background-size: cover;
    background-position: center;
}

    .em-hero-home::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-size: cover;
        background-position: bottom;
        opacity: 1;
        background: linear-gradient(45deg, #191919, #1010101f);
    }

/* Hero Brush Effect - Slider Separator */
.em-hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 220px;
    background-image: url(/images/slider-seperator.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 45;
    pointer-events: none;
}

.em-hero-content {
    position: relative;
    z-index: 1;
}

.em-hero-title {
    font-family: 'Advent Pro', Arial, Helvetica, sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.em-hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

/* ============================================
   6. CARDS
   ============================================ */
.em-card {
    background: var(--em-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--em-shadow);
    transition: var(--em-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .em-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 30px var(--em-shadow-hover);
    }

.em-card-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.em-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.em-card-title {
    font-family: 'Advent Pro', Arial, Helvetica, sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--em-primary);
    margin-bottom: 0.75rem;
}

.em-card-text {
    color: var(--em-gray);
    margin-bottom: 1rem;
    flex-grow: 1;
}

.em-card-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--em-accent);
    color: var(--em-white);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.em-card-badge-certified {
    background: var(--em-yellow);
    color: var(--em-brown);
}

/* ============================================
   7. FEATURES SECTION
   ============================================ */
.em-features {
    padding: 80px 0;
    background: var(--em-light);
}

.em-feature-box {
    text-align: center;
    padding: 2rem;
    background: var(--em-white);
    border-radius: 15px;
    transition: var(--em-transition);
    height: 100%;
    box-shadow: 0 3px 10px var(--em-shadow);
}

    .em-feature-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px var(--em-shadow-hover);
    }

.em-feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--em-secondary), var(--em-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--em-white);
    font-size: 2rem;
}

.em-feature-title {
    font-family: 'Advent Pro', Arial, Helvetica, sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--em-primary);
    margin-bottom: 0.75rem;
}

.em-feature-text {
    color: var(--em-gray);
}

/* ============================================
   8. SECTION STYLES
   ============================================ */
.em-section {
    padding: 80px 0;
}

.em-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.em-section-title {
    font-family: 'Advent Pro', Arial, Helvetica, sans-serif;
    font-weight: 700;
    color: var(--em-primary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    font-size: 96px;
}

    .em-section-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 4px;
        background: linear-gradient(90deg, var(--em-accent), #245211);
        border-radius: 2px;
    }

.em-section-subtitle {
    font-size: 1.125rem;
    color: var(--em-gray);
    max-width: 600px;
    margin: 1.5rem auto 0;
}

/* ============================================
   9. GALLERY
   ============================================ */
.em-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.em-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--em-shadow);
    cursor: pointer;
    aspect-ratio: 4/3;
}

.em-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--em-transition);
}

.em-gallery-item:hover .em-gallery-img {
    transform: scale(1.1);
}

.em-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(45, 80, 22, 0.9), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--em-transition);
}

.em-gallery-item:hover .em-gallery-overlay {
    opacity: 1;
}

.em-gallery-title {
    font-family: 'Advent Pro', Arial, Helvetica, sans-serif;
    color: var(--em-white);
    font-size: 1.25rem;
    font-weight: 600;
}

/* ============================================
   10. CONTACT SECTION
   ============================================ */
.em-contact-box {
    background: var(--em-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--em-shadow);
    text-align: center;
    height: 100%;
}

.em-contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--em-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--em-white);
    font-size: 1.5rem;
}

.em-contact-title {
    font-family: 'Advent Pro', Arial, Helvetica, sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--em-primary);
    margin-bottom: 0.5rem;
}

.em-contact-text {
    color: var(--em-gray);
}

.em-contact-link {
    color: var(--em-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--em-transition);
}

    .em-contact-link:hover {
        color: var(--em-accent);
    }

/* ============================================
   11. FOOTER
   ============================================ */
.em-footer {
    background: linear-gradient(135deg, var(--em-primary) 0%, #1a3a0d 100%);
    color: var(--em-white);
    padding: 4rem 0 1.5rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    .em-footer > .container {
        position: relative;
        z-index: 2;
    }

    .em-footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--em-accent), var(--em-yellow), var(--em-accent));
        animation: em-footer-gradient 3s ease infinite;
    }

@media screen and (max-width: 768px){
    .em-footer {
        padding-bottom: 7rem;
    }
}

@keyframes em-footer-gradient {

    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.em-footer::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(143, 188, 63, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: em-footer-pulse 4s ease-in-out infinite;
}

@keyframes em-footer-pulse {

    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
}

.em-footer-title {
    font-family: 'Advent Pro', Arial, Helvetica, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--em-yellow);
    position: relative;
    padding-bottom: 0.75rem;
    display: inline-block;
}

    .em-footer-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 50px;
        height: 3px;
        background: linear-gradient(90deg, var(--em-yellow), var(--em-accent));
        border-radius: 2px;
    }

.em-footer-text {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.75rem;
    line-height: 1.8;
    transition: var(--em-transition);
}

    .em-footer-text:hover {
        color: rgba(255, 255, 255, 1);
        padding-left: 5px;
    }

    .em-footer-text i {
        color: var(--em-accent);
        margin-right: 0.5rem;
        width: 20px;
        text-align: center;
    }

.em-footer-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    transition: var(--em-transition);
    padding: 0.5rem 0;
    border-radius: 5px;
}

    .em-footer-link i {
        margin-right: 0.75rem;
        width: 20px;
        text-align: center;
        transition: var(--em-transition);
    }

    .em-footer-link:hover {
        color: var(--em-yellow);
        background: rgba(255, 255, 255, 0.05);
        padding-left: 1rem;
        transform: translateX(5px);
    }

        .em-footer-link:hover i {
            color: var(--em-accent);
            transform: scale(1.2);
        }

.em-footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.em-social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--em-white);
    text-decoration: none;
    transition: var(--em-transition);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

    .em-social-icon:hover {
        background: var(--em-yellow);
        color: var(--em-primary);
        transform: translateY(-5px) scale(1.1);
        box-shadow: 0 8px 20px rgba(249, 212, 35, 0.4);
        border-color: var(--em-yellow);
    }

.em-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 3rem;
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 1;
}

    .em-footer-bottom p {
        margin-bottom: 0.5rem;
    }

    .em-footer-bottom a {
        transition: var(--em-transition);
        position: relative;
    }

        .em-footer-bottom a::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--em-yellow);
            transition: var(--em-transition);
        }

        .em-footer-bottom a:hover::after {
            width: 100%;
        }

        .em-footer-bottom a:hover {
            color: var(--em-yellow) !important;
            transform: translateY(-2px);
        }

/* ============================================
   12. PRODUCT DETAIL
   ============================================ */
.em-product-detail {
    padding: 3rem 0;
}

.em-product-img-main {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--em-shadow);
}

.em-product-features {
    list-style: none;
    padding: 0;
}

    .em-product-features li {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--em-light);
        display: flex;
        align-items: center;
    }

        .em-product-features li i {
            color: var(--em-accent);
            margin-right: 0.75rem;
            font-size: 1.25rem;
        }

/* ============================================
   13. UTILITIES
   ============================================ */
.em-text-center {
    text-align: center;
}

.em-mb-1 {
    margin-bottom: 0.5rem;
}

.em-mb-2 {
    margin-bottom: 1rem;
}

.em-mb-3 {
    margin-bottom: 1.5rem;
}

.em-mb-4 {
    margin-bottom: 2rem;
}

.em-mt-1 {
    margin-top: 0.5rem;
}

.em-mt-2 {
    margin-top: 1rem;
}

.em-mt-3 {
    margin-top: 1.5rem;
}

.em-mt-4 {
    margin-top: 2rem;
}

.em-py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.em-bg-light {
    background-color: var(--em-light);
}

/* ============================================
   14. RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .em-hero-title {
        font-size: 2.5rem;
    }

    .em-hero-subtitle {
        font-size: 1.125rem;
    }

    .em-title {
        font-size: 2rem;
    }

    .em-section-title {
        font-size: 2rem;
    }

    .em-gallery-grid {
        grid-template-columns: 1fr;
    }

    .em-feature-box {
        margin-bottom: 1.5rem;
    }
}

/* ============================================
   15. ANIMATIONS
   ============================================ */
@keyframes em-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.em-fade-in-up {
    animation: em-fadeInUp 0.6s ease-out;
}

@keyframes em-pulse {

    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.em-pulse {
    animation: em-pulse 2s infinite;
}

/* ============================================
   16. BLOB EFFECTS
   ============================================ */
.em-blob {
    position: absolute;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    filter: blur(40px);
    opacity: 0.3;
    animation: em-blob-animate 20s infinite;
    z-index: 0;
}

.em-blob-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--em-accent), var(--em-yellow));
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.em-blob-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--em-secondary), var(--em-accent));
    bottom: -150px;
    left: -150px;
    animation-delay: 5s;
}

.em-blob-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, var(--em-yellow), var(--em-brown));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes em-blob-animate {

    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: translate(0, 0) scale(1);
    }

    25% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
        transform: translate(50px, -50px) scale(1.1);
    }

    50% {
        border-radius: 30% 70% 70% 30% / 70% 30% 30% 70%;
        transform: translate(-30px, 30px) scale(0.9);
    }

    75% {
        border-radius: 70% 30% 30% 70% / 30% 70% 70% 30%;
        transform: translate(30px, 50px) scale(1.05);
    }
}

.em-section-blob {
    position: relative;
    overflow: hidden;
}

    .em-section-blob::before {
        content: '';
        position: absolute;
        width: 500px;
        height: 500px;
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        background: linear-gradient(135deg, rgba(143, 188, 63, 0.1), rgba(249, 212, 35, 0.1));
        filter: blur(60px);
        top: -250px;
        right: -250px;
        z-index: 0;
        animation: em-blob-animate 25s infinite;
    }

    .em-section-blob::after {
        content: '';
        position: absolute;
        width: 400px;
        height: 400px;
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
        background: linear-gradient(135deg, rgba(74, 124, 35, 0.1), rgba(143, 188, 63, 0.1));
        filter: blur(60px);
        bottom: -200px;
        left: -200px;
        z-index: 0;
        animation: em-blob-animate 30s infinite reverse;
    }

    .em-section-blob > * {
        position: relative;
        z-index: 1;
    }

/* ============================================
   17. BOOTSTRAP BOX-SHADOW OVERRIDE
   ============================================ */
.card,
.card-body,
.dropdown-menu,
.modal-content,
.popover,
.tooltip-inner,
.alert,
.badge,
.btn,
.navbar,
.nav-tabs .nav-link.active,
.list-group-item {
    box-shadow: 0 4px 15px rgba(45, 80, 22, 0.08) !important;
}

    .card:hover,
    .btn:hover {
        box-shadow: 0 8px 25px rgba(45, 80, 22, 0.15) !important;
    }

/* ============================================
   18. WHATSAPP & BACK TO TOP BUTTONS
   ============================================ */
/* ============================================
   22. TOP HEADER
   ============================================ */
.em-top-header {
    background: linear-gradient(135deg, var(--em-primary), var(--em-secondary));
    color: var(--em-white);
    padding: 0.75rem 0;
    font-size: 0.875rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.em-top-header-left {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.em-top-header-link {
    color: var(--em-white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--em-transition);
}

    .em-top-header-link:hover {
        color: var(--em-yellow);
        transform: translateX(3px);
    }

.em-top-header-right {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.em-top-header-social {
    color: var(--em-white);
    font-size: 1.125rem;
    transition: var(--em-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

    .em-top-header-social:hover {
        color: var(--em-yellow);
        background: rgba(255, 255, 255, 0.2);
        transform: scale(1.1);
    }

@media (max-width: 768px) {
    .em-top-header {
        font-size: 0.75rem;
        padding: 0.5rem 0;
    }

    .em-top-header-left {
        gap: 0.75rem;
    }

    .em-top-header-link {
        gap: 0.25rem;
    }

    .em-top-header-social {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
}

/* ============================================
   23. FLOATING BUTTONS
   ============================================ */
.em-whatsapp-btn {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    z-index: 998;
    text-decoration: none;
}

    .em-whatsapp-btn:hover {
        transform: translateY(-5px) scale(1.1);
        box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
        color: white;
    }

    .em-whatsapp-btn::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        background: inherit;
        animation: em-pulse 2s infinite;
        z-index: -1;
    }

.em-call-btn {
    position: fixed;
    bottom: 100px;
    left: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--em-primary), var(--em-secondary));
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 6px 20px rgba(45, 80, 22, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: var(--em-transition);
}

    .em-call-btn:hover {
        transform: translateY(-5px) scale(1.1);
        box-shadow: 0 8px 30px rgba(45, 80, 22, 0.6);
        color: white;
    }

    .em-call-btn::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        background: inherit;
        animation: em-pulse 2s infinite;
        z-index: -1;
    }

@media (max-width: 768px) {

    .em-whatsapp-btn,
    .em-call-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 80px;
    }

    .em-whatsapp-btn {
        right: 20px;
    }

    .em-call-btn {
        left: 20px;
    }
}

#backToTopBtn {
    bottom: 30px !important;
}

@media screen and (max-width: 768px){
    #backToTopBtn{
        bottom: 20px!important;
        right: 20px!important;
    }
}

/* ============================================
   19. MASONRY GALLERY
   ============================================ */
.em-masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    grid-auto-flow: dense;
}

.em-masonry-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--em-shadow);
    transition: var(--em-transition);
    cursor: pointer;
    position: relative;
}

/* Horizontal images - wider */
.em-masonry-horizontal {
    aspect-ratio: 16/9;
    grid-column: span 1;
}

/* Vertical images - taller */
.em-masonry-vertical {
    aspect-ratio: 3/4;
    grid-row: span 2;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .em-masonry-horizontal:nth-child(3n+1) {
        grid-column: span 2;
    }

    .em-masonry-vertical:nth-child(5n+1),
    .em-masonry-vertical:nth-child(5n+3) {
        grid-row: span 2;
    }
}

.em-masonry-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--em-shadow-hover);
}

.em-masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============================================
   20. LIGHTBOX
   ============================================ */
.em-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

    .em-lightbox.active {
        display: flex;
    }

.em-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: em-fadeInUp 0.3s ease-out;
}

.em-lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.em-lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: var(--em-white);
    color: var(--em-dark);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--em-transition);
}

    .em-lightbox-close:hover {
        background: var(--em-accent);
        color: var(--em-white);
        transform: rotate(90deg);
    }

.em-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: var(--em-white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--em-transition);
    backdrop-filter: blur(10px);
}

    .em-lightbox-nav:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: translateY(-50%) scale(1.1);
    }

.em-lightbox-prev {
    left: 20px;
}

.em-lightbox-next {
    right: 20px;
}

/* ============================================
   21. ENDLESS SLIDER
   ============================================ */
.em-slider-section {
    position: relative;
    margin: 0;
}

.em-slider-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.em-slider-track {
    display: flex;
    animation: em-slide-infinite 30s linear infinite;
    width: fit-content;
}

.em-slide {
    flex: 0 0 auto;
    width: 300px;
    height: 200px;
    margin-right: 1.5rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--em-shadow);
    transition: var(--em-transition);
}

    .em-slide:hover {
        transform: scale(1.05);
        box-shadow: 0 10px 30px var(--em-shadow-hover);
    }

    .em-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

@keyframes em-slide-infinite {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Pause on hover */
.em-slider-wrapper:hover .em-slider-track {
    animation-play-state: paused;
}
