/* Font imports removed - using preload in HTML instead for better performance */

:root {
    --primary-color: #8E24AA; /* Mor */
    --secondary-color: #E53935; /* Kırmızı */
    --dark-color: #263238;   /* Koyu gri */
    --light-color: #ECEFF1;  /* Açık gri */
    --text-color: #37474F;
    --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-family-heading: 'Inter', -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --orange-accent: #AB47BC;
    --shadow-light: 0 2px 10px rgba(0,0,0,0.05);
    --shadow-medium: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-heavy: 0 10px 30px rgba(0,0,0,0.15);
    --border-radius: clamp(8px, 1vw, 12px);
    --container-padding: clamp(1rem, 3vw, 2rem);
}

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

html {
    scroll-behavior: smooth;
    font-size: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.6;
    background-color: #f9fffe;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(220, 38, 38, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(220, 38, 38, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(220, 38, 38, 0.05) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23dc2626' fill-opacity='0.02'%3E%3Cpath d='M30 10c5.5 0 10 4.5 10 10s-4.5 10-10 10-10-4.5-10-10 4.5-10 10-10zm0 2c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    color: var(--text-color);
    font-size: clamp(0.85rem, 2.2vw, 1rem);
    overflow-x: hidden;
}

.container {
    max-width: min(1400px, 100% - var(--container-padding) * 2);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

@media (max-width: 768px) {
    .container {
        max-width: 95%;
        padding: 0 1vw;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 { font-size: clamp(2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.6rem, 5vw, 3.5rem); text-align: center; margin-bottom: 3rem; }
h3 { font-size: clamp(1.3rem, 3.5vw, 2.2rem); }

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover, a:focus {
    color: var(--orange-accent);
}

ul {
    list-style: none;
}

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

/* Header - Sabit üst bar tüm sayfalarda */
header {
    background: linear-gradient(135deg, #FDD835, #FBC02D) !important;
    color: #333 !important;
    padding: 15px 0 !important;
    position: fixed !important;
    width: 100% !important;
    top: 0 !important;
    z-index: 1000 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    backdrop-filter: none !important;
}

header.scrolled {
    background: rgba(253, 216, 53, 0.98);
    box-shadow: var(--shadow-medium);
    padding: 0.5rem 0;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo, .logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(to right, #8E24AA, #AB47BC);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-icon {
    margin-right: 10px;
    font-size: 2rem;
    color: #8E24AA;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 35px;
}

.nav-links a {
    color: #333 !important;
    text-decoration: none;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 4px;
    transition: all 0.3s;
    font-size: 1rem;
    white-space: nowrap;
    min-width: auto;
}

.nav-links a:hover {
    background-color: rgba(0, 0, 0, 0.1) !important;
    color: #333 !important;
}

.menu-btn {
    display: none;
    color: #333;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1002;
    position: relative;
}

/* Hero Section */
#hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    color: var(--light-color);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    /* Default gradient background while video loads */
    background: linear-gradient(135deg, #8E24AA, #6A1B9A);
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    /* Mobile optimizations */
    -webkit-transform: translateX(-50%) translateY(-50%);
    will-change: transform;
    /* Smooth transition for video loading */
    transition: opacity 0.5s ease-in-out;
    opacity: 1;
}

/* Video loaded state */
#hero-video.video-ready {
    opacity: 1;
}

#hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -1;
}

/* Mobile: Remove dark overlay completely for better video visibility */
@media (max-width: 768px) {
    #hero::after {
        background: transparent;
    }
}

/* Video loading state - show beautiful gradient background */
#hero.video-loading {
    background: linear-gradient(135deg, #8E24AA, #6A1B9A, #AB47BC);
    background-size: 400% 400%;
    animation: gradientShift 3s ease infinite;
}

/* Video loaded state - hide gradient background */
#hero.video-loaded {
    background: transparent;
}

/* Hide video during loading */
#hero-video:not(.video-ready) {
    opacity: 0;
    display: none;
}

/* Show video when ready */
#hero-video.video-ready {
    opacity: 1;
    display: block;
    transition: opacity 0.8s ease-in-out;
}

/* Gradient animation for loading state */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-content {
    animation: fadeInUp 1.5s ease-out;
    max-width: 800px;
    padding: 0 var(--container-padding);
}

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

#hero h1 {
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    color: var(--light-color);
}

.hero-brand {
    color: var(--primary-color);
    font-weight: 900;
    font-size: 1.1em;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 1px 1px 4px rgba(0,0,0,0.7);
    letter-spacing: 1px;
    display: inline-block;
}

.hero-text-dark {
    color: var(--light-color);
}

#hero p {
    font-size: clamp(1rem, 2.8vw, 1.5rem);
    margin-bottom: 2rem;
    opacity: 0.95;
}

#hero p strong {
    color: var(--orange-accent);
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Button */
.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--light-color);
    padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 4vw, 2.5rem);
    border: none;
    border-radius: var(--border-radius);
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn:hover,
.btn:focus {
    background: #6A1B9A;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: var(--light-color);
}

