:root {
    --primary-color: #9b59b6;
    --primary-dark: #8e44ad;
    --secondary-color: #ff9ff3;
    --secondary-dark: #f368e0;
    --accent-blue: #48dbfb;
    --accent-yellow: #feca57;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --white: #ffffff;
    --bg-pattern: #f7f1e3;
    
    --font-heading: 'Fredoka', sans-serif;
    --font-body: 'Nunito', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-pattern);
    background-image: radial-gradient(#d1ccc0 1px, transparent 1px), radial-gradient(#d1ccc0 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-dark), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 10px 20px rgba(142, 68, 173, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(142, 68, 173, 0.5);
}

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

.btn-primary:hover::after {
    left: 100%;
}

.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
    transition: all 0.3s ease;
    border-bottom: 3px solid var(--secondary-color);
}

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

.logo img {
    height: 65px;
    width: auto;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.logo:hover img {
    transform: rotate(10deg) scale(1.1);
}

.navbar .nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.navbar .nav-links li a {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-dark);
    font-size: 1.15rem;
    position: relative;
    padding: 8px 15px;
    border-radius: 20px;
    transition: 0.3s;
}

.navbar .nav-links li a:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-dark);
}

.hero {
    height: 100vh;
    background: url('../../assets/img/giris.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-video { display: none; }

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(142, 68, 173, 0.4) 100%);
    z-index: 2;
}

.hero-content {
    max-width: 900px;
    padding: 60px;
    position: relative;
    z-index: 3;
    animation: float 6s ease-in-out infinite;
    background: rgba(0, 0, 0, 0.6); 
    border-radius: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    color: var(--white);
    text-shadow: none; 
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.hero-content p {
    font-size: 1.6rem;
    margin-bottom: 40px;
    font-weight: 500;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}


.custom-shape-divider-bottom-1680000000, 
.custom-shape-divider-bottom-1680000002 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 4;
}

.custom-shape-divider-top-1680000001,
.custom-shape-divider-top-1680000003 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 4;
}

.shape-fill {
    fill: var(--white);
}

.services {
    background-color: #fff0f6;
    position: relative;
    padding-top: 150px;
    padding-bottom: 150px;
}

.services .shape-fill {
    fill: #fff0f6;
}

.contact {
    background-color: #f3e5f5;
    position: relative;
    padding-top: 150px;
}

.contact .shape-fill {
    fill: #f3e5f5;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 20;
}

.section-title h2 {
    font-size: 3.5rem;
    color: #2d3436;
    margin: 0 auto 15px;
    position: relative;
    display: inline-block;
    z-index: 20;
    font-weight: 800;
    text-shadow: 2px 2px 0px rgba(255,255,255,0.8);
}

.section-title h2::before {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: var(--accent-yellow);
    opacity: 0.6;
    z-index: -1;
    border-radius: 10px;
    transform: rotate(-1deg);
}

.section-title p {
    color: var(--text-light);
    font-size: 1.3rem;
    font-weight: 600;
}

.about {
    background-color: var(--white);
    position: relative;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--primary-dark);
    line-height: 1.3;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 1.15rem;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.about-img-styled {
    max-width: 100%;
    height: auto;
    max-height: 450px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border: 5px solid var(--white);
    transform: rotate(2deg);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.about-img-styled:hover {
    transform: rotate(0deg) scale(1.02);
}

.about-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--accent-yellow) 20%, transparent 20%);
    background-size: 20px 20px;
    opacity: 0.5;
    z-index: -1;
    top: -30px;
    right: -30px;
    border-radius: 30px;
}

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

.service-card {
    background-color: var(--white);
    padding: 50px 30px;
    border-radius: 40px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(142, 68, 173, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-bottom: 8px solid var(--secondary-color);
    position: relative;
    z-index: 1;
}

.service-card:nth-child(2) { border-bottom-color: var(--accent-blue); }
.service-card:nth-child(3) { border-bottom-color: var(--accent-yellow); }
.service-card:nth-child(4) { border-bottom-color: var(--primary-dark); }

.service-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 25px 50px rgba(142, 68, 173, 0.2);
}

.icon-box {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 3rem;
    color: var(--white);
    box-shadow: 0 15px 25px rgba(0,0,0,0.1);
    transition: transform 0.5s ease;
}

