/* Modern Professional Beauty Salon Design */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #c9a961;
    --primary-dark: #a88a4d;
    --primary-light: #e8d9b8;
    --secondary: #2d2d2d;
    --accent: #f5f1ea;
    --dark: #1a1a1a;
    --light: #ffffff;
    --text: #333333;
    --text-light: #666666;
    --border: #e5e5e5;
    --success: #4caf50;
    --error: #f44336;
    --shadow: 0 10px 40px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: var(--light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
}

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

a {
    -webkit-tap-highlight-color: transparent;
}

button {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark);
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Top Bar */
.top-bar {
    background: var(--secondary);
    color: var(--light);
    padding: 12px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left, .top-bar-right {
    display: flex;
    gap: 30px;
    align-items: center;
}

.top-bar a {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s;
}

.top-bar a:hover {
    color: var(--primary);
}

/* Navigation */
.navbar {
    background: var(--light);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    position: relative;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--secondary);
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle:hover {
    color: var(--primary);
}

.logo-image {
    max-height: 70px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.logo-highlight {
    color: var(--secondary);
}

.logo span {
    color: var(--secondary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 45px;
    align-items: center;
}

.nav-menu a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s;
    position: relative;
    padding: 8px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--light) !important;
    padding: 12px 30px !important;
    border-radius: 50px;
    font-weight: 600;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 169, 97, 0.3);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f5f1ea 0%, #ffffff 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(201,169,97,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 64px;
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-text h1 .highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero-text p {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--light);
    box-shadow: 0 8px 25px rgba(201, 169, 97, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(201, 169, 97, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: var(--light);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
}

.btn-dark {
    background: linear-gradient(135deg, #2d3748, #1a202c);
    color: var(--light);
    box-shadow: 0 8px 25px rgba(45, 55, 72, 0.3);
}

.btn-dark:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(45, 55, 72, 0.4);
}

.btn-outline-gold {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.2);
}

.btn-outline-gold:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 169, 97, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.btn-outline:hover {
    background: var(--secondary);
    color: var(--light);
}

.hero-image {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201,169,97,0.2), transparent);
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}

.hero-stats {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--light);
    padding: 30px 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    gap: 50px;
    z-index: 2;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 5px;
}

/* Features Section */
.features {
    padding: 120px 0;
    background: var(--light);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-subtitle {
    color: var(--primary);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 48px;
    margin-bottom: 20px;
}

.section-description {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--light);
    border-radius: 20px;
    transition: all 0.4s ease;
    border: 1px solid var(--border);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

/* Services Section */
.services {
    padding: 120px 0;
    background: var(--accent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    background: var(--light);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
}

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

.service-image {
    height: 280px;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.service-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(255,255,255,1), transparent);
}

.service-content {
    padding: 35px;
}

.service-content h3 {
    font-size: 26px;
    margin-bottom: 15px;
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.8;
}

.service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.service-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
}

.service-duration {
    color: var(--text-light);
    font-size: 14px;
}

/* CTA Section */
.cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
    color: var(--light);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201,169,97,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 42px;
    color: var(--light);
    margin-bottom: 25px;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--secondary);
    color: var(--light);
    padding: 80px 0 30px;
}

.footer .container {
    max-width: 1320px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-about {
    flex: 0 0 25%;
}

.footer-about h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 28px;
}

.footer-about p {
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    text-decoration: none;
    transition: all 0.3s;
}

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

.footer-section {
    flex: 0 0 20%;
}

.footer-section h4 {
    color: var(--light);
    margin-bottom: 25px;
    font-size: 20px;
    font-weight: 600;
}

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

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li i {
    color: var(--primary);
    margin-right: 8px;
}

.footer-section a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-text h1 {
        font-size: 52px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .hero-text h1 {
        font-size: 42px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-about,
    .footer-section {
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-text h1 {
        font-size: 36px;
    }
    
    .features-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-about,
    .footer-section {
        flex: 1 1 100%;
    }
}

/* Page Hero Section */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--light);
    padding: 50px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.page-hero h1 {
    font-size: 42px;
    color: var(--light);
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.page-hero p {
    font-size: 16px;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

/* Page Section */
.page-section {
    padding: 80px 0;
}

.page-content {
    padding: 60px 0;
}

/* Login Container */
.login-container {
    max-width: 480px;
    margin: 80px auto;
    background: var(--light);
    padding: 50px;
    border-radius: 25px;
    box-shadow: var(--shadow-lg);
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.login-header p {
    color: var(--text-light);
}

.login-container .form-group {
    margin-bottom: 25px;
}

.login-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary);
}

.login-container input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
}

.login-container input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

/* Blog List */
.blog-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.blog-post {
    background: var(--light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
}

.blog-post:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.blog-post-image {
    height: 250px;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.blog-post-content {
    padding: 30px;
}

.blog-post-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.blog-post-content h3 a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s;
}

.blog-post-content h3 a:hover {
    color: var(--primary);
}

.post-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.post-excerpt {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}

.read-more:hover {
    gap: 12px;
}

/* Blog Post Single */
.blog-post-single {
    max-width: 900px;
    margin: 0 auto 40px;
    background: var(--light);
    padding: 50px;
    border-radius: 25px;
    box-shadow: var(--shadow);
}

.blog-post-single h1 {
    font-size: 42px;
    margin-bottom: 25px;
}

.blog-post-single .post-meta {
    margin-bottom: 35px;
}

.blog-post-single .post-content {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text);
}

/* Category Filter */
.category-filter {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 12px 30px;
    background: var(--light);
    border: 2px solid var(--border);
    border-radius: 50px;
    color: var(--secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--light);
    border-color: var(--primary);
}

/* Button Variants */
.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-secondary {
    background: var(--secondary);
    color: var(--light);
}

.btn-secondary:hover {
    background: var(--dark);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--light);
}

.btn-whatsapp:hover {
    background: #20BA5A;
}

/* Appointment Form */
.appointment-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.appointment-form {
    background: var(--light);
    padding: 50px;
    border-radius: 25px;
    box-shadow: var(--shadow);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-step h3 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--primary);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.service-info-box {
    background: var(--accent);
    padding: 25px;
    border-radius: 15px;
    margin-top: 20px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

.info-label {
    font-weight: 500;
}

.info-value {
    color: var(--primary);
    font-weight: 600;
}

.appointment-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    background: var(--light);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.info-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary);
}

.info-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 8px;
}

/* Product Detail */
.product-detail-image-top {
    max-width: 600px;
    margin: 0 auto 40px;
}

.product-detail-image-top img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.product-detail-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.product-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.product-description,
.product-content {
    background: var(--light);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.product-description h3,
.product-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--dark);
    font-weight: 600;
}

.product-description p,
.product-content div {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
}

.product-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.product-actions .btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

/* Alerts */
.alert {
    padding: 20px 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    font-weight: 500;
    position: relative;
}

.alert-dismissible {
    padding-right: 50px;
}

