* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #10b981;
    --primary-dark: #059669;
    --dark-slate: #1e293b;
    --light-slate: #475569;
    --gray-50: #f8faf;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-600: #64748b;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #ffffff;
    color: var(--dark-slate);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==================== HEADER & NAVIGATION ==================== */
header {
    position: fixed;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    padding: 0.75rem 0;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-slate);
    z-index: 1001;
    transition: transform 0.3s ease;
    margin-left: 50px;
}

.logo:hover {
    transform: scale(1.02);
}

.logo img {
    height: 85px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.brand-logo {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    gap: 5px;
    padding: 8px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-slate);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 3px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--light-slate);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-dark));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: var(--primary-green);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary-green);
    font-weight: 600;
}

.nav-links a.active::after {
    width: 100%;
}

.header-social-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 45px;
    padding-left: 25px;
    border-left: 2px solid var(--gray-200);
}

.nav-icon {
    font-size: 1.6rem;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-decoration: none;
    display: flex;
    align-items: center;
}


.nav-icon:hover {
    transform: translateY(-3px) scale(1.1);
}

.nav-icon.twitter i {
    color: #000000 !important;
}

.instagram {
    color: #E1306C !important;
}

.facebook {
    color: #1877F2 !important;
}

.twitter {
    color: #1DA1F2 !important;
}

body.contact-page-bg {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.50), rgba(30, 41, 59, 0.88)),
        url('image/1.png');
    background-size: cover;
    min-height: 100vh;
}

.page-bg .contact-form-container,
.contact-page-bg .contact-card {
    background: white;
    box-shadow: var(--shadow-xl);
    
}
.contact-page-bg .contact-form-container,
.contact-page-bg .contact-card h3{
    text-align: center;
}


/* ==================== HERO SECTION ==================== */
.hero {
    margin-top: 85px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.30), rgba(30, 41, 59, 0.88)),
        url('image/1.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 8rem 2rem;
    border-radius: 0 0 40px 40px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(16, 185, 129, 0.1), transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;

}

@media (min-width: 769px) {
    .hero-content {
        margin-left: 250px;
    }
}

.hero-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.15);
    color: #6ee7b7;
    padding: 0.6rem 1.4rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(16, 185, 129, 0.3);
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    max-width: 850px;
    font-weight: 700;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    max-width: 650px;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s ease 0.6s backwards;
}

.btn {
    padding: 1rem 2.2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::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:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
    background-color: white;
    color: var(--dark-slate);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* ==================== STATS SECTION ==================== */
.stats {
    max-width: 1400px;
    margin: -60px auto 5rem;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 10;
}

.stat-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.stat-value {
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================== PRODUCT SECTIONS ==================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-image {
    width: 100%;
    height: 286px;
    background-color: #ffffff;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
}

.product-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-image:hover img {
    transform: scale(1.05);
}

/* ==================== KURUMSAL PAGE ==================== */
.kurumsal-hero {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.93), rgba(30, 41, 59, 0.9)),
        url('image/kurumsal-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 6rem 2rem;
    border-radius: 0 0 50px 50px;
    min-height: 65vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.kurumsal-text {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.15rem;
    line-height: 2;
    white-space: pre-wrap;
    max-width: 950px;
    margin: 2rem auto 0;
    text-align: left;
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==================== CONTACT PAGE ==================== */
.contact-wrapper-triple {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.contact-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-100);
}
.contact-form-container:hover{
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    color: var(--dark-slate);
    font-weight: 600;
    font-size: 0.9rem;
    text-align: left;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-family: inherit;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.contact-card {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-dark));
    color: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
}

.contact-link {
    display: block;
    padding: 14px;
    background: var(--gray-50);
    border-radius: 12px;
    text-decoration: none;
    color: var(--dark-slate);
    font-weight: 600;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.contact-link:hover {
    background: var(--gray-100);
    transform: translateX(5px);
}

.contact-link.whatsapp {
    background: #dcfce7;
    color: #166534;
    border-color: #86efac;
}

.contact-link.whatsapp:hover {
    background: #bbf7d0;
}

.hour-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.9rem;
}

/* ==================== FOOTER ==================== */
.footer {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
    padding: 4rem 2rem 2rem;
    margin-top: 5rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-dark));
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
}

.footer-about h3,
.footer-contact h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-green);
    font-weight: 700;
}

.footer-about p {
    line-height: 1.8;
    color: #cbd5e1;
    font-size: 0.95rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.2rem;
    color: #cbd5e1;
    transition: all 0.3s ease;
}

.contact-item:hover {
    color: white;
    transform: translateX(5px);
}

.contact-item i {
    width: 25px;
    text-align: center;
    font-size: 1.2rem;
    color: var(--primary-green);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
}

/* ==================== BACK TO TOP ==================== */
#backToTop {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1001;
    border: none;
    outline: none;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-dark));
    color: white;
    cursor: pointer;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 1.3rem;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
}

#backToTop:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.4);
}

/* ==================== KATALOG POPUP ==================== */
.katalog-menu-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--light-slate);
    transition: color 0.3s;
}

.katalog-menu-item:hover {
    color: var(--primary-green);
}

.popup-box {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: linear-gradient(135deg, var(--primary-green), var(--primary-dark));
    color: white !important;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
}

.popup-box::after {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 7px 7px 7px;
    border-style: solid;
    border-color: transparent transparent var(--primary-green) transparent;
}

.katalog-menu-item:hover .popup-box {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 968px) {
    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin: -40px auto 3rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .contact-wrapper-triple {
        grid-template-columns: 1fr;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .logo img {
        height: 65px;
        max-width: 200px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 300px;
        background-color: white;
        flex-direction: column;
        padding: 120px 2rem 2rem;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        gap: 0;
        align-items: flex-start;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--gray-100);
    }

    .nav-links a {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
    }

    .header-social-group {
        margin-left: 0;
        padding: 25px 0 0 0;
        border-left: none;
        border-top: 2px solid var(--gray-200);
        width: 100%;
        justify-content: center;
        gap: 25px;
    }

    .header-social-group .nav-icon {
        font-size: 2.2rem !important;
    }

    .hero {
        margin-top: 75px;
        padding: 5rem 1.5rem;
        border-radius: 0 0 25px 25px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .stats {
        grid-template-columns: 1fr;
        margin: -30px auto 2rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .popup-box {
        display: none;
    }

    #backToTop {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .stat-value {
        font-size: 2.2rem;
    }

    .logo img {
        height: 55px;
    }
}

.header-social-group .nav-icon i {
    font-size: 2rem !important;
}