/*
Theme Name: Oktilcal - Eye Care Clinic
Theme URI: https://example.com
Description: Professional responsive WordPress theme
Author: Oktilcal
Version: 1.0.0
License: GPL v2 or later
Text Domain: oktilcal
*/

:root {
    --primary-color: #2d5f46;
    --accent-color: #00c4a3;
    --text-color: #333333;
    --secondary-text: #666666;
    --light-bg: #f8f8f8;
    --white: #ffffff;
    --border-color: #eeeeee;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', '-apple-system', 'BlinkMacSystemFont', sans-serif; color: var(--text-color); background: var(--white); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-color); text-decoration: none; transition: all 0.3s ease; }
a:hover { color: var(--accent-color); }

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

header.site-header {
    background: var(--white);
    padding: 15px 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.site-logo { display: flex; align-items: center; gap: 12px; color: var(--primary-color); font-weight: bold; }
.logo-icon { width: 40px; height: 40px; border: 2px solid var(--primary-color); display: flex; align-items: center; justify-content: center; }

.site-nav ul { display: flex; list-style: none; gap: 30px; }
.site-nav a { color: var(--text-color); font-weight: 500; transition: color 0.3s ease; }
.site-nav a:hover { color: var(--primary-color); }

.menu-toggle { display: none; background: none; border: none; font-size: 24px; color: var(--primary-color); cursor: pointer; }

.header-contact { display: flex; align-items: center; gap: 15px; font-size: 13px; }
.contact-icon { width: 35px; height: 35px; background: var(--light-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary-color); }

.hero-slider { position: relative; width: 100%; height: 600px; overflow: hidden; background: #f5f5f5; }
.slider-wrapper { position: relative; width: 100%; height: 100%; }
.slide { position: absolute; width: 100%; height: 100%; opacity: 0; transition: opacity 0.8s ease; display: flex; align-items: center; }
.slide.active { opacity: 1; z-index: 2; }
.slide-background { position: absolute; width: 100%; height: 100%; background-size: cover; background-position: center; }
.slide-content { position: relative; z-index: 3; padding: 60px 40px; max-width: 600px; }
.slide-content h1 { font-size: 42px; font-weight: bold; margin-bottom: 30px; color: var(--primary-color); }
.slide-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--primary-color); color: var(--white); padding: 14px 32px; border-radius: 30px; border: none; cursor: pointer; transition: all 0.3s ease; }
.slide-btn:hover { background: #1e4433; transform: translateX(5px); }

.slider-nav { position: absolute; right: 40px; top: 50%; transform: translateY(-50%); display: flex; gap: 15px; z-index: 10; }
.slider-btn { width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,0.9); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--primary-color); transition: all 0.3s ease; }
.slider-btn:hover { background: var(--white); transform: scale(1.1); }

.slider-indicators { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
.indicator { width: 12px; height: 12px; border-radius: 50%; background: #ccc; cursor: pointer; transition: all 0.3s ease; }
.indicator.active { background: var(--primary-color); width: 30px; border-radius: 6px; }

.modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-content { background: var(--white); margin: 5% auto; padding: 40px; border-radius: 10px; width: 90%; max-width: 500px; box-shadow: 0 10px 40px rgba(0,0,0,0.3); animation: slideDown 0.3s ease; position: relative; }
@keyframes slideDown { from { transform: translateY(-50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.modal-close { position: absolute; right: 20px; top: 15px; font-size: 32px; font-weight: bold; color: var(--primary-color); background: none; border: none; cursor: pointer; }
.modal-content h2 { color: var(--primary-color); margin-bottom: 25px; font-size: 28px; }

.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--text-color); font-size: 14px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 15px; border: 2px solid var(--border-color); border-radius: 6px; font-size: 14px; transition: all 0.3s ease; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(45,95,70,0.1); }

.btn-submit { width: 100%; padding: 14px 20px; background: var(--primary-color); color: var(--white); border: none; border-radius: 30px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; }
.btn-submit:hover { background: #1e4433; }
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; }

section { padding: 60px 0; }
section.light-bg { background: var(--light-bg); }
.section-title { font-size: 36px; font-weight: bold; margin-bottom: 20px; color: var(--primary-color); text-align: center; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.service-card { background: var(--white); padding: 30px; border-radius: 10px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,0.08); transition: all 0.3s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.service-icon { font-size: 48px; color: var(--accent-color); margin-bottom: 20px; }

.cta-section { background: var(--primary-color); color: var(--white); padding: 60px 40px; border-radius: 10px; margin: 60px 0; text-align: center; }
.cta-section h2 { font-size: 32px; margin-bottom: 25px; }
.btn-cta { background: var(--accent-color); padding: 16px 40px; font-size: 18px; display: inline-block; }
.btn-cta:hover { background: #00a88a; }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; margin-top: 40px; }
.blog-card { background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.08); transition: all 0.3s ease; }
.blog-card:hover { transform: translateY(-5px); }
.blog-image { width: 100%; height: 220px; object-fit: cover; }
.blog-content { padding: 25px; }

.site-footer { background: var(--primary-color); color: var(--white); padding: 50px 0 20px; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-widget h3 { font-size: 18px; margin-bottom: 20px; }
.footer-widget ul { list-style: none; }
.footer-widget li { margin-bottom: 12px; }
.footer-widget a { color: rgba(255,255,255,0.8); }

@media (max-width: 768px) {
    .site-nav { display: none; }
    .site-nav.active { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--white); padding: 20px; z-index: 99; }
    .menu-toggle { display: block; }
    .hero-slider { height: 350px; }
    .slide-content h1 { font-size: 28px; }
    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-slider { height: 280px; }
    .slide-content h1 { font-size: 22px; }
    section { padding: 40px 0; }
    .modal-content { width: 95%; padding: 20px 15px; }
}