.alert-close {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: inherit;
    opacity: 0.5;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.alert-close:hover {
    opacity: 1;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid var(--success);
}

.alert-error {
    background: #ffebee;
    color: #c62828;
    border-left: 4px solid var(--error);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.product-card {
    background: var(--light);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.product-image {
    height: 220px;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.product-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.product-content h3 {
    font-size: 18px;
    margin: 0;
    line-height: 1.4;
    color: var(--dark);
    font-weight: 600;
}

.product-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

.product-content .btn-sm {
    padding: 10px 20px;
    font-size: 14px;
    margin-top: auto;
}

/* ============================================
   RESPONSIVE DESIGN - Mobile & Tablet
   ============================================ */

/* Tablet Landscape (max 1200px) */
@media (max-width: 1200px) {
    .container {
        padding: 0 24px;
    }
    
    .hero-text h1 {
        font-size: 52px;
    }
    
    .services-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet Portrait (max 968px) */
@media (max-width: 968px) {
    /* Navigation */
    .navbar .container {
        padding: 16px 20px;
    }
    
    .nav-menu {
        gap: 30px;
    }
    
    .nav-menu a {
        font-size: 14px;
    }
    
    /* Hero Section */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-text h1 {
        font-size: 42px;
    }
    
    .hero-text p {
        font-size: 16px;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Grids */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Forms */
    .appointment-container,
    .product-detail {
        grid-template-columns: 1fr;
    }
    
    /* Page Hero */
    .page-hero h1 {
        font-size: 36px;
    }
    
    /* Footer */
    .footer-content {
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .footer-about,
    .footer-section {
        flex: 0 0 calc(50% - 15px);
    }
}

/* Mobile (max 768px) */
@media (max-width: 768px) {
    /* Container */
    .container {
        padding: 0 16px;
    }
    
    /* Top Bar */
    .top-bar {
        font-size: 12px;
        padding: 8px 0;
    }
    
    .top-bar .container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .top-bar-left,
    .top-bar-right {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* Navigation - Mobile Menu */
    .navbar .container {
        padding: 12px 16px;
    }
    
    .logo {
        font-size: 24px;
    }
    
    .logo i {
        font-size: 20px;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--light);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        z-index: 1000;
        padding: 40px;
        animation: slideIn 0.3s ease;
    }
    
    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu a {
        font-size: 20px;
        padding: 12px 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-menu a::after {
        display: none;
    }
    
    /* Mobile Menu Toggle Button */
    .mobile-menu-toggle {
        display: block;
    }
    
    /* Hero Section */
    .hero {
        padding: 40px 0;
    }
    
    .hero-text h1 {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .hero-text p {
        font-size: 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    /* Section Headers */
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 13px;
    }
    
    .section-description {
        font-size: 14px;
    }
    
    /* Grids - Single Column */
    .services-grid,
    .features-grid,
    .products-grid,
    .blog-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Cards */
    .service-card,
    .feature-card,
    .product-card,
    .blog-card {
        padding: 20px;
    }
    
    /* Service Card */
    .service-meta {
        flex-direction: column;
        gap: 12px;
    }
    
    .service-meta .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Forms */
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px 14px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    /* Appointment Form */
    .appointment-form {
        padding: 24px 20px;
    }
    
    .appointment-info {
        margin-top: 30px;
    }
    
    /* Contact Page */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form-section {
        padding: 24px 20px;
    }
    
    /* Blog Post Single */
    .blog-post-single {
        padding: 30px 20px;
    }
    
    .blog-post-single h1 {
        font-size: 28px;
    }
    
    /* Service Image */
    .service-image {
        height: 200px;
    }
    
    /* Product Image */
    .product-image {
        height: 180px;
    }
    
    /* Blog Post Image */
    .blog-post-image {
        height: 200px;
    }
    
    /* Hero Image */
    .hero-image img {
        height: 400px;
    }
    
    /* Info Card */
    .info-card {
        padding: 20px;
    }
    
    /* Service Info Box */
    .service-info-box {
        padding: 20px;
    }
    
    /* Map Container */
    .map-container {
        height: 300px;
    }
    
    /* Social Links Large */
    .social-links-large {
        justify-content: center;
    }
    
    /* Alert */
    .alert {
        padding: 16px 20px;
        font-size: 14px;
    }
    
    /* Form Actions */
    .form-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .form-actions .btn {
        width: 100%;
    }
    
    /* Service Meta */
    .service-meta {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .service-meta .btn {
        width: 100%;
    }
    
    /* Touch Optimization */
    a, button, input, select, textarea {
        -webkit-tap-highlight-color: transparent;
    }
    
    button, .btn, a.btn {
        min-height: 44px;
        touch-action: manipulation;
    }
    
    /* Prevent Zoom on Input Focus (iOS) */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    input[type="date"],
    select,
    textarea {
        font-size: 16px !important;
    }
    
    /* Contact Form */
    .contact-form-section {
        padding: 24px 20px;
    }
    
    .contact-info-card {
        padding: 20px;
    }
    
    /* Product Detail */
    .product-detail-content {
        padding: 24px 20px;
    }
    
    /* Page Hero */
    .page-hero {
        padding: 35px 0 30px;
    }
    
    .page-hero h1 {
        font-size: 28px;
    }
    
    .page-hero p {
        font-size: 14px;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 50px 0;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .cta-content p {
        font-size: 14px;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-about,
    .footer-section {
        flex: 1 1 100%;
    }
    
    .footer-about,
    .footer-section {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-about,
    .footer-section {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Category Filter */
    .category-filter {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .category-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    /* Login Container */
    .login-container {
        padding: 30px 20px;
        margin: 30px 16px;
    }
    
    /* Logo */
    .logo-image {
        max-height: 50px;
    }
    
    .logo-text {
        font-size: 22px;
    }
    
    /* Product Actions - Mobile */
    .product-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .product-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Product Detail Image */
    .product-detail-image-top {
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .product-detail-image-top img {
        max-height: 350px;
    }
    
    /* Category Filter */
    .filter-btn {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    /* Stats Grid */
    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
    
    /* Admin Grid Layout */
    .admin-grid-layout {
        grid-template-columns: 1fr !important;
    }
    
    /* Table Container */
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .data-table {
        min-width: 600px;
    }
    
    /* Captcha Group */
    .captcha-question {
        padding: 12px 18px;
    }
    
    .captcha-number {
        font-size: 22px;
        min-width: 30px;
    }
    
    #captcha_answer {
        width: 70px;
    }
}

/* Small Mobile (max 480px) */
@media (max-width: 480px) {
    /* Typography */
    .hero-text h1 {
        font-size: 26px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    /* Buttons */
    .btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .btn-lg {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    /* Cards */
    .service-card,
    .feature-card,
    .product-card {
        padding: 16px;
    }
    
    /* Hero Stats */
    .stat-number {
        font-size: 28px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    /* Forms */
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
    }
    
    /* Logo */
    .logo {
        font-size: 20px;
    }
    
    .logo-image {
        max-height: 40px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    /* Product Actions - Extra Small */
    .product-actions .btn {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    /* Contact Info Card */
    .contact-info-card {
        padding: 16px;
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    /* Category Badge */
    .category-badge {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    /* Product Description/Content */
    .product-description,
    .product-content {
        padding: 20px;
    }
    
    .product-description h3,
    .product-content h3 {
        font-size: 18px;
    }
    
    /* Captcha - Small Mobile */
    .captcha-question {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        padding: 10px 15px;
    }
    
    .captcha-number {
        font-size: 20px;
    }
    
    #captcha_answer {
        width: 60px;
        font-size: 16px;
    }
    
    /* Table - Horizontal Scroll */
    .data-table {
        font-size: 13px;
    }
    
    .data-table th,
    .data-table td {
        padding: 10px 8px;
    }
    
    /* Action Buttons */
    .action-buttons {
        gap: 6px;
    }
    
    .btn-small {
        padding: 6px 10px;
        font-size: 12px;
    }
}

/* Landscape Mobile (max height 500px) */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 30px 0;
    }
    
    .hero-text h1 {
        font-size: 28px;
    }
    
    .page-hero {
        padding: 25px 0 20px;
    }
}


/* Blog İçerik Stilleri (CKEditor) */
.blog-content {
    line-height: 1.8;
    color: var(--text-primary);
}

.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6 {
    margin: 24px 0 16px 0;
    color: var(--dark);
    font-weight: 700;
}

.blog-content h1 { font-size: 32px; }
.blog-content h2 { font-size: 28px; }
.blog-content h3 { font-size: 24px; }
.blog-content h4 { font-size: 20px; }
.blog-content h5 { font-size: 18px; }
.blog-content h6 { font-size: 16px; }

.blog-content p {
    margin: 16px 0;
    line-height: 1.8;
}

.blog-content ul,
.blog-content ol {
    margin: 16px 0;
    padding-left: 32px;
}

.blog-content li {
    margin: 8px 0;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 24px 0;
    box-shadow: var(--shadow);
}

.blog-content blockquote {
    border-left: 4px solid var(--primary);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--light);
    border-radius: 8px;
    font-style: italic;
}

.blog-content a {
    color: var(--primary);
    text-decoration: underline;
    transition: color 0.3s;
}

.blog-content a:hover {
    color: var(--primary-dark);
}

.blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    box-shadow: var(--shadow);
    border-radius: 8px;
    overflow: hidden;
}

.blog-content table th,
.blog-content table td {
    padding: 12px 16px;
    border: 1px solid var(--border);
    text-align: left;
}

.blog-content table th {
    background: var(--primary);
    color: white;
    font-weight: 600;
}

.blog-content table tr:nth-child(even) {
    background: var(--light);
}

.blog-content code {
    background: var(--light);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: var(--error);
}

.blog-content pre {
    background: var(--dark);
    color: var(--light);
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 24px 0;
}

.blog-content pre code {
    background: transparent;
    color: var(--light);
    padding: 0;
}

.blog-content hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 32px 0;
}