/* Shop Intro Section */
#shop-intro {
    padding: clamp(4rem, 8vw, 6rem) 0;
}

.shop-intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: flex-start;
    background: #fff;
    padding: clamp(2rem, 5vw, 4rem);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

#shop-intro h2 {
    text-align: left;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.brand-highlight {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.1em;
    text-shadow: 1px 1px 2px rgba(229, 57, 53, 0.2);
    letter-spacing: 0.5px;
}

#shop-intro h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.shop-intro-text p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.shop-intro-text p strong {
    color: var(--primary-color);
    font-weight: 700;
}

.shop-intro-list {
    display: flex;
    align-items: flex-start;
}

.shop-intro-list ul {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    width: 100%;
    max-width: 100%;
}

.shop-intro-list ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.5;
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    margin-bottom: 0.5rem;
}

.shop-intro-list ul li i {
    color: var(--orange-accent);
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.intro-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.intro-item:hover {
    transform: translateX(10px);
}

.item-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.item-text {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    line-height: 1.4;
    transition: all 0.3s ease;
}

.item-text:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Services Section */
#services {
    padding: clamp(4rem, 8vw, 6rem) 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: clamp(1.5rem, 4vw, 2rem);
}

.service-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card img {
    margin-bottom: 1rem; /* 1 inch spacing between image and content */
}

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

.service-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

.service-card p {
    line-height: 1.6;
    opacity: 0.9;
    font-weight: 600;
}

/* Services indicator hidden by default (desktop) */
.services-indicator {
    display: none;
}

/* Values Section */
#values {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: linear-gradient(135deg, #f9fffe 0%, #f0f9ff 100%);
}

.values-subtitle {
    text-align: center;
    font-size: clamp(2rem, 6vw, 3.5rem);
    color: var(--dark-color);
    margin-bottom: 3rem;
    font-weight: 400;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: #fff;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-light);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: clamp(1.125rem, 3vw, 1.25rem);
    font-weight: 600;
    color: var(--dark-color);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.accordion-header:hover,
.accordion-header:focus {
    background: rgba(233, 57, 53, 0.05);
}

.accordion-header::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header::after {
    transform: translateY(-50%) rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content p {
    padding: 0 1.5rem 1.5rem;
    line-height: 1.7;
    opacity: 0.9;
}

/* CTA Section */
#cta {
    background: #263238;
    color: var(--light-color);
    text-align: center;
    padding: clamp(3rem, 6vw, 4rem) 0;
}

#cta h3 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

#cta p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-brand {
    color: var(--light-color);
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 1px;
}

#cta p strong {
    color: var(--primary-color);
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.cta-numbers a {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--light-color);
    background: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 0;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.cta-numbers a:hover,
.cta-numbers a:focus {
    background: #6A1B9A;
    transform: scale(1.05);
}

/* Homepage Comments Section - Modern Design */
#homepage-comments-section {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

#homepage-comments-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc2626, #ea580c, #f59e0b);
}

#homepage-comments-section .comments-section {
    margin: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border-top: none;
}

#homepage-comments-section .comments-section::before {
    display: none;
}

#homepage-comments-section .comment-form-container {
    max-width: 700px;
    margin: 0 auto 4rem auto;
    padding: 2.5rem;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(220, 38, 38, 0.1);
    position: relative;
}

#homepage-comments-section .comment-form-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #dc2626, #ea580c, #f59e0b);
    border-radius: 22px;
    z-index: -1;
    opacity: 0.1;
}

#homepage-comments-section .comments-title {
    text-align: center;
    margin-bottom: 2.5rem;
    color: #1e293b;
    font-size: 1.75rem;
    font-weight: 700;
}

#homepage-comments-section .comments-list-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Force modern styling for homepage comment form */
#homepage-comments-section .comment-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

#homepage-comments-section .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
    margin-bottom: 1rem;
}

#homepage-comments-section .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
}

#homepage-comments-section .form-group label {
    font-weight: 700;
    color: #1e293b;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

#homepage-comments-section .form-group input,
#homepage-comments-section .form-group textarea {
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    font-family: inherit;
    position: relative;
}

#homepage-comments-section .form-group input:focus,
#homepage-comments-section .form-group textarea:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 
        0 0 0 4px rgba(220, 38, 38, 0.1),
        0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

#homepage-comments-section .form-group textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

#homepage-comments-section .rating-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

#homepage-comments-section .rating-select {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

#homepage-comments-section .rating-select:hover {
    border-color: #dc2626;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

#homepage-comments-section .rating-select:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 
        0 0 0 4px rgba(220, 38, 38, 0.1),
        0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

#homepage-comments-section .rating-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#homepage-comments-section .rating-display .star {
    color: #fbbf24;
    font-size: 1.4rem;
    filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.3));
    transition: transform 0.2s ease;
}

#homepage-comments-section .rating-display .star:hover {
    transform: scale(1.1);
}

#homepage-comments-section .rating-display .star.empty {
    color: #d1d5db;
    filter: none;
}

#homepage-comments-section .rating-text {
    margin-left: 0.75rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
}

#homepage-comments-section .char-counter {
    font-size: 0.85rem;
    text-align: right;
    margin-top: 0.5rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

#homepage-comments-section .char-counter.success {
    color: #059669;
    background: rgba(5, 150, 105, 0.1);
}

#homepage-comments-section .char-counter.warning {
    color: #d97706;
    background: rgba(217, 119, 6, 0.1);
}

#homepage-comments-section .char-counter.error {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
}

#homepage-comments-section .submit-btn {
    background: linear-gradient(135deg, #dc2626 0%, #ea580c 50%, #f59e0b 100%);
    color: white;
    border: none;
    padding: 1.25rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    align-self: flex-end;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
    margin-left: auto;
}

#homepage-comments-section .submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

#homepage-comments-section .submit-btn:hover::before {
    left: 100%;
}

#homepage-comments-section .submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 20px 25px -5px rgba(220, 38, 38, 0.3),
        0 10px 10px -5px rgba(220, 38, 38, 0.2);
}

#homepage-comments-section .submit-btn:active {
    transform: translateY(-1px);
}

#homepage-comments-section .submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#homepage-comments-section .comment-message {
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border-left: 4px solid;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideIn 0.3s ease;
}

#homepage-comments-section .comment-message.success {
    background: linear-gradient(135deg, #d1fae5 0%, #ecfdf5 100%);
    border-color: #10b981;
    color: #065f46;
}

#homepage-comments-section .comment-message.error {
    background: linear-gradient(135deg, #fee2e2 0%, #fef2f2 100%);
    border-color: #ef4444;
    color: #991b1b;
}

/* Force modern comment items in homepage */
#homepage-comments-section .comment-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

#homepage-comments-section .comment-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #dc2626, #ea580c);
    border-radius: 2px;
}

#homepage-comments-section .comment-item:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(220, 38, 38, 0.2);
}

#homepage-comments-section .comment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

#homepage-comments-section .comment-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#homepage-comments-section .comment-content {
    color: #374151;
    line-height: 1.7;
    font-size: 1.05rem;
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: none;
    position: relative;
    white-space: pre-wrap;
}

#homepage-comments-section .comment-content::before {
    content: none;
}

/* Responsive design for homepage comments */
@media (max-width: 768px) {
    #homepage-comments-section {
        padding: 2rem 0;
    }
    
    #homepage-comments-section .comment-form-container {
        padding: 1.5rem;
        margin: 0 auto 3rem auto;
    }
    
    #homepage-comments-section .form-row {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
    }
    
    #homepage-comments-section .form-group input,
    #homepage-comments-section .form-group textarea {
        padding: 0.875rem 1rem;
    }
    
    #homepage-comments-section .rating-select {
        padding: 0.875rem 1rem;
    }
    
    #homepage-comments-section .submit-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
    }
    
    #homepage-comments-section .comment-item {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    #homepage-comments-section .comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    #homepage-comments-section .comment-content {
        padding: 1.25rem;
        font-size: 1rem;
    }
}

/* Contact Section */
#contact {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: linear-gradient(135deg, #f9fffe 0%, #f0f9ff 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
}

.contact-info h3 {
    margin-bottom: 2rem;
    text-align: center;
}

.contact-info address {
    font-style: normal;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.contact-info i {
    font-size: 1.2rem;
    color: var(--orange-accent);
    width: 20px;
    text-align: left;
}

.contact-info a {
    color: var(--text-color);
    transition: color 0.3s ease;
}

.contact-info a:hover,
.contact-info a:focus {
    color: var(--primary-color);
}

#map {
    height: 400px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    z-index: 1;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: var(--light-color);
    text-align: center;
    padding: 2rem 0;
}

.footer-logo-text {
    font-family: var(--font-family-heading);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--light-color);
    letter-spacing: 1px;
    margin-bottom: 1rem;
    opacity: 0.95;
}

