/*
Theme Name: GeneratePress Child
Description: Child theme for dental clinic website
Author: Your Name
Template: generatepress
Version: 1.0.0
*/

/* Custom Styles */

:root {
    --primary-color: #8B7355;
    --secondary-color: #A68B6B;
    --accent-color: #C4A77D;
    --text-color: #5C4A37;
    --light-bg: #F5F1EB;
    --beige-bg: #FAF8F4;
    --pastel-pink: #E8D5C4;
    --pastel-green: #D4C4A8;
    --pastel-brown: #B8A082;
}

/* Bodoni Moda font will be loaded via functions.php */

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background-color: var(--beige-bg);
    line-height: 1.6;
}

/* Headings with Bodoni Moda font */
h1, h2, h3, h4, h5, h6,
.section-title,
.entry-title,
.site-title,
.blog-post-card .entry-title,
.hero-content h1,
.feature-item h3,
.service-card h3,
.faq-question {
    font-family: 'Bodoni Moda', Georgia, serif !important;
    font-weight: 700 !important;
    line-height: 1.3;
    color: var(--text-color);
}

/* Ensure all headings use Bodoni Moda */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Bodoni Moda', Georgia, serif !important;
    font-weight: 700 !important;
}

ul {
    list-style: none; /* Madde işaretlerini kaldırır */
    padding: 0;       /* Sol boşluğu sıfırlar */
    margin: 0;        /* Varsayılan margin’i sıfırlar */
}

ul li {
    margin: 0;        /* Her bir li için boşluk sıfır */
}


/* Header Styles */
.site-header {
    background: var(--beige-bg);
    box-shadow: 0 2px 10px rgba(139, 115, 85, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--pastel-pink);
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.main-navigation li {
    background: none;

}

.main-navigation a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    background: none;
    padding: 0;
    display: block;
}

.main-navigation a:hover {
    color: var(--primary-color);
    background: none;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--pastel-brown) 0%, var(--accent-color) 100%);
    color: #fff;
    padding: 0;
    text-align: left;
    position: relative;
    min-height: 800px;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(92, 74, 55, 0.6);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
	    margin-left: 0;

}

.hero-content-left {
    max-width: 600px;
    text-align: left;
	    margin-left: 600px;

}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #fff;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-content-left h1,
.hero-content-left p {
    color: #fff;
}

.btn-primary {
    background: var(--beige-bg);
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(139, 115, 85, 0.3);
    background: #fff;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: var(--light-bg);
}

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

.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(139, 115, 85, 0.1);
    transition: transform 0.3s;
    border: 1px solid var(--pastel-pink);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(139, 115, 85, 0.2);
    border-color: var(--accent-color);
}

.service-card h3 {
    color: var(--primary-color);
    margin: 1rem 0;
}

.service-icon {
    display: none;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Features Section */
.features-section {
    padding: 80px 0;
}

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

.feature-item {
    text-align: center;
}

.feature-icon {
    display: none;
}

.feature-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.faq-item {
    background: #fff;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(139, 115, 85, 0.1);
    border: 1px solid var(--pastel-pink);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--beige-bg);
}

.faq-item.active .faq-question {
    background: var(--pastel-pink);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

/* Google Reviews Section */
.google-reviews-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.google-reviews-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.google-logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.google-reviews-info {
    text-align: center;
}

.google-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.stars {
    color: #FFC107;
    font-size: 1.2rem;
}

.rating-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.total-reviews {
    color: #666;
    font-size: 0.9rem;
}

.google-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.google-review-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(139, 115, 85, 0.1);
    border: 1px solid var(--pastel-pink);
    transition: transform 0.3s, box-shadow 0.3s;
}

.google-review-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(139, 115, 85, 0.15);
}

.review-header {
    margin-bottom: 1rem;
}

.review-author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.review-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--pastel-brown);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
}

.review-author-name {
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 0.25rem 0;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.review-rating .star {
    color: #ddd;
    font-size: 0.9rem;
}

.review-rating .star.filled {
    color: #FFC107;
}

.review-time {
    color: #999;
    font-size: 0.85rem;
    margin-left: 0.5rem;
}

.review-text {
    color: #555;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.google-reviews-footer {
    text-align: center;
    margin-top: 2rem;
}

.view-all-reviews {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.view-all-reviews:hover {
    color: var(--pastel-brown);
    text-decoration: underline;
}

/* Appointment Form */
.appointment-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.appointment-form {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(139, 115, 85, 0.1);
    border: 1px solid var(--pastel-pink);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--pastel-pink);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(196, 167, 125, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background: var(--primary-color);
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: var(--pastel-brown);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 10px;
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Footer */
.site-footer {
    background: var(--primary-color);
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
	    list-style: none;

}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--beige-bg);
	    list-style: none;

}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #fff;
}

