:root {
    --primary-color: #222; /* Dark sleek black */
    --accent-color: #d32f2f; /* Farmasi Red */
    --bg-color: #f9f9f9;
    --card-bg: #ffffff;
    --text-color: #333;
    --text-light: #666;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 20px rgba(0,0,0,0.1);
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

/* --- NAVIGATION --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.desktop-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.desktop-menu a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
}

.desktop-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.desktop-menu a:hover::after {
    width: 100%;
}

.menu-icon {
    display: none;
    cursor: pointer;
}

/* Mobile Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    height: 100vh;
    width: 280px;
    background: white;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    padding: 20px;
    list-style: none;
    transition: 0.4s ease;
    z-index: 1100;
}

.sidebar.active {
    right: 0;
}

.sidebar li {
    margin: 15px 0;
}

.sidebar a {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    display: block;
}

.close-icon {
    align-self: flex-end;
    margin-bottom: 30px;
    cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
    margin-top: 80px; /* Nav height */
    height: 60vh;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.hero-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%; /* Adjust focal point */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.1));
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: white;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
}

.cta-button:hover {
    background: #b71c1c;
    transform: translateY(-2px);
}

/* --- MAIN CONTAINER (Grid) --- */
.main-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* Content wide, Form narrow */
    gap: 40px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    align-items: start;
}

/* --- CONTENT COLUMN --- */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.info-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
    border-left: 4px solid transparent;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.highlight-card {
    border-left: 4px solid var(--accent-color);
    background: #fffcfc;
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.info-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-light);
}

/* Earnings Section */
.earnings-section {
    text-align: center;
    margin-bottom: 50px;
}

.section-header {
    margin-bottom: 20px;
}

.subtitle {
    color: var(--accent-color);
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.lead-text {
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.7;
    color: var(--text-light);
}

.image-showcase {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.showcase-item img {
    max-width: 100%;
    width: 400px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

/* Catalog Banner */
.catalog-banner {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

.catalog-banner img {
    width: 100%;
    display: block;
    transition: 0.3s;
}

.catalog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.catalog-overlay span {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border: 2px solid white;
    padding: 10px 20px;
}

.catalog-banner:hover .catalog-overlay {
    opacity: 1;
}

.catalog-banner:hover img {
    transform: scale(1.05);
}

/* --- FORM COLUMN --- */
.form-column {
    position: sticky;
    top: 100px; /* Sticks when scrolling */
}

.form-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border-top: 5px solid var(--primary-color);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    color: var(--text-light);
    font-size: 1rem;
    letter-spacing: 2px;
}

.form-header h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 5px 0;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.input-group input, 
.input-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fcfcfc;
    font-size: 1rem;
    transition: 0.3s;
}

.input-group input:focus, 
.input-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 0.85rem;
    line-height: 1.4;
}

.checkbox-group input {
    margin-top: 3px;
    accent-color: var(--accent-color);
}

button#sendButton {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

button#sendButton:hover {
    background: black;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* --- FOOTER --- */
footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 20px;
    margin-top: 80px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo img {
    width: 180px;
    filter: brightness(0) invert(1); /* Make logo white */
}

.footer-info h3 {
    color: #888;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.footer-info h2 {
    font-size: 1.8rem;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-btn {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.social-btn svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.social-btn:hover {
    background: white;
    transform: translateY(-5px);
}

.social-btn.insta:hover svg { fill: #E1306C; }
.social-btn.whatsapp:hover svg { fill: #25D366; }

/* Floating Whatsapp */
.glowingWhatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
}

.glowingWhatsapp a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: 0.3s;
    animation: pulse 2s infinite;
}

.glowingWhatsapp svg {
    width: 35px;
    fill: white;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .hero h1 { font-size: 2.5rem; }
    .main-container { gap: 30px; }
}

@media (max-width: 850px) {
    .desktop-menu { display: none; }
    .menu-icon { display: block; }
    
    .main-container {
        grid-template-columns: 1fr; /* Stack content */
    }

    .form-column {
        order: -1; /* Move form to top on mobile */
        position: relative;
        top: 0;
    }

    .hero { height: 50vh; }
    .hero-content h1 { font-size: 2rem; }
}

@media (max-width: 480px) {
    .hero-content { left: 20px; right: 20px; text-align: center; }
    .cta-button { width: 100%; text-align: center; }
    .glowingWhatsapp { bottom: 20px; right: 20px; }
}

/* --- MODAL (POP-UP) STİLLERİ --- */

/* 1. Arka Plan (Başlangıçta gizli) */
.modal-overlay {
    display: none; /* EN ÖNEMLİ KISIM: Başlangıçta gizler */
    position: fixed; /* Sayfanın üzerine sabitler */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Arkadaki siteyi karartır */
    z-index: 9999; /* En üstte durmasını sağlar */
    justify-content: center; /* Yatay ortalama */
    align-items: center; /* Dikey ortalama */
}

/* 2. Beyaz Kutu */
.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
    animation: fadeIn 0.3s ease-in-out;
}

/* 3. İkon Boyutu */
.modal-icon svg {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

/* 4. Başlık ve Yazı */
.modal-content h2 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.modal-content p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* 5. Kapatma Butonu */
.close-btn {
    background-color: #48752C; /* Farmasi Yeşili */
    color: white;
    border: none;
    padding: 10px 30px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.close-btn:hover {
    background-color: #3a5e23;
}

/* Açılış Animasyonu */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}