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

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    overflow-x: hidden;
    background: #f9fafc;
}

/* Reusable Classes */
.gradient-bg {
    background: linear-gradient(135deg, #2DA9E1 20%, #FEBB13 110%);
}

.card {
    background: white;
    padding: 3rem;
    border-radius: 55px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(45deg, #7f9cf5, #2DA9E1);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* Header */
.header {
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: background 0.3s ease;
}

.header.scrolled {
    background: linear-gradient(35deg, rgba(254,187,19,0.95), rgba(254,187,19,0.35));
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.logo span {
    font-size: 1.2rem;
    font-weight: 900;
    color: #fff;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    padding: 1rem 1.5rem;
    font-weight: 500;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    will-change: background, box-shadow;
}

.nav-menu a:hover {
    background: rgba(255,255,255,0.2);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.nav-menu a.active {
    background: rgba(255,255,255,0.3);
    border-bottom: 2px solid #fff;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    padding: 12px;
    order: -1;
}

.hamburger span {
    width: 30px;
    height: 4px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Main Content */
main {
    margin-top: 85px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Welcome Hero */
.welcome-hero {
    padding: 10rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.welcome-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="3" fill="rgba(255,255,255,0.2)"/><circle cx="90" cy="90" r="4" fill="rgba(255,255,255,0.15)"/><circle cx="50" cy="20" r="2" fill="rgba(255,255,255,0.25)"/><circle cx="30" cy="80" r="3" fill="rgba(255,255,255,0.2)"/></svg>');
    animation: backgroundFloat 20s infinite linear;
}

@keyframes backgroundFloat {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-60px) rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.welcome-hero h1 {
    font-size: 4.5rem;
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: heroSlideUp 1s ease-out;
    line-height: 1.2;
    text-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.welcome-hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    animation: heroSlideUp 1s ease-out 0.2s both;
    opacity: 0.95;
    font-weight: 300;
    color: white;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    animation: heroSlideUp 1s ease-out 0.4s both;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(45deg, #2DA9E1, #2DA9E1);
    color: white;
    padding: 1.3rem 3rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(255,107,107,0.4);
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255,107,107,0.5);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.3), transparent);
    transition: left 0.4s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-secondary {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(12px);
    border: 2px solid rgba(255,255,255,0.4);
}

.cta-secondary:hover {
    background: rgba(255,255,255,0.25);
}

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

/* Features Section */
.features {
    padding: 10rem 0;
    background: linear-gradient(180deg, #f9fafc 0%, #ffffff 100%);
}

.section-title {
    text-align: center;
    font-size: 3.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.2rem;
    position: relative;
}

.section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: #6b7280;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: linear-gradient(45deg, #7f9cf5, #2DA9E1);
    border-radius: 3px;
}

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

.feature-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.feature-card:nth-child(2) { animation-delay: 0.1s; }
.feature-card:nth-child(3) { animation-delay: 0.2s; }
.feature-card:nth-child(4) { animation-delay: 0.3s; }

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

.feature-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #7f9cf5, #2DA9E1);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.2rem;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(5deg);
    background: linear-gradient(135deg, #2DA9E1, #7f9cf5);
}

.feature-card h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Page Sections */
.page-header {
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.15);
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    text-shadow: 0 4px 10px rgba(0,0,0,0.2);
    color: white;
}

.page-header p {
    font-size: 1.4rem;
    opacity: 0.9;
    color: white;
}

.content-section {
    padding: 8rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin: 4rem 0;
}

.content-text h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    font-weight: 600;
}

.content-text p {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #6b7280;
}

.content-visual {
    text-align: center;
    padding: 3rem;
    border-radius: 30px;
}

.content-icon {
    font-size: 7rem;
    background: linear-gradient(135deg, #7f9cf5, #2DA9E1);
    -webkit-background-clip: text;
    background-clip: text;
    color: #7f9cf5;
    margin-bottom: 1.5rem;
}

/* Reviews Section */
.reviews-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, #f9fafc 0%, #ffffff 100%);
}

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

.review-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.review-card:nth-child(2) { animation-delay: 0.1s; }
.review-card:nth-child(3) { animation-delay: 0.2s; }

.review-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: #7f9cf5;
    font-weight: 700;
    opacity: 0.3;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, #7f9cf5, #2DA9E1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 1rem;
    box-shadow: 0 4px 15px rgba(127,156,245,0.3);
}

.review-info h4 {
    margin-bottom: 0.3rem;
    color: #2c3e50;
    font-weight: 600;
}

.review-date {
    font-size: 0.9rem;
    color: #6b7280;
}

.stars {
    color: #f59e0b;
    font-size: 1.2rem;
    margin: 0.5rem 0;
}

.review-text {
    color: #6b7280;
    font-style: italic;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.service-card:nth-child(2) { animation-delay: 0.1s; }
.service-card:nth-child(3) { animation-delay: 0.2s; }
.service-card:nth-child(4) { animation-delay: 0.3s; }

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #7f9cf5, #2DA9E1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.service-card p {
    color: #6b7280;
    font-size: 1.1rem;
}

/* Gallery Section */
.gallery-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Staff Section */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.staff-card {
    height: 350px; /* Sabit yükseklik */
    display: flex;
    flex-direction: column;
}

.staff-card:nth-child(2) { animation-delay: 0.1s; }
.staff-card:nth-child(3) { animation-delay: 0.2s; }
.staff-card:nth-child(4) { animation-delay: 0.3s; }

.staff-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
}
.staff-card img {
    height: 200px; /* Resim yüksekliği sabit */
    object-fit: cover; /* Resmin oranını korur */
    width: 100%;
}

.staff-card h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.staff-card p {
    color: #6b7280;
    font-size: 1.1rem;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    max-width: 600px;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.lightbox-content h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.lightbox-content p {
    color: #6b7280;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    padding: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #f9fafc;
    transform: translateX(5px);
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FEBB13);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.3rem;
}

.contact-details h4 {
    color: #2c3e50;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.contact-details p {
    color: #6b7280;
    margin: 0;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #7f9cf5;
    box-shadow: 0 0 8px rgba(127,156,245,0.3);
}

.contact-form input:invalid[required]:not(:placeholder-shown),
.contact-form textarea:invalid[required]:not(:placeholder-shown) {
    border-color: #ef4444;
}

.contact-form .error {
    color: #ef4444;
    font-size: 0.9rem;
    margin-top: -1rem;
    margin-bottom: 1rem;
    display: none;
}

/* Admin Panel */
.admin-panel {
    padding: 4rem 0;
}

.admin-panel h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.admin-section {
    margin-bottom: 3rem;
}

.admin-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.admin-form input,
.admin-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.admin-form button {
    background: linear-gradient(45deg, #7f9cf5, #2DA9E1);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.admin-list {
    margin-top: 2rem;
}

.admin-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.admin-item button {
    background: #ef4444;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.message-list {
    margin-top: 2rem;
}

.message-item {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2d3748 0%, #4b5563 100%);
    color: white;
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: #7f9cf5;
    font-size: 1.4rem;
    font-weight: 600;
}

.footer-section p,
.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: #7f9cf5;
    transform: translateX(5px);
}

.footer-section i {
    margin-right: 0.8rem;
    width: 18px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    font-size: 1.5rem;
    color: #d1d5db;
}

.social-links a:hover {
    color: #7f9cf5;
    transform: scale(1.2);
}

/* References Slider */
.references-slider {
    background: linear-gradient(135deg, #4b5563, #2d3748);
    color: white;
    padding: 2rem 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    border-top: 4px solid #7f9cf5;
}

.slider-content {
    display: inline-block;
    animation: slide 25s linear infinite;
    font-size: 1.2rem;
    font-weight: 500;
}

@keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.reference-item {
    display: inline-flex;
    align-items: center;
    margin-right: 4rem;
}

.reference-item i {
    margin-right: 0.8rem;
    color: #f59e0b;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: -250px;
        width: 250px;
        height: 100vh;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding-top: 4rem;
        background: linear-gradient(135deg, rgba(127,156,245,0.95), rgba(254,187,19,0.95));
        backdrop-filter: blur(12px);
        transition: left 0.4s ease;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .content-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 1.5rem;
    }

    .welcome-hero h1 {
        font-size: 3.5rem;
    }

    .page-header h1 {
        font-size: 3rem;
    }

    .content-section {
        padding: 6rem 0;
    }

    .staff-grid, .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .welcome-hero h1 {
        font-size: 2.8rem;
    }

    .welcome-hero .subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .content-icon {
        font-size: 5rem;
    }

    .page-header h1 {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .features-grid, .reviews-container, .services-grid, .staff-grid {
        grid-template-columns: 1fr;
    }

    .nav-container, .container {
        padding: 0 1.5rem;
    }

    .welcome-hero {
        padding: 6rem 0;
    }

    .features, .reviews-section {
        padding: 6rem 0;
    }
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    background: linear-gradient(135deg, #7f9cf5, #2DA9E1);
    opacity: 1;
    transition: opacity 0.6s ease;
}

.loading-overlay.hide {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255,255,255,0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #7f9cf5, #2DA9E1);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.4rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 1000;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(127,156,245,0.5);
}