.service-card:hover .icon-box {
    transform: scale(1.1) rotate(360deg);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.6rem;
    color: var(--text-dark);
}

.gallery {
    background-color: var(--white);
    padding-bottom: 150px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item .img-placeholder {
    height: 300px;
    border-radius: 30px;
    transition: all 0.5s ease;
    background-color: #eee;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.gallery-item:hover .img-placeholder {
    transform: scale(1.02) rotate(1deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 10;
}

.contact-wrapper {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
    background-color: var(--white);
    padding: 60px;
    border-radius: 50px;
    box-shadow: 0 20px 60px rgba(142, 68, 173, 0.1);
    border: 1px solid rgba(0,0,0,0.05);
}

.contact-info {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    border-radius: 20px;
    background-color: #f9f9f9;
    transition: 0.3s;
}

.info-item:hover {
    background-color: var(--bg-pattern);
    transform: translateX(10px);
}

.info-item i {
    font-size: 2rem;
    color: var(--primary-dark);
    background: var(--white);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.info-item h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.info-item p {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0;
}

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

.social-links a {
    width: 60px;
    height: 60px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    color: var(--primary-dark);
    font-size: 1.5rem;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.social-links a:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-5px) rotate(360deg);
    border-color: var(--secondary-color);
}

.contact-map {
    flex: 1;
    min-width: 300px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 10px solid var(--white);
}

footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
    font-size: 1.1rem;
    position: relative;
    z-index: 10;
}

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1000;
    cursor: pointer;
}

.scroll-top-btn.active {
    opacity: 1;
    pointer-events: all;
}

.scroll-top-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(142, 68, 173, 0.4);
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .navbar .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        right: 20px;
        background: var(--white);
        flex-direction: column;
        width: 250px;
        padding: 20px;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }
    
    .navbar .nav-links.active {
        display: flex;
    }
    
    .hamburger {
        display: block;
    }
    
    .contact-wrapper {
        padding: 30px;
    }
    
    .about-content {
        flex-direction: column;
    }
}



.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.service-card:hover::after {
    width: 300px;
    height: 300px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    transition: transform 0.5s ease, filter 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(142, 68, 173, 0.3), rgba(255, 159, 243, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    border-radius: 20px;
}

.gallery-item:hover::before {
    opacity: 1;
}

.navbar .nav-links li a {
    position: relative;
    overflow: hidden;
}

.navbar .nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    transition: width 0.3s ease;
}

.navbar .nav-links li a:hover::after {
    width: 100%;
}

.btn-primary {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

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

.info-item {
    position: relative;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.info-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, var(--secondary-color), var(--primary-color));
    transition: height 0.3s ease;
    border-radius: 0 0 2px 2px;
}

.info-item:hover::before {
    height: 100%;
}

.info-item:hover {
    box-shadow: 0 5px 20px rgba(142, 68, 173, 0.15);
    transform: translateX(5px);
}

.social-links a {
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--primary-dark);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
    z-index: -1;
}

.social-links a:hover::before {
    width: 100%;
    height: 100%;
}

.social-links a:hover {
    color: var(--white);
    transform: translateY(-5px) rotate(360deg) scale(1.1);
}

[class^="custom-shape-divider"] {
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .section-title h2 {
        font-size: 2.8rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero {
        height: 100vh;
        background-attachment: scroll;
    }
    
    .hero-content {
        padding: 40px 20px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .section-title p {
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-card {
        padding: 35px 25px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-item img {
        height: 250px;
    }
    
    .contact-wrapper {
        flex-direction: column;
        padding: 30px 20px;
        gap: 30px;
    }
    
    .contact-info {
        width: 100%;
    }
    
    .contact-map {
        width: 100%;
        min-height: 300px;
    }
    
    .about-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .about-text h3 {
        font-size: 2rem;
    }
    
    .logo img {
        height: 50px;
    }
    
    .navbar .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .navbar .nav-links.active {
        transform: translateX(0);
    }
    
    .navbar .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .navbar .nav-links li a {
        display: block;
        padding: 15px 20px;
        font-size: 1.1rem;
    }
    
    .scroll-top-btn {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .icon-box {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    .contact-wrapper {
        padding: 20px 15px;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .social-links {
        justify-content: center;
    }
}
