/* ===================================
   VIVONA GLOBAL PARTNERS - Main CSS
   =================================== */

/* CSS Variables - Renk Paleti */
:root {
    --primary-green: #2C5F2D;        /* Koyu Yeşil - Logo yaprak */
    --secondary-green: #97BC62FF;    /* Açık Yeşil - Logo yaprak */
    --primary-teal: #1B4D5C;         /* Petrol Mavisi - Logo şerit */
    --primary-brown: #4A3428;        /* Kahverengi - VIVONA yazısı */
    --light-bg: #F8F9FA;             /* Açık arka plan */
    --white: #f2eee5;
    --dark-text: #212529;
    --gray-text: #6C757D;
    --border-color: #DEE2E6;

    /* Typography */
    --font-primary: 'Montserrat', sans-serif;

    /* Spacing */
    --section-padding: 80px 0;
    --section-padding-mobile: 50px 0;

    /* Transitions */
    --transition: all 0.3s ease;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
}

/* ===================================
   Global Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark-text);
    background-color: var(--white);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary-brown);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--dark-text);
}

a {
    color: var(--primary-green);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-teal);
}

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

section {
    padding: var(--section-padding);
}

.container-custom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===================================
   Buttons
   =================================== */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    color: var(--white);
    padding: 14px 35px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    display: inline-block;
    box-shadow: var(--shadow-md);
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-outline-custom {
    background: var(--white);
    color: var(--primary-green);
    padding: 14px 35px;
    border-radius: 50px;
    border: 2px solid var(--white);
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    display: inline-block;
    box-shadow: var(--shadow-md);
}

.btn-outline-custom:hover {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ===================================
   Navigation / Header
   =================================== */
.main-header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.main-header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand img {
    max-height: 60px;
    width: auto;
}

.navbar-nav .nav-link {
    color: var(--primary-brown);
    font-weight: 500;
    padding: 0.5rem 1.2rem;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-green);
}

/* Alt çubuk efekti - sadece dropdown olmayan linkler için */
.navbar-nav .nav-link:not(.dropdown-toggle)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: var(--transition);
}

.navbar-nav .nav-link:not(.dropdown-toggle):hover::after,
.navbar-nav .nav-link:not(.dropdown-toggle).active::after {
    width: 60%;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    padding: 0.5rem 0;
}

.dropdown-item {
    padding: 0.7rem 1.5rem;
    color: var(--dark-text);
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--light-bg);
    color: var(--primary-green);
}

/* Dropdown Toggle Arrow */
.dropdown-toggle::after {
    transition: transform 0.3s ease;
}

.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

/* Mobile Dropdown Styles */
@media (max-width: 991px) {
    .dropdown-menu {
        border: none;
        box-shadow: none;
        background: rgba(248, 249, 250, 0.95);
        border-radius: 0;
        padding: 0;
        margin-top: 0.5rem;
        width: 100%;
    }

    .dropdown-item {
        padding: 0.8rem 2rem;
        font-size: 0.95rem;
        border-left: 3px solid transparent;
    }

    .dropdown-item:hover,
    .dropdown-item:focus {
        background: var(--primary-green);
        color: var(--white);
        border-left-color: var(--secondary-green);
    }

    .navbar-nav .dropdown {
        margin-bottom: 0.5rem;
    }

    .navbar-nav .nav-link {
        padding: 0.8rem 1rem;
    }

    .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
}

/* ===================================
   Hero Section
   =================================== */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgb(118 131 64 / 45%) 0%, rgb(27 77 92 / 55%) 100%), url(../images/slider-1.png) center / cover no-repeat;
    color: var(--white);
    text-align: center;
    padding: 70px 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
}

.hero-content .subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 300;
    color: rgba(255,255,255,0.95);
    animation: fadeInUp 1.2s ease;
}

.hero-content .hero-buttons {
    margin-top: 2.5rem;
    animation: fadeInUp 1.4s ease;
}

.hero-content .hero-buttons .btn {
    margin: 0.5rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   Section Titles
   =================================== */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-brown);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--secondary-green));
    border-radius: 2px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--dark-text);
    max-width: 700px;
    margin: 1.5rem auto 0;
}

/* ===================================
   Service Cards
   =================================== */
.service-card {
    background: #f2eee5;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--primary-green);
}

.service-card .icon {
    font-size: 3.5rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .icon {
    color: var(--secondary-green);
    transform: scale(1.1);
}

.service-card h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-brown);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--dark-text);
    line-height: 1.7;
}

/* ===================================
   Stats Section
   =================================== */
.stats-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-teal) 100%);
    color: var(--white);
    padding: 60px 0;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-item .stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.stat-item .stat-label {
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255,255,255,0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================================
   Feature Section
   =================================== */
.feature-box {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f2eee5;
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid #fff;
}

.feature-box:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.feature-box .icon {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.feature-box .content h5 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-brown);
}