.btn-footer-appointment {
    display: inline-block;
    background: var(--beige-bg);
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: background 0.3s, color 0.3s;
    border: 2px solid var(--beige-bg);
}

.btn-footer-appointment:hover {
    background: transparent;
    color: var(--beige-bg);
    border-color: var(--beige-bg);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #ccc;
}

/* Social Icons */
.social-icons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.social-icons a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1rem;
}

.social-icons a:hover {
    color: #fff;
}

/* Header Wrapper */
.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.site-branding .site-title {
    margin: 0;
    font-size: 1.5rem;
}

.site-branding .site-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-appointment {
    background: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-appointment:hover {
    background: var(--pastel-brown);
}

.lang-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Form Error State */
.form-group input.error,
.form-group textarea.error {
    border-color: #dc3545;
}

/* FAQ Toggle Icon */
.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 5px;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

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

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

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

.required {
    color: #dc3545;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: 400px;
        padding: 80px 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content-left {
        max-width: 100%;
			    margin-left: 0;

    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .header-wrapper {
       display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap !important;
    width: 100%;
    }
    
    .site-header {
        padding: 0;
    }
    
    .site-header .container {
        padding: 0 15px;
    }
    
    .menu-toggle {
        order: 3;
    display: flex;
    margin-right: 0;
    flex-shrink: 0;

    }
    
    .site-branding {
        order: 1;
        flex: 1;
        text-align: center;
    }
    
	.header-actions {
        order: 2;
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-shrink: 0; /* Sağ blok taşmamalı */
}
	
	 .main-navigation {
        order: 4;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
	
    .site-branding .site-title {
        font-size: 1rem;
    }
    
   
    
    .main-navigation.active {
        max-height: 500px;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        text-align: left;
        padding: 1rem 0;
    }
    
    .main-navigation li {
        border-bottom: 1px solid var(--pastel-pink);
    }
    
    .main-navigation a {
        padding: 1rem;
        display: block;
    }
    
    
    .btn-appointment {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .language-switcher {
        font-size: 0.85rem;
    }
    
    .appointment-form {
        padding: 2rem 1.5rem;
    }
    
    .blog-content {
        grid-template-columns: 1fr !important;
    }
    
    .blog-sidebar {
        position: static !important;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.5rem;
    }
}

/* Gallery */
.gallery-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 3rem;
}

@media (max-width: 768px) {
   .gallery-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
}

    
    .gallery-item {
        width: 100%;
        aspect-ratio: auto;
    }
    
    .gallery-item img {
        width: 100%;
        height: auto;
        display: block;
    }
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.gallery-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--pastel-brown) 0%, var(--accent-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    text-align: center;
    padding: 1rem;
}

/* Blog Archive Styles */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.blog-post-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--pastel-pink);
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(139, 115, 85, 0.2);
}

.blog-post-card .post-thumbnail {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--light-bg);
}

.blog-post-card .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-thumbnail-placeholder {
    width: 100%;
    height: 200px;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--pastel-pink) 0%, var(--pastel-green) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 0.9rem;
}

.blog-post-card .post-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-post-card .entry-title {
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
}

.blog-post-card .entry-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.blog-post-card .entry-title a:hover {
    color: var(--pastel-brown);
}

.blog-post-card .entry-meta {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.blog-post-card .entry-meta .separator {
    color: #ccc;
}

.blog-post-card .entry-excerpt {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
    font-size: 0.95rem;
}

.blog-post-card .entry-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.blog-post-card .read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.blog-post-card .read-more:hover {
    color: var(--pastel-brown);
}

.pagination {
    margin-top: 3rem;
    text-align: center;
}

.no-posts {
    text-align: center;
    padding: 3rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.no-posts h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.no-posts p {
    color: #666;
}

@media (max-width: 1200px) {
    .blog-posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .blog-post-card .post-thumbnail,
    .post-thumbnail-placeholder {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .blog-posts-grid {
        grid-template-columns: 1fr;
    }
}

