/* General Styles */
html, body {
  height: 100%;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333333;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #F5F5F5;
    padding: 20px;
}

footer {
  margin-top: auto;
}

.tavsiye {
    width: 100%;
    text-align: center;
}

.logo-container {
    text-align: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #0d2f56;
    margin-bottom: 5px;
}

.slogan {
    font-size: 18px;
}

nav {
    margin-top: 20px;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav li {
    margin: 0 15px;
}

a{
    text-decoration: none;
  }

nav a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333333;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #e04a42;
}

nav svg {
    margin-right: 8px;
    width: 20px;
    height: 20px;
}

/* Hero Section */
.hero {
    background-image: url('img/hero-background.jpg');
    background-size: cover;
    background-position: center;
    color: #FFFFFF;
    text-align: center;
    padding: 100px 20px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero h1,
.hero h2 {
    position: relative;
    z-index: 1;
}

.cta-button {
    display: inline-block;
    background-color: #F25C54;
    color: #FFFFFF;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

/* About Section */
.about {
    background-color: #EDEFF0;
    padding: 60px 20px;
    text-align: left;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.about .content {
    flex: 1;
    padding-left: 5%;
    padding-right: 5%;
}

.about img.nihan {
    max-width: 400px;
    height: auto;
    margin-top: 0;
    margin-left: 5%;
}

.about-button {
    display: inline-block;
    background-color: #0d2f56;
    color: #FFFFFF;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.about-button:hover {
    background-color: #1a4980;
}

.experiences {
    background-color: #F5F5F5;
    padding: 50px 5%;
}

/* Responsive adjustment */
@media screen and (max-width: 768px) {
    .about {
        flex-direction: column;
        padding: 30px 10px;
    }

    .about .content {
        padding-left: 0;
        padding-right: 0;
    }

    .about img.nihan {
        max-width: 100%;
        margin-left: 0;
    }
}

/* Services Section */
.services {
    padding: 50px 20px;
    text-align: center;
}

.service-cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 30px;
}

.card {
    width: 300px;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.card img {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
}

.card h3 {
    margin-bottom: 10px;
}

/* Testimonials Section */
.testimonials {
    background-size: cover;
    background-position: center;
    padding: 40px 30px;
    text-align: center;
    color: #333333;
}

.testimonials-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial {
    width: calc(44% - 20px);
    margin-bottom: 40px;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.testimonial blockquote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
    position: relative;
    padding-left: 30px;
}

.testimonial blockquote::before {
    content: '"';
    font-size: 3rem;
    color: #0d2f56;
    opacity: 0.3;
    position: absolute;
    top: -20px;
    left: -10px;
}

.testimonial cite {
    font-size: 1rem;
    color: #0d2f56;
    font-weight: bold;
    display: block;
    margin-top: 10px;
    text-align: right;
}

@media screen and (max-width: 768px) {
    .testimonials {
        padding: 30px 10px;
    }

    .testimonial {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

/* Contact Form Styles */
.contact {
    background-color: #F5F5F5;
    padding: 50px 20px;
}

.contact h2 {
    color: #0d2f56;
    margin-bottom: 30px;
    text-align: center;
}

form {
    max-width: 1000px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-right: 20px;
}

label {
    text-align: left;
    margin-bottom: 5px;
    color: #333333;
    font-weight: 500;
}

input,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 16px;

}

textarea {
    height: 100%;
    resize: vertical;
    grid-column: 2;
    grid-row: 1 / span 3;
}

button[type="submit"] {
    background-color: #F25C54;
    color: #FFFFFF;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    grid-column: 1 / span 2;
    justify-self: center;
}

button[type="submit"]:hover {
    background-color: #e04a42;
}

@media screen and (max-width: 768px) {
    form {
        grid-template-columns: 1fr;
    }

    textarea {
        grid-column: 1;
        grid-row: auto;
        height: 150px;
    }

    button[type="submit"] {
        grid-column: 1;
    }
}

/* Footer */
footer {
    background-color: #0d2f56;
    color: #FFFFFF;
    text-align: center;
    padding: 20px;
}

/* Responsive Styles */
/* Add these styles for the hamburger menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    height: 3px;
    width: 25px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.4s;
}

/* Add these styles to your existing CSS */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}


/* Add this to the existing nav styles */
.nav-menu {
    z-index: 1000;
}

/* Update the existing media query for mobile devices */
@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu-toggle {
        display: flex;
        align-self: flex-end;
        margin-top: -52px;
    }

    .nav-menu {
        display: none;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #F5F5F5;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav li {
        margin: 10px 0;
    }

    .hero h1 {
        font-size: 24px;
    }

    .hero h2 {
        font-size: 18px;
    }

    .about {
        flex-direction: column;
        text-align: center;
    }

    .about img.nihan {
        margin-left: 0;
        margin-bottom: 20px;
        max-width: 100%;
    }

    @media screen and (max-width: 768px) {
        .services {
            padding: 30px 10px;
        }

        .service-cards {
            flex-direction: column;
        }

        .card {
            width: 100%;
            max-width: 300px;
            margin-left: auto;
            margin-right: auto;
        }
    }

    .testimonial {
        width: 100%;
    }
}

.peace-section {
    background-image: url('img/peace-background.jpg');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.peace-section h2 {
    color: white;
    font-size: 1.5em;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}


.hero-contact {
    background-image: url('img/hero-contact.jpg');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFFFFF;
    text-align: center;
}

.hero-contact h1 {
    font-size: 3em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-therapy {
    background-image: url('img/hero-therapy.jpg');
    background-size: cover;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFFFFF;
    text-align: center;
}

.hero-therapy h1 {
    font-size: 3em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.therapies {
    padding: 50px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.therapy {
    margin-bottom: 40px;
}

.therapy h2 {
    color: #0d2f56;
    margin-bottom: 15px;
}

.therapy p {
    line-height: 1.6;
}

.load-left,
.load-right {
    opacity: 0;
    transition: all 1s;
}

.load-left {
    transform: translateX(-50px);
}

.load-right {
    transform: translateX(50px);
}

.load-visible {
    opacity: 1;
    transform: translateX(0);
}

@media screen and (max-width: 768px) {
    .load-left {
        transform: translateX(0px);
    }
    
    .load-right {
        transform: translateX(0px);
    }
}