/* Fixed Buttons */
.scroll-up-btn,
.whatsapp-btn {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    z-index: 998;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.scroll-up-btn {
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: var(--light-color);
    opacity: 0;
    transform: translateY(20px);
}

.scroll-up-btn.show {
    opacity: 1;
    transform: translateY(0);
}

.scroll-up-btn:hover,
.scroll-up-btn:focus {
    background: #6A1B9A;
    transform: scale(1.1);
}

.whatsapp-btn {
    bottom: 30px;
    left: 30px;
    background-color: #25D366;
    color: #FFF;
}

.whatsapp-btn:hover,
.whatsapp-btn:focus {
    background-color: #128C7E;
    transform: scale(1.1);
    color: #FFF;
}

/* Icon Styles */

.whatsapp-icon {
    width: 30px;
    height: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.890-5.335 11.893-11.893A11.821 11.821 0 0020.465 3.516'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
}

.arrow-up-icon {
    font-size: 2rem;
    font-weight: bold;
    display: block;
    line-height: 1;
}

/* Animation on scroll */
section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Mobile Performance Optimizations */
    * {
        will-change: auto;
    }

    /* Reduce animations for better performance */
    section {
        transition: opacity 0.3s ease-out;
    }
    
    /* Mobile video performance */
    #hero-video {
        /* Hardware acceleration for mobile */
        transform: translateX(-40%) translateY(-50%) scale(1.1) translateZ(0);
        -webkit-transform: translateX(-40%) translateY(-50%) scale(1.1) translateZ(0);
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        perspective: 1000px;
        -webkit-perspective: 1000px;
        /* Faster transition on mobile */
        transition: opacity 0.3s ease-in-out;
        /* Show left side of video on mobile */
        object-position: left center;
    }
    
    /* Mobile hero background optimization */
    #hero.video-loading {
        background: linear-gradient(135deg, #8E24AA, #6A1B9A, #AB47BC);
        background-size: 400% 400%;
        animation: gradientShift 3s ease infinite;
        transition: background 0.3s ease-in-out;
    }
    
    #hero.video-loaded {
        background: transparent;
        transition: background 0.3s ease-in-out;
    }

    /* Navigation */
    .nav-links {
        display: none;
        flex-direction: column;
        background: var(--dark-color);
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        text-align: center;
        padding: 1rem 0;
        box-shadow: var(--shadow-medium);
        z-index: 1001;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: 0.5rem 0;
    }

    .menu-btn {
        display: block;
    }

    /* Hero adjustments - Mobile optimized */
    #hero {
        height: 100vh;
        min-height: 500px;
    }

    #hero-video {
        transform: translateX(-40%) translateY(-50%) scale(1.1);
        -webkit-transform: translateX(-40%) translateY(-50%) scale(1.1);
        object-fit: cover;
        /* Mobile video performance optimizations */
        filter: brightness(1.1) contrast(1.1);
        will-change: transform;
        /* Show left side of video on small screens */
        object-position: left center;
    }

    /* Optimize hero content for mobile */
    .hero-content {
        padding: 0 0.5rem;
        max-width: 100%;
    }

    .hero-text-dark {
        font-size: clamp(0.85rem, 2.8vw, 1.05rem);
        line-height: 1.4;
    }

    /* Grid layouts become single column */
    .shop-intro-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .services-grid {
        display: flex !important;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 1.5rem;
        padding: 1rem 1rem 1rem 1rem;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
        scroll-snap-type: x mandatory;
        touch-action: pan-x;
    }
    
    .services-grid::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }
    

    /* Optimize service cards for mobile */
    .service-card {
        flex: 0 0 360px; /* Wider cards for better mobile experience */
        padding: 1.25rem; /* Reduced padding */
        min-height: 240px; /* Shorter height for better proportions */
        scroll-snap-align: start;
        margin-right: 0;
        touch-action: auto; /* Allow natural touch behavior */
        user-select: none;
    }

    .service-card img {
        height: 160px; /* Increased image height */
        margin-bottom: 1rem; /* 1 inch spacing (1rem = ~1 inch) */
    }
    
    .service-card h3 {
        font-size: clamp(1.1rem, 3vw, 1.4rem);
        margin-bottom: 0.8rem;
    }
    
    .service-card p {
        font-size: clamp(0.9rem, 2.5vw, 1rem);
        line-height: 1.4; /* Tighter line height */
    }



    /* Fixed buttons smaller */
    .scroll-up-btn,
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    /* Mobile icon adjustments */
    .whatsapp-icon {
        width: 24px;
        height: 24px;
    }
    
    .arrow-up-icon {
        font-size: 1.5rem;
    }

    .whatsapp-btn {
        bottom: 20px;
        left: 20px;
    }

    .scroll-up-btn {
        bottom: 20px;
        right: 20px;
    }

    /* Reduce shadows for better performance */
    .service-card {
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    /* Optimize typography for mobile */
    h1 { 
        font-size: clamp(1.6rem, 5vw, 2.2rem); 
        line-height: 1.2;
    }
    
    h2 { 
        font-size: clamp(1.3rem, 4vw, 1.8rem); 
        margin-bottom: 1.5rem;
    }
    
    h3 {
        font-size: clamp(1.1rem, 3vw, 1.5rem);
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    /* Further mobile optimizations */
    .container {
        max-width: 98%;
        padding: 0 0.5rem;
    }

    .service-card {
        padding: 1rem;
    }

    .accordion-header {
        padding: 1rem;
        font-size: 1rem;
    }

    .accordion-content p {
        padding: 0 1rem 1rem;
    }

    #cta {
        padding: 2rem 0;
    }

    .cta-numbers a {
        padding: 0.75rem 1.5rem;
        font-size: 1.25rem;
    }
}

/* Blog Section */
#blog {
    padding: 4rem 0;
    background: #ffffff;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    background: #ffffff;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

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

.blog-card h3 {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.8rem;
    color: #1d1d1f;
    letter-spacing: -0.01em;
}

.blog-card p {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 1rem;
}

.blog-category {
    background: #f0f0f0;
    padding: 0.3rem 0.8rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    color: #666;
}

.blog-read-more {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    border-bottom-color: var(--primary-color);
}

.blog-loading {
    display: none;
}

.blog-loading.show {
    display: block;
}

/* Apple-style Blog Design */
.blog-article {
    padding-top: 80px; /* Header yüksekliği kadar padding */
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    background: #fafafa;
    min-height: 100vh;
}

.blog-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    background: white;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.04);
    min-height: 100vh;
}

.blog-header {
    padding: 64px 0 48px;
    border-bottom: 1px solid #f2f2f2;
}

.blog-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--primary-color);
    margin: 0 0 16px;
    letter-spacing: -0.5px;
    text-align: center;
}

.blog-meta-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #86868b;
}

.blog-category-tag {
    background: #007aff;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-lead {
    font-size: 22px;
    line-height: 1.45;
    color: #424245;
    font-weight: 400;
    margin: 0;
}

.blog-content {
    padding: 48px 0 64px;
}

.blog-content h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
    margin: 48px 0 16px;
    letter-spacing: -0.3px;
    text-align: left;
}

.blog-content h3 {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--secondary-color);
    margin: 32px 0 12px;
    letter-spacing: -0.2px;
    text-align: left;
}

.blog-content p {
    font-size: 19px;
    line-height: 1.65;
    color: #1d1d1f;
    margin: 0 0 24px;
    font-weight: 400;
}

.blog-content ul {
    margin: 24px 0;
    padding: 0;
    list-style: none;
}

.blog-content li {
    font-size: 19px;
    line-height: 1.65;
    color: #1d1d1f;
    margin: 8px 0;
    padding-left: 24px;
    position: relative;
}

.blog-content li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.blog-cta {
    background: linear-gradient(135deg, #f5f5f7, #ffffff);
    border: 1px solid #e5e5e7;
    border-radius: 18px;
    padding: 32px;
    margin: 48px 0;
    text-align: center;
}

.blog-cta h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 12px;
}

.blog-cta p {
    font-size: 17px;
    color: #86868b;
    margin: 0 0 24px;
}

.blog-cta-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 12px 32px;
    border-radius: 22px;
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    display: inline-block;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.blog-cta-btn:hover {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-1px);
}

.blog-navigation {
    padding: 60px 0 80px;
    margin: 60px 0 40px;
    border-top: 2px solid #f0f0f0;
    border-bottom: 2px solid #f0f0f0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    position: relative;
}

.blog-navigation::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    z-index: -1;
}

.blog-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 6px;
    min-width: 140px;
    text-align: center;
}

/* Home button (Ana Sayfaya Dön) - Sol taraf */
.blog-back-btn:first-child {
    background: #e93935;
    color: white;
    border: 1px solid #e93935;
}

.blog-back-btn:first-child:hover {
    background: #d32f2f;
    border-color: #d32f2f;
}

.blog-back-btn:first-child::before {
    content: "🏠";
    font-size: 14px;
}

/* Blog List button (Blog Listesine Dön) - Sağ taraf */
.blog-back-btn:last-child {
    background: white;
    color: #e93935;
    border: 1px solid #e93935;
}

.blog-back-btn:last-child:hover {
    background: #e93935;
    color: white;
}

.blog-back-btn:last-child::before {
    content: "📝";
    font-size: 14px;
}

/* Mobile responsiveness for Apple style */
@media (max-width: 768px) {
    .blog-container {
        padding: 0 30px;
    }
    
    .blog-header {
        padding: 48px 0 32px;
    }
    
    .blog-title {
        font-size: 32px;
    }
    
    .blog-lead {
        font-size: 19px;
    }
    
    .blog-content {
        padding: 32px 20px 48px;
    }
    
    .blog-content h2 {
        font-size: 24px;
        margin: 32px 0 12px;
    }
    
    .blog-content h3 {
        font-size: 20px;
        margin: 24px 0 8px;
    }
    
    .blog-content p,
    .blog-content li {
        font-size: 16px;
    }
    
    .blog-navigation {
        padding: 40px 20px 50px;
        margin: 40px 0 30px;
        flex-direction: column;
        gap: 20px;
        border-radius: 15px;
    }
    
    .blog-back-btn {
        font-size: 14px;
        padding: 12px 20px;
        min-width: 120px;
        max-width: 200px;
        margin: 0 auto;
    }
}

/* Blog List Page Styles */
.blog-page {
    background: #fafafa;
    padding-top: 80px; /* Header yüksekliği kadar padding */
}

#blog-list {
    padding: 2rem 0 4rem;
    background: #fafafa;
}

.blog-list-container {
    margin-top: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Blog Comments Section */
.blog-comments {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border: 1px solid #e5e5e7;
    border-radius: 18px;
    padding: 32px;
    margin: 48px 0;
}

.blog-comments h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 24px;
    text-align: left;
}

.comment {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-left: 4px solid var(--primary-color);
}

