/*
Theme Name: 35Dijital Sağlık
Theme URI: https://35dijital.com
Author: 35Dijital
Description: Modern diş kliniği teması
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: 35dijital-saglik
*/

/* Global Styles */
:root {
    --primary-color: #0284c7;
    --primary-dark: #1e40af;
    --secondary-color: #1e3a8a;
    --text-color: #1f2937;
    --light-gray: #f3f4f6;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* Header Styles */
.custom-logo-link img,
.custom-logo {
    max-height: 60px !important;
    width: auto !important;
    transition: all 0.3s ease;
}

/* Custom Background Override */
.bg-custom-white {
    background-color: white !important;
}

.bg-custom-primary {
    background-color: var(--primary-color) !important;
}

/* Top Info Bar */
.top-info-bar {

    font-size: 14px;
    border-bottom: 1px solid #eee;
}

.header-top-social {
    background-color: #f3f4f6 !important;
}

.header-top-social a {
    font-size: 14px;
    margin: 0 6px;
    transition: all 0.2s ease;
}

.header-top-social a:hover {
    transform: translateY(-2px);
}

/* Main Header */
.main-header {
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
    background-color: white;
}

.sticky-active {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sticky-active .custom-logo-link img,
.sticky-active .custom-logo {
    max-height: 50px !important;
}

/* Logo */
.logo-area {
    display: flex;
    align-items: center;
}

/* Navigation Styles */
.main-navigation ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-navigation li {
    position: relative;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 17px;
    padding: 8px 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    position: relative;
}

.main-navigation a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-navigation a:hover {
    color: var(--primary-color);
}

.main-navigation a:hover:after {
    width: 80%;
}

.main-navigation .current-menu-item a {
    color: var(--primary-color);
}

.main-navigation .current-menu-item a:after {
    width: 80%;
}

/* Header Buttons & Social Icons */
.header-social-icons {
    display: flex;
    gap: 10px;
}

.header-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--light-gray);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.header-social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.header-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
}

.header-cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(37, 99, 235, 0.3);
    color: white;
}

/* Social Icons */
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--light-gray);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Mobile Menu */
#mobile-menu {
    border-top: 1px solid #eee;
    background-color: white;
}

.mobile-menu-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-items li {
    margin-bottom: 10px;
}

.mobile-menu-items li a {
    display: block;
    padding: 12px 0;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    border-bottom: 1px solid #eee;
    transition: color 0.3s ease;
}

.mobile-menu-items li a:hover {
    color: var(--primary-color);
}

.mobile-social-icons {
    margin-bottom: 20px;
    background-color: white;
}

/* Floating Action Buttons */
.fixed-action-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
}

.fab-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.fab-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.35);
    color: white;
}

.fab-call {
    background-color: #4CAF50;
}

.fab-whatsapp {
    background-color: #25D366;
}

/* Back to Top Button */
.back-to-top-button {
    position: fixed;
    bottom: -60px;
    right: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 99;
    border: none;
    cursor: pointer;
    opacity: 0;
}

.back-to-top-button.show {
    bottom: 110px;
    opacity: 1;
}

.back-to-top-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Footer Styles */
.footer-column {
    margin-bottom: 30px;
}

.footer-title {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-link {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-link:hover {
    color: white;
    transform: translateX(5px);
}

.footer-contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #cbd5e1;
}

.footer-social-icons {
    display: flex;
    gap: 12px;
}

.footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    color: white;
}

/* Hero Section */
.hero-slider {
    height: 600px;
}

.hero-slider .swiper-slide {
    position: relative;
}

.hero-slider .swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6));
}

.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    color: white;
    background: rgba(0,0,0,0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.hero-slider .swiper-button-next:after,
.hero-slider .swiper-button-prev:after {
    font-size: 18px;
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.hero-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    opacity: 0.7;
}

.hero-slider .swiper-pagination-bullet-active {
    background-color: var(--primary-color);
    opacity: 1;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

/* Team Section */
.team-member {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Contact Form */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    transition: border-color 0.3s ease;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.wpcf7-submit {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.wpcf7-submit:hover {
    background: var(--primary-dark);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Animations */
.animate-fadeIn {
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-navigation ul {
        display: none !important;
    }
    
    #mobile-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    #mobile-menu ul li {
        margin-bottom: 10px;
    }
    
    #mobile-menu ul li a {
        display: block;
        padding: 8px 0;
        color: var(--text-color);
        text-decoration: none;
        font-weight: 500;
        border-bottom: 1px solid #eee;
    }
    
    .fixed-action-buttons {
        bottom: 20px;
        right: 20px;
    }
    
    .fab-button {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 400px;
    }
    
    .hero-slider h1 {
        font-size: 2rem;
    }
    
    .service-card,
    .team-member,
    .testimonial-card {
        margin-bottom: 1.5rem;
    }
    
    .fixed-action-buttons {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }
    
    .fab-button {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .back-to-top-button.show {
        bottom: 90px;
    }
}

/* Hero bölümü için özel stiller */
.hero-section .md\:w-1\/2 {
    min-height: 500px;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .hero-section .md\:w-1\/2 {
        min-height: 350px;
    }
}

/* Social Media Icons Colors */
.fab.fa-facebook-f, 
.social-icon .fa-facebook-f {
    color: #1877F2; /* Facebook blue */
}

.fab.fa-instagram, 
.social-icon .fa-instagram {
    color: #E1306C; /* Instagram red */
}

.fab.fa-twitter, 
.social-icon .fa-twitter {
    color: #1DA1F2; /* Twitter blue */
}

.fab.fa-youtube, 
.social-icon .fa-youtube {
    color: #FF0000; /* YouTube red */
}

.social-icon:hover .fab {
    color: white !important;
}

/* Override all classes with !important for necessary areas */
#mobile-menu, 
.mobile-social-icons,
.social-icon {
    background-color: white !important;
}

/* Aspect Ratio Utilities */
.aspect-w-4 {
    position: relative;
    padding-bottom: calc(var(--tw-aspect-h) / var(--tw-aspect-w) * 100%);
    --tw-aspect-w: 4;
}

.aspect-h-3 {
    --tw-aspect-h: 3;
}

.aspect-w-4 > * {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
} 
