/* Global Styles */
:root {
    --primary-color: #d32f2f;  /* Red 700 */
    --secondary-color: #b71c1c;  /* Red 900 */
    --accent-color: #ff8a80;  /* Red A100 */
    --dark-color: #212121;
    --light-color: #f5f5f5;
    --text-color: #212121;
    --text-light: #757575;
    --transition: all 0.3s ease;
    --card-bg: #ffffff;
    --section-bg: #fff5f5;
}

* {
    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;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

section {
    padding: 80px 0;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    color: var(--dark-color);
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
    overflow: hidden;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 5px 0;
}

.logo img {
    height: 170px;
    width: auto;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    margin-top: 70px;
    height: calc(100vh - 70px);
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('../public/DentalCliniqueNeartheBosphorus.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 80px;
    color: white;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: #fff;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.1rem;
}

.about-image {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    height: 400px; /* Fixed height for consistency */
    position: relative;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Responsive styles for About section */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .about-image {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .about {
        padding: 60px 0;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .about-image {
        height: 300px;
    }
}

/* Who We Are Section */
.who-we-are {
    background-color: #f9f9f9;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.who-we-are-content {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-top: 40px;
}

.who-we-are-text {
    flex: 1;
}

.who-we-are-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #333;
    font-size: 1.1rem;
}

.who-we-are-images {
    flex: 1;
    position: relative;
    min-height: 400px;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.cami-img,
.cami2-img {
    position: absolute;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.cami-img {
    width: 70%;
    right: 0;
    top: 0;
    z-index: 2;
}

.cami2-img {
    width: 60%;
    left: 0;
    bottom: 0;
    z-index: 1;
    border: 8px solid white;
}

.cami-img:hover,
.cami2-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .who-we-are-content {
        flex-direction: column-reverse;
        gap: 30px;
    }
    
    .who-we-are-images {
        width: 100%;
        min-height: 350px;
    }
    
    .cami-img {
        width: 80%;
        right: 10%;
    }
    
    .cami2-img {
        width: 70%;
        left: 5%;
    }
    .img-wrapper {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 576px) {
    .who-we-are {
        padding: 60px 0;
    }
    
    .who-we-are-images {
        min-height: 280px;
    }
    
    .who-we-are-text p {
        font-size: 1rem;
    }
    
    .cami-img {
        width: 90%;
        right: 5%;
    }
    
    .cami2-img {
        width: 80%;
        left: 2%;
    }
}

/* Services Section */
.services {
    background-color: var(--section-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(211, 47, 47, 0.2);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    background: rgba(211, 47, 47, 0.1);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-card p {
    color: var(--text-light);
}

/* Contact Section */
.contact {
    background-color: #f9f9f9;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.contact h2 {
    color: var(--dark-color);
    margin-bottom: 50px;
    position: relative;
    text-align: center;
}

.contact h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 15px auto 0;
    border-radius: 2px;
}

.contact-container {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.contact-info {
    flex: 1;
    padding: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    color: var(--dark-color);
    margin-bottom: 25px;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 15px;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.contact-info p {
    margin-bottom: 30px;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.1rem;
}

.info-item {
    display: flex;
    align-items: center;
}

.info-item p {
    margin: 0;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
    min-width: 24px;
    background: rgba(211, 47, 47, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #eee;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: #f9f9f9;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.2);
    background-color: white;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    padding: 15px 40px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    text-align: center;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.submit-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.submit-btn:hover::before {
    left: 100%;
}

/* Responsive styles for Contact section */
@media (max-width: 992px) {
    .contact {
        padding: 80px 0;
    }
    
    .contact-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-info,
    .contact-form {
        width: 100%;
        max-width: 100%;
        padding: 30px;
    }
    
    .submit-btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 60px 0;
    }
    
    .contact-info,
    .contact-form {
        padding: 25px;
    }
    
    .info-item {
        flex-direction: row;
        align-items: center;
    }
    
    .info-item i {
        margin-right: 15px;
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .contact {
        padding: 50px 0;
    }
    
    .contact h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .contact-info,
    .contact-form {
        padding: 20px;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .info-item i {
        margin-bottom: 10px;
    }
    
    .submit-btn {
        padding: 12px 30px;
    }
}

/* Partner Section */
 .partner {
    padding: 100px 0;
    background-color: var(--section-bg);
 }

 .partner-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
 }

 .partner-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: inherit;
 }

 .partner-logo-link h2 {
    margin: 0;
 }

 .partner-logo {
    display: block;
    width: auto;
    max-height: 56px;
    height: auto;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.08));
 }

 .partner-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
 }

 .partner-visual {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
 }

 .partner-photo {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
 }

 .partner-photo img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
 }

 .partner-photo:hover img {
    transform: scale(1.03);
 }

 .partner-text {
    flex: 1;
 }

 .partner-text p {
    margin-bottom: 18px;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.1rem;
 }

 /* Responsive: Partner section */
 @media (max-width: 992px) {
    .partner {
        padding: 80px 0;
    }
    .partner-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .partner-logo {
        max-height: 52px;
    }
    .partner-content {
        flex-direction: column;
        gap: 30px;
    }
    .partner-photo img {
        height: 320px;
    }
 }

 @media (max-width: 576px) {
    .partner {
        padding: 60px 0;
    }
    .partner-logo {
        max-height: 48px;
    }
    .partner-photo img {
        height: 260px;
    }
 }

 .highlight {
    background: #fff;
    padding: 12px 14px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark-color);
}

.highlight i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Why Istanbul Section */
.why-istanbul {
    padding: 100px 0;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.why-istanbul .container {
    max-width: 1200px;
    margin: 0 auto;
}

.why-istanbul-content {
    display: flex;
    align-items: stretch;
    min-height: 500px;
    gap: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.why-istanbul-text {
    flex: 1;
    padding: 50px 50px 50px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.why-istanbul-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 0;
    text-align: justify;
}

.why-istanbul-image {
    flex: 1;
    min-width: 50%;
    position: relative;
    overflow: hidden;
}

.why-istanbul-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.why-istanbul-image:hover img {
    transform: scale(1.03);
}

/* CTA Button Styles */
.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 30px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:active {
    transform: translateY(1px);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

/* Responsive styles */
@media (max-width: 992px) {
    .why-istanbul-content {
        flex-direction: column;
    }
    
    .why-istanbul-text {
        padding: 30px;
        order: 2;
    }
    
    .why-istanbul-image {
        order: 1;
        min-height: 350px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        transition: var(--transition);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        margin-top: 30px;
    }
    
    .why-istanbul {
        padding: 70px 0;
    }
    
    .why-istanbul h2 {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }
    
    .why-istanbul-text {
        padding: 30px 25px;
    }
    
    .why-istanbul-image {
        min-height: 300px;
    }
}

@media (max-width: 576px) {
    .why-istanbul {
        padding: 60px 0;
    }
    
    .why-istanbul h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .why-istanbul-text {
        padding: 30px 20px;
    }
    
    .why-istanbul-text p {
        font-size: 1rem;
    }
    
    .why-istanbul-image {
        min-height: 250px;
    }
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 30px 0;
    text-align: center;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 0 5px;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hidden {
    display: none;
}
