/* Genel Stil */
:root {
    --primary-color: #ffc107;
    --secondary-color: #333;
    --light-color: #f4f4f4;
    --dark-color: #222;
    --text-color: #333;
    --max-width: 1200px;
    --transition-speed: 0.3s ease;
}

/* Reset ve Temel Stiller */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    overflow: hidden;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: color var(--transition-speed);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    /* CLS önleme için */
    aspect-ratio: attr(width) / attr(height);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    color: var(--secondary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
}

main {
    padding-top: 70px;
}

section {
    padding: 5rem 0;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-color);
}

.btn-primary:hover {
    background-color: #e0aa00;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-secondary:hover {
    background-color: #444;
}

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo a {
    text-decoration: none;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary-color);
}

.logo-text span {
    color: var(--primary-color);
}

.navbar ul {
    display: flex;
}

.navbar ul li {
    padding: 0 15px;
}

.navbar ul li a {
    position: relative;
    font-weight: 600;
    transition: all var(--transition-speed);
}

.navbar ul li a:hover {
    color: var(--primary-color);
}

.navbar ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed);
}

.navbar ul li a:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 150;
}

.hamburger-menu .bar {
    height: 3px;
    width: 100%;
    background-color: var(--secondary-color);
    border-radius: 10px;
    transition: all var(--transition-speed);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('24baeb93-68c2-41e9-b7f9-e9434d015ab8.jpeg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    color: #fff;
    margin-top: 0;
    /* CLS önleme için */
    min-height: 500px;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Services Section */
.services {
    background-color: var(--light-color);
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-box {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-speed);
    height: 100%; /* CLS için eşit yükseklik */
}

.service-box:hover {
    transform: translateY(-10px);
}

.service-box i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
}

.about-image {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    /* CLS için ayrılmış alan */
    aspect-ratio: 3 / 2;
}

.about-text {
    padding: 1rem;
}

.about-text h2 {
    text-align: left;
}

.about-text h2::after {
    left: 0;
    transform: translateX(0);
}

.about-text p {
    margin-bottom: 1rem;
}

/* Gallery */
.gallery {
    background-color: var(--light-color);
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-speed);
    /* CLS için */
    aspect-ratio: 4 / 3;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.contact-item {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-speed);
    height: 100%; /* CLS için */
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
}

/* Reviews Section */
.reviews {
    background-color: #fff;
    padding: 5rem 0;
}

.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-item {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-speed);
}

.review-item:hover {
    transform: translateY(-5px);
}

.review-stars {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-text {
    font-style: italic;
    margin-bottom: 1rem;
}

.review-author {
    font-weight: 600;
    color: var(--secondary-color);
}

/* SEO Content Section */
.seo-content {
    background-color: #fff;
    padding: 4rem 0;
    border-top: 1px solid #eee;
}

.seo-text {
    line-height: 1.8;
    color: #555;
}

.seo-text h2 {
    margin-bottom: 2rem;
}

.seo-text h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin: 1.5rem 0 1rem;
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
}

.seo-text h4 {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin: 1.2rem 0 0.8rem;
}

.seo-text p {
    margin-bottom: 1rem;
    text-align: justify;
}

.seo-text ul {
    margin: 1rem 0;
    padding-left: 20px;
}

.seo-text ul li {
    margin-bottom: 0.5rem;
    list-style-type: disc;
}

.seo-text strong {
    color: var(--secondary-color);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo .logo-text {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.footer-logo .logo-text span {
    color: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: #ddd;
    transition: color var(--transition-speed);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.footer-contact p i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.footer-contact p a {
    color: #ddd;
    transition: color var(--transition-speed);
}

.footer-contact p a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #444;
    font-size: 0.9rem;
    color: #ddd;
}

/* Floating Call Button */
.float-call {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    /* CLS önleme için */
    height: 56px;
    width: 200px;
    transform: translateY(100px);
}

.float-call.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.float-call-btn {
    display: flex;
    align-items: center;
    background-color: var(--primary-color);
    color: var(--dark-color);
    padding: 15px 25px;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    font-weight: bold;
    transition: all var(--transition-speed);
    animation: bounce 2s infinite;
    width: 100%;
    height: 100%;
    justify-content: center;
}

.float-call-btn i {
    font-size: 1.2rem;
    margin-right: 0.5rem;
    animation: pulse 2s infinite;
}

.float-call-btn:hover {
    background-color: #e0aa00;
    transform: scale(1.05);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Accessibility */
.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;
}

/* Focus Styles */
a:focus,
button:focus,
input:focus,
textarea:focus,
[tabindex="0"]:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    /* Header */
    .header .container {
        flex-direction: row;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    .navbar {
        position: fixed;
        top: 0;
        right: -300px;
        width: 250px;
        height: 100vh;
        background-color: var(--secondary-color);
        padding: 80px 20px 20px;
        transition: right var(--transition-speed);
        z-index: 100;
    }

    .navbar.active {
        right: 0;
    }
    
    .navbar ul {
        flex-direction: column;
        align-items: center;
    }
    
    .navbar ul li {
        margin-bottom: 20px;
        width: 100%;
        text-align: center;
    }
    
    .navbar ul li a {
        color: #fff;
        font-size: 1.2rem;
        width: 100%;
        display: block;
        padding: 10px 0;
    }
    
    /* Hero section */
    .hero {
        min-height: 400px;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Floating Call Button */
    .float-call {
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
    }
    
    .float-call-btn {
        width: 100%;
        border-radius: 0;
        justify-content: center;
        padding: 15px;
    }
    
    .float-call-btn span {
        display: inline-block;
        margin-left: 10px;
    }
    
    .float-call-btn i {
        margin-right: 0;
    }
    
    /* Hamburger Animation */
    .hamburger-menu.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-menu.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    /* Diğer mobil düzenlemeler */
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .reviews-container {
        grid-template-columns: 1fr;
    }
    
    .seo-text h3 {
        font-size: 1.5rem;
    }
    
    .seo-text h4 {
        font-size: 1.3rem;
    }
    
    .seo-text {
        padding: 0 15px;
    }
}

@media screen and (max-width: 500px) {
    .navbar ul li {
        margin-bottom: 0.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .gallery-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
} 