.comment:last-child {
    margin-bottom: 0;
}

.comment p {
    font-size: 16px;
    line-height: 1.6;
    color: #1d1d1f;
    margin: 0 0 12px;
    font-style: italic;
}

.comment-author {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-color);
    font-style: normal;
}

/* Modern Comments System Styles */
.modern-comment-section {
    margin: 3rem 0;
    display: flex;
    justify-content: center;
}

.comment-form-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    max-width: 800px;
    width: 100%;
    border: 2px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    margin: 2rem auto;
}

.comment-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc2626, #ea580c, #f59e0b);
}

.comment-form-card h3 {
    font-size: 1.75rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: 700;
}

.comment-form-card > p {
    text-align: center;
    color: #64748b;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.simple-comment-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-col:first-child {
    padding-top: 1.5rem;
}

/* Homepage comment form specific alignment */
#homepage-comments-section .form-col:first-child {
    padding-top: 1.5rem !important;
}

#homepage-comments-section .form-row .form-col {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
}

.form-col input,
.form-col select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    font-family: inherit;
}

.form-col input:focus,
.form-col select:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
    transform: translateY(-2px);
}

.form-col select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

.comment-textarea-wrapper {
    position: relative;
}

.comment-textarea-wrapper textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    font-family: inherit;
    resize: vertical;
    min-height: 120px;
}

.comment-textarea-wrapper textarea:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

.char-counter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    font-size: 0.85rem;
    color: #64748b;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 8px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
}

.btn-modern {
    background: linear-gradient(135deg, #dc2626 0%, #ea580c 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    align-self: center;
    min-width: 200px;
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 16px -4px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
}

.btn-modern:active {
    transform: translateY(0);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-text {
    font-size: 1.1rem;
}

.btn-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-modern:hover .btn-icon {
    transform: scale(1.1);
}

/* Comments Display */
.comments-section {
    margin-top: 3rem;
}

.loading-message {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
    font-style: italic;
}

.comments-container {
    max-width: 800px;
    margin: 0 auto;
}

.no-comments {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
    font-style: italic;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comment-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-light);
    transition: box-shadow 0.3s ease;
}

.comment-item:hover {
    box-shadow: var(--shadow-medium);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f3f4f6;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.author-name {
    font-weight: 600;
    color: var(--dark-color);
}

.comment-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

.comment-content p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-color);
}

.load-more-container {
    text-align: center;
    margin-top: 2rem;
}

/* Reply Styles */
.comment-replies {
    margin-top: 20px;
    margin-left: 0;
    border-left: none;
    padding-left: 0;
    background: transparent;
    border-radius: 0;
}

.comment-reply {
    background: white;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Admin reply'ları için özel stil - removed gradient panel */
.comment-reply:has(.admin-badge) {
    background: white;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.reply-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f3f4f6;
}

.reply-author {
    display: flex;
    align-items: center;
    font-weight: 700;
    color: #1f2937;
    font-size: 0.95rem;
}

.reply-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.75rem;
    color: #6b7280;
}

.reply-content {
    color: #374151;
    line-height: 1.5;
    font-size: 0.9rem;
}