.feature-box .content p {
    font-size: 0.95rem;
    color: var(--dark-text);
    margin-bottom: 0;
}

/* ===================================
   Product Category Cards (JM Pack Style)
   =================================== */
.product-category-card {
    display: block;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    text-decoration: none;
    height: 350px;
}

.product-category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-cat-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.product-cat-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-category-card:hover .product-cat-image img {
    transform: scale(1.1);
}

.product-cat-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
                rgba(0,0,0,0.1) 0%,
                rgba(44, 95, 45, 0.4) 50%,
                rgba(27, 77, 92, 0.85) 100%);
    transition: all 0.4s ease;
}

.product-category-card:hover .product-cat-image::after {
    background: linear-gradient(180deg,
                rgba(0,0,0,0.2) 0%,
                rgba(44, 95, 45, 0.6) 50%,
                rgba(27, 77, 92, 0.95) 100%);
}

.product-cat-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    z-index: 2;
}

.product-cat-content h3 {
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.product-cat-content .view-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    padding: 0.7rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.product-category-card:hover .view-btn {
    background: var(--secondary-green);
    border-color: var(--secondary-green);
    transform: translateX(5px);
}

.product-category-card:hover .view-btn i {
    transform: translateX(5px);
}

.product-cat-content .view-btn i {
    transition: transform 0.3s ease;
}

/* ===================================
   Product Cards
   =================================== */
.product-card {
    background: #FBFBF6;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--primary-green);
}

.product-card .product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: var(--light-bg);
}

.product-card .product-body {
    padding: 1.5rem;
}

.product-card .product-category {
    color: var(--primary-green);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.product-card h5 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-brown);
}

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

/* ===================================
   Blog Cards
   =================================== */
.blog-card {
    background: #FBFBF6;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--primary-green);
}

.blog-card .blog-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: var(--light-bg);
}

.blog-card .blog-body {
    padding: 1.5rem;
}

.blog-card .blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--dark-text);
}

.blog-card .blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.blog-card h3,
.blog-card h5 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--primary-brown);
    line-height: 1.4;
}

.blog-card p {
    font-size: 0.95rem;
    color: var(--dark-text);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-card .read-more {
    color: var(--primary-green);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-card .read-more:hover {
    gap: 0.8rem;
}

/* ===================================
   Forms
   =================================== */
.form-control {
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(44, 95, 45, 0.15);
}

.form-label {
    font-weight: 600;
    color: var(--primary-brown);
    margin-bottom: 0.5rem;
}

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

/* ===================================
   Certificate Cards
   =================================== */
.certificate-card {
    background: #FBFBF6;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.certificate-card:hover {
    border: 3px solid var(--primary-green);
    box-shadow: var(--shadow-md);
}

.certificate-card .cert-icon {
    font-size: 4rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.certificate-card h5 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-brown);
}

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

/* ===================================
   Coming Soon Badge
   =================================== */
.coming-soon-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-green), var(--primary-green));
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

/* ===================================
   Footer
   =================================== */
.main-footer {
    background: var(--primary-brown);
    color: rgba(255,255,255,0.9);
    padding: 60px 0 20px;
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-section h5 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-section p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-section ul li a:hover {
    color: var(--secondary-green);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

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

.social-links a:hover {
    background: var(--primary-green);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    margin-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 991px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .hero-content h1 { font-size: 2.5rem; }
    .hero-content .subtitle { font-size: 1.1rem; }

    section { padding: var(--section-padding-mobile); }

    .navbar-nav .nav-link { padding: 0.7rem 1rem; }

    .service-card,
    .product-card,
    .blog-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .hero-content h1 { font-size: 2rem; }
    .hero-content .subtitle { font-size: 1rem; }

    .btn-primary-custom,
    .btn-outline-custom {
        padding: 12px 25px;
        font-size: 14px;
    }

    .section-title h2 { font-size: 1.75rem; }

    .stat-item .stat-number { font-size: 2.5rem; }

    .footer-section { margin-bottom: 2.5rem; }

    .product-category-card {
        height: 300px;
    }

    .product-cat-content h3 {
        font-size: 1.3rem;
    }

    .product-cat-content {
        padding: 1.5rem;
    }
}

/* ===================================
   Utility Classes
   =================================== */
.bg-light-green {
    background: #E0C9A7;
}

.text-primary-green {
    color: var(--primary-green);
}

.text-secondary-green {
    color: var(--secondary-green);
}

.text-primary-teal {
    color: var(--primary-teal);
}

.mb-5 { margin-bottom: 3rem; }
.mt-5 { margin-top: 3rem; }
.py-5 { padding: 3rem 0; }

/* Image Box - Kutulu Görsel */
.image-box {
    border: 3px solid var(--primary-green);
    border-radius: 12px;
    padding: 15px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.image-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
    border-color: var(--secondary-green);
}

.image-box img {
    border-radius: 8px;
    width: 100%;
    display: block;
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}
