/* Medyum Fatma Hoca - Premium CSS */
:root {
    --primary: #9b59b6;
    --primary-dark: #8e44ad;
    --secondary: #7d3c98;
    --dark: #1a1a2e;
    --darker: #0f0f23;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --white: #ffffff;
    --black: #000000;
    --gradient: linear-gradient(135deg, #9b59b6 0%, #8e44ad 50%, #7d3c98 100%);
    --shadow: 0 10px 40px rgba(155, 89, 182, 0.2);
    --transition: all 0.3s ease;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--darker);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Focus Styles for Accessibility */
:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Skip Link */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sr-only:focus {
    position: fixed;
    top: 10px;
    left: 10px;
    width: auto;
    height: auto;
    padding: 15px 25px;
    margin: 0;
    overflow: visible;
    clip: auto;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    z-index: 9999;
    border-radius: 8px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(155, 89, 182, 0.2);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--white);
}

.logo-icon {
    font-size: 32px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoGlow 3s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(155, 89, 182, 0.5));
}

.logo-icon i {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes logoGlow {
    0%, 100% { 
        transform: scale(1) rotate(0deg); 
        filter: drop-shadow(0 0 10px rgba(155, 89, 182, 0.5));
    }
    50% { 
        transform: scale(1.1) rotate(15deg); 
        filter: drop-shadow(0 0 20px rgba(155, 89, 182, 0.8));
    }
}

.logo-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-list a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.nav-list a:hover::after {
    width: 100%;
}

.nav-list a:hover {
    color: var(--primary);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

/* Main Content */
.main-content {
    padding-top: 80px;
    min-height: 100vh;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 50%, var(--darker) 100%);
}

/* Animated Circles */
.animated-circles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(155, 89, 182, 0.3);
    animation: circleFloat 20s infinite;
}

.circle:nth-child(1) { width: 100px; height: 100px; top: 10%; left: 10%; animation-delay: 0s; }
.circle:nth-child(2) { width: 150px; height: 150px; top: 60%; left: 80%; animation-delay: 2s; }
.circle:nth-child(3) { width: 80px; height: 80px; top: 30%; left: 70%; animation-delay: 4s; }
.circle:nth-child(4) { width: 120px; height: 120px; top: 80%; left: 20%; animation-delay: 6s; }
.circle:nth-child(5) { width: 60px; height: 60px; top: 50%; left: 50%; animation-delay: 8s; }
.circle:nth-child(6) { width: 200px; height: 200px; top: 20%; left: 40%; animation-delay: 10s; border-color: rgba(142, 68, 173, 0.2); }

@keyframes circleFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.3; }
    25% { transform: translate(50px, -50px) rotate(90deg); opacity: 0.6; }
    50% { transform: translate(0, -100px) rotate(180deg); opacity: 0.3; }
    75% { transform: translate(-50px, -50px) rotate(270deg); opacity: 0.6; }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.3rem;
    color: var(--light-gray);
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.2s both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(155, 89, 182, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}


/* Sections */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(155, 89, 182, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--white);
}

.service-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

/* Comments Section */
.comments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.comment-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(155, 89, 182, 0.15);
    border-radius: 15px;
    padding: 30px;
    transition: var(--transition);
}

.comment-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.comment-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
}

.comment-info h4 {
    color: var(--white);
    font-size: 1rem;
}

.comment-info span {
    color: var(--gray);
    font-size: 0.85rem;
}

.comment-stars {
    color: #ffc107;
    margin-bottom: 10px;
}

.comment-text {
    color: var(--light-gray);
    font-style: italic;
    line-height: 1.7;
}

/* Blog Cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(155, 89, 182, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.blog-image {
    height: 200px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}

.blog-content {
    padding: 25px;
}

.blog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--white);
}

.blog-content p {
    color: var(--gray);
    margin-bottom: 15px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    color: var(--gray);
    font-size: 0.85rem;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(155, 89, 182, 0.2);
    border-radius: 20px;
    padding: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--white);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(155, 89, 182, 0.3);
    border-radius: 10px;
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(155, 89, 182, 0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Fixed Buttons */
.fixed-btn {
    position: fixed;
    bottom: 30px;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 999;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.phone-btn {
    left: 30px;
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.whatsapp-btn {
    right: 30px;
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.fixed-btn:hover {
    transform: translateY(-5px);
}

/* Animations */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.shake {
    animation: shake 2s infinite;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Footer */
.main-footer {
    background: var(--dark);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(155, 89, 182, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3,
.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-col p {
    color: var(--gray);
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(155, 89, 182, 0.1);
    color: var(--gray);
}

/* Page Header */
.page-header {
    padding: 60px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--dark) 0%, var(--darker) 100%);
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    font-size: 2.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Content Page */
.content-page {
    padding: 60px 0;
}

.content-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(155, 89, 182, 0.2);
    border-radius: 20px;
    padding: 40px;
}

.content-box h2 {
    color: var(--primary);
    margin-bottom: 20px;
}

.content-box p {
    color: var(--light-gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-list {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--darker);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        transform: translateY(-150%);
        transition: var(--transition);
    }
    
    .nav-list.active {
        transform: translateY(0);
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .fixed-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .phone-btn {
        left: 15px;
    }
    
    .whatsapp-btn {
        right: 15px;
    }
    
    .btn-text {
        display: none;
    }
    
    .comments-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Lazy Load */
.lazy {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.lazy.loaded {
    opacity: 1;
}

/* Scroll Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Comment Form Styles */
.comment-form-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(155, 89, 182, 0.05);
    border: 1px solid rgba(155, 89, 182, 0.2);
    border-radius: 20px;
}

.comment-form .form-group {
    margin-bottom: 20px;
}

.comment-form label {
    display: block;
    color: var(--white);
    margin-bottom: 8px;
    font-weight: 500;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(155, 89, 182, 0.3);
    border-radius: 10px;
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(155, 89, 182, 0.1);
}

.comment-form input::placeholder,
.comment-form textarea::placeholder {
    color: var(--gray);
}

.comment-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Star Rating - Premium Design */
.star-rating-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.star-rating-container {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(155, 89, 182, 0.2);
    border-radius: 15px;
    width: fit-content;
}

.star-rating-container input[type="radio"] {
    display: none;
}

.star-rating-container label {
    cursor: pointer;
    font-size: 36px;
    color: #3a3a4a;
    transition: all 0.2s ease;
    padding: 0 3px;
}

.star-rating-container label:hover,
.star-rating-container label:hover ~ label,
.star-rating-container input[type="radio"]:checked ~ label {
    color: #ffc107;
    text-shadow: 0 0 15px rgba(255, 193, 7, 0.5);
}

.star-rating-container label:hover {
    transform: scale(1.2);
}

.rating-display {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 5px;
}

.rating-display .rating-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffc107;
}

.rating-display .rating-text {
    font-size: 0.9rem;
    color: var(--gray);
}

.rating-display .rating-label {
    font-size: 0.85rem;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
}

/* Form Row */
.comment-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .comment-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .comment-form-container {
        padding: 25px;
    }
}