.admin-badge {
    background: #dc2626;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    margin-left: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Auth Messages */
.auth-message, 
.comment-message {
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    margin: 1rem 0;
    font-size: 0.9rem;
    text-align: center;
}

.auth-message-error, 
.comment-message-error {
    background-color: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.auth-message-success, 
.comment-message-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

/* Modern Comments Display */
.comments-list-modern {
    margin-top: 3rem;
    padding: 2rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.comments-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f1f5f9;
}

.comments-header h3 {
    font-size: 2rem;
    background: linear-gradient(135deg, #dc2626, #ea580c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.comments-header p {
    color: #64748b;
    font-size: 1.1rem;
    font-weight: 500;
}

.modern-comment-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.modern-comment-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(0, 0, 0, 0.1);
}

.comment-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.comment-author-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: #dc2626;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.author-details h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #1e293b;
    font-weight: 600;
}

.comment-rating {
    font-size: 0.9rem;
    margin-top: 2px;
}

.comment-date-modern {
    font-size: 0.85rem;
    color: #64748b;
}

.comment-text-modern p {
    margin: 0;
    color: #374151;
    line-height: 1.6;
    font-style: italic;
    font-size: 1rem;
}

.no-comments {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
}

.no-comments-card {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 20px;
    border: 2px dashed #e2e8f0;
    max-width: 400px;
}

.no-comments-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.no-comments-card h3 {
    color: #64748b;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.no-comments-card p {
    color: #94a3b8;
    margin: 0;
}

/* Comment Notifications */
.comment-notification {
    margin: 1rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.comment-notification-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.comment-notification-error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.notification-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.notification-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Mobile Responsiveness for Modern Comments */
@media (max-width: 768px) {
    .comment-form-card {
        padding: 2rem 1.5rem;
        margin: 1rem;
        border-radius: 16px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .btn-modern {
        min-width: 100%;
    }
    
    .comment-header-modern {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .comment-date-modern {
        align-self: flex-end;
    }
    
    .modern-comment-card {
        padding: 1rem;
        margin: 1rem 0.5rem;
    }
    
    .author-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .auth-form, 
    .comment-form-wrapper {
        padding: 1rem;
        margin: 0.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 0.9rem;
    }
    
    .comment-item {
        margin: 0 0.5rem;
    }
}

/* Print styles */
@media print {
    .whatsapp-btn,
    .scroll-up-btn,
    .menu-btn,
    .auth-container,
    .comment-form-container,
    .user-info-container {
        display: none;
    }
    
    header {
        position: static;
        background: var(--dark-color);
    }
    
    section {
        opacity: 1;
        transform: none;
    }
    
    .comment-item {
        border: 1px solid #ccc;
        margin-bottom: 1rem;
        page-break-inside: avoid;
    }
} 

/* ===== MODERN COMMENT SYSTEM ===== */

.comments-section {
    margin: 4rem 0;
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 24px;
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.comments-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc2626, #ea580c, #f59e0b);
}

.comments-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #1e293b;
    font-size: 2.25rem;
    font-weight: 800;
    position: relative;
    padding-bottom: 1rem;
}

.comments-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #dc2626, #ea580c);
    border-radius: 2px;
}

.comment-form-container {
    max-width: 700px;
    margin: 0 auto 4rem auto;
    padding: 2.5rem;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(220, 38, 38, 0.1);
    position: relative;
}

.comment-form-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #dc2626, #ea580c, #f59e0b);
    border-radius: 22px;
    z-index: -1;
    opacity: 0.1;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
}

.form-group label {
    font-weight: 700;
    color: #1e293b;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.form-group input,
.form-group textarea {
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    font-family: inherit;
    position: relative;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 
        0 0 0 4px rgba(220, 38, 38, 0.1),
        0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.rating-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.rating-select {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.rating-select:hover {
    border-color: #dc2626;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.rating-select:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 
        0 0 0 4px rgba(220, 38, 38, 0.1),
        0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.rating-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-display .star {
    color: #fbbf24;
    font-size: 1.4rem;
    filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.3));
    transition: transform 0.2s ease;
}

.rating-display .star:hover {
    transform: scale(1.1);
}

.rating-display .star.empty {
    color: #d1d5db;
    filter: none;
}

.rating-text {
    margin-left: 0.75rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
}

.char-counter {
    font-size: 0.85rem;
    text-align: right;
    margin-top: 0.5rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.char-counter.success {
    color: #059669;
    background: rgba(5, 150, 105, 0.1);
}

.char-counter.warning {
    color: #d97706;
    background: rgba(217, 119, 6, 0.1);
}

.char-counter.error {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
}

.submit-btn {
    background: linear-gradient(135deg, #dc2626 0%, #ea580c 50%, #f59e0b 100%);
    color: white;
    border: none;
    padding: 1.25rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    align-self: flex-end;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
    margin-left: auto;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 20px 25px -5px rgba(220, 38, 38, 0.3),
        0 10px 10px -5px rgba(220, 38, 38, 0.2);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.comment-message {
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border-left: 4px solid;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideIn 0.3s ease;
}

.comment-message.success {
    background: linear-gradient(135deg, #d1fae5 0%, #ecfdf5 100%);
    border-color: #10b981;
    color: #065f46;
}

.comment-message.error {
    background: linear-gradient(135deg, #fee2e2 0%, #fef2f2 100%);
    border-color: #ef4444;
    color: #991b1b;
}

.comments-list-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.loading-comments,
.no-comments {
    text-align: center;
    padding: 3rem 2rem;
    color: #64748b;
    font-style: italic;
    background: #f8fafc;
    border-radius: 12px;
    border: 2px dashed #e2e8f0;
}

.loading-comments i,
.no-comments i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
    color: #dc2626;
}

.comment-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.comment-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #dc2626, #ea580c);
    border-radius: 2px;
}

.comment-item:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(220, 38, 38, 0.2);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.comment-author i {
    color: #dc2626;
    font-size: 1.1rem;
}

.nickname {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    text-transform: capitalize;
}

.comment-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    background: #f1f5f9;
    border-radius: 20px;
}

.comment-date i {
    font-size: 0.8rem;
}

.comment-date::before {
    content: '🕒';
    font-size: 0.8rem;
}

.comment-content {
    color: #374151;
    line-height: 1.7;
    font-size: 1.05rem;
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: none;
    position: relative;
    white-space: pre-wrap;
}

.comment-content::before {
    content: none;
}

/* Comment Messages */
.comment-message {
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    animation: slideIn 0.3s ease;
}

.comment-message-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.comment-message-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.comment-message-info {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.comment-message i {
    font-size: 1.1rem;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .comments-section {
        margin: 2rem 0;
        padding: 1.5rem;
    }
    
    .comments-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .comment-form {
        padding: 1rem;
    }
    
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .comment-date {
        align-self: flex-end;
    }
    
    .comment-item {
        padding: 1rem;
    }
    
    .submit-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .comments-section {
        padding: 1rem;
        margin: 1.5rem 0;
    }
    
    .comment-form {
        padding: 0.75rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.625rem;
        font-size: 0.95rem;
    }
    
    .comment-item {
        padding: 0.75rem;
    }
    
    .comment-content {
        font-size: 0.95rem;
    }
}

/* Dark mode support (if needed) */
@media (prefers-color-scheme: dark) {
    .comments-section {
        background: #1e293b;
        border-color: #334155;
    }
    
    .comment-form {
        background: #334155;
        border-color: #475569;
    }
    
    .form-group input,
    .form-group textarea {
        background: #475569;
        border-color: #64748b;
        color: #f1f5f9;
    }
    
    .comment-item {
        background: #334155;
        border-color: #475569;
    }
    
    .comment-author {
        color: #f1f5f9;
    }
    
    .comment-content {
        color: #cbd5e1;
    }
    
    .loading-comments,
    .no-comments {
        background: #334155;
        border-color: #475569;
        color: #cbd5e1;
    }
} 

/* ===== UNIFIED COMMENT SYSTEM DESIGN ===== */
.comments-section {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid #f0f0f0;
}

.comments-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.comments-title i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

/* Comment Form Container */
.comment-form-container {
    background: #fafafa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid #e5e5e5;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Form Header */
.comment-form-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.comment-form-header h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.comment-form-header h4::before {
    content: "✍️";
    font-size: 1.5rem;
}

.comment-form-header p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Form Row for Name and Rating */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
    margin-bottom: 1rem;
}

.form-row .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Form Groups */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.form-group label {
    font-weight: 600;
    color: #37474F;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.form-group input,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #ffffff;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 112, 67, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

/* Rating System */
.rating-group {
    position: relative;
}

.rating-select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 0.95rem;
    background: #ffffff;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.rating-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 112, 67, 0.1);
}

.rating-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.rating-stars {
    display: flex;
    gap: 0.125rem;
}

.rating-stars i {
    color: #fbbf24;
    font-size: 0.875rem;
}

/* Character Counter */
.char-counter {
    display: flex;
    justify-content: flex-end;
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.5rem;
    font-weight: 500;
}

.char-counter.warning {
    color: #ea580c;
}

.char-counter.error {
    color: #dc2626;
}

.char-counter.success {
    color: #059669;
}

/* Submit Button */
.submit-btn {
    background: linear-gradient(135deg, #dc2626, #ea580c);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.submit-btn i {
    font-size: 0.9rem;
}

/* Error Messages */
.comment-message {
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    animation: slideIn 0.3s ease;
}

.comment-message-error {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    border: 1px solid #dc2626;
}

.comment-message-success {
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
    border: 1px solid #059669;
}

.comment-message-info {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: 1px solid #3b82f6;
}

.comment-message i {
    font-size: 1.1rem;
}

/* Comments List */
.comments-list-container {
    margin-top: 2rem;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comment-item {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.comment-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #1a1a2e;
}

.comment-author i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.comment-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #666;
}

.comment-date i {
    font-size: 0.8rem;
}

.comment-content {
    line-height: 1.6;
    color: #37474F;
    font-size: 0.95rem;
}

/* Loading and Empty States */
.loading-comments,
.no-comments {
    text-align: center;
    padding: 3rem 1rem;
    color: #666;
    font-size: 1rem;
}

.loading-comments i,
.no-comments i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .comments-section {
        padding: 2rem 1rem;
        margin: 2rem 0;
        border-radius: 16px;
    }
    
    .comments-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    .comment-form-container {
        padding: 1.5rem;
        margin: 0 auto 3rem auto;
    }
    
    .form-row {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.875rem 1rem;
    }
    
    .rating-select {
        padding: 0.875rem 1rem;
    }
    
    .submit-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
    }
    
    .comment-item {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .comment-date {
        align-self: flex-end;
    }
    
    .comment-content {
        padding: 1.25rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .comments-section {
        padding: 1.5rem 0.75rem;
    }
    
    .comment-form-container {
        padding: 1.25rem;
    }
    
    .comments-title {
        font-size: 1.5rem;
    }
    
    .comment-item {
        padding: 1.25rem;
    }
    
    .comment-content {
        padding: 1rem;
    }
}

/* Comment Replies */
.comment-replies {
    margin-top: 1.5rem;
    padding-left: 1.5rem;
    border-left: 2px solid #e5e7eb;
}

.comment-reply {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.comment-reply:last-child {
    margin-bottom: 0;
}

.comment-reply-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f3f4f6;
}

.comment-reply-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #1e293b;
}

.comment-reply-author i {
    color: #059669;
    font-size: 0.9rem;
}

.admin-badge {
    background: #dc2626;
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comment-reply-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.comment-reply-content {
    color: #374151;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Light theme enforced - no dark mode */
/* Light theme enforced - no dark mode */ 