/* Frizerka Kuaför Salonu - Ana Stil Dosyası */

/* CSS Değişkenleri - Renk Paleti */
:root {
    --primary-white: #ffffff;
    --primary-gold: #d4af37;
    --primary-gold-dark: #b8941f;
    --primary-pink: #f8e6e6;
    --secondary-gold: #b8941f;
    --text-dark: #2c2c2c;
    --text-light: #6c6c6c;
    --border-light: #e0e0e0;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
}

/* Genel Reset ve Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Image Stabilization - Titreme önleme */
img {
    display: block;
    max-width: 100%;
    height: auto;
    transition: none !important;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Image containers için sabit boyutlar */
.image-container {
    position: relative;
    overflow: hidden;
    background: var(--primary-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.image-container img:hover {
    transform: scale(1.05);
}

/* Placeholder for missing images */
.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-gold) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-white);
    font-size: 14px;
    text-align: center;
    font-weight: 500;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--primary-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Stilleri */
.header {
    background: linear-gradient(135deg, var(--primary-white) 0%, var(--primary-pink) 100%);
    padding: 20px 0;
    box-shadow: 0 2px 10px var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-actions .nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.header-actions .nav-link:hover {
    background: var(--primary-pink);
    color: var(--primary-gold);
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-gold);
    text-decoration: none;
    text-shadow: 1px 1px 2px var(--shadow-light);
}

.logo:hover {
    color: var(--secondary-gold);
    transition: color 0.3s ease;
}

/* Navigation */
.main-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Buton Stilleri */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-gold) 100%);
    color: var(--primary-white);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-large {
    padding: 15px 30px;
    font-size: 18px;
}

.btn-secondary {
    background: var(--primary-white);
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
}

.btn-secondary:hover {
    background: var(--primary-gold);
    color: var(--primary-white);
}

/* Ana İçerik Alanı */
.main-content {
    padding: 60px 0;
}

.hero-section {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
    margin: 0 auto 80px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(2px);
}

.carousel-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 0 20px;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem !important;
    color: white !important;
    margin-bottom: 20px;
    font-weight: 300;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    animation: slideInDown 1s ease-out;
    position: relative;
    display: inline-block;
    padding: 20px 40px !important;
    background: linear-gradient(135deg, #b8941f 0%, rgba(212, 175, 55, 0.4) 100%) !important;
    border-radius: 20px !important;
    border: 3px solid #fff !important;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4) !important;
}

/* Hero title background effect */

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-weight: 400;
    line-height: 1.6;
    animation: slideInUp 1s ease-out 0.3s both;
}

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hizmet Kartları */
.services-section {
    margin-bottom: 80px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 50px;
    font-weight: 300;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background: var(--primary-white);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 25px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-light);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--shadow-medium);
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-gold) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    position: absolute;
    top: 0;
    left: 0;
    transition: none;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.service-image:hover {
    transform: translateY(-5px);
}

.service-image::before {
    content: "🎨 Hizmet";
    position: absolute;
    color: var(--primary-white);
    font-size: 14px;
    font-weight: 500;
    z-index: 1;
    opacity: 0;
}

.service-image:not(:has(img))::before {
    opacity: 1;
}

.service-title {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.service-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.5;
}

.service-price {
    font-size: 1.8rem;
    color: var(--primary-gold);
    font-weight: bold;
    margin-bottom: 15px;
}

.service-duration {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 14px;
}

.service-duration i {
    margin-right: 5px;
}

/* Hakkımızda Section */
.about-section {
    background: var(--primary-pink);
    padding: 80px 0;
    margin-bottom: 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.features {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.feature i {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 10px;
}

.feature span {
    color: var(--text-dark);
    font-weight: 600;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-medium);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--text-dark) 0%, #1a1a1a 100%);
    color: var(--primary-white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--primary-gold);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section p,
.footer-section a {
    color: #cccccc;
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
}

.footer-section a:hover {
    color: var(--primary-gold);
    transition: color 0.3s ease;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary-gold);
    color: var(--primary-white);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-link:hover {
    background: var(--secondary-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #999;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav {
        gap: 20px;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .hero-section {
        height: 70vh;
        min-height: 500px;
        width: 100%;
    }
    
    .hero-title {
        font-size: 2.5rem;
        padding: 12px 20px;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .features {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-section {
        height: 60vh;
        min-height: 400px;
        width: 100%;
    }
    
    .hero-title {
        font-size: 2rem;
        padding: 10px 15px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .service-card {
        padding: 15px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Özel Scroll Bar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-pink);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-gold);
}

/* Contact Page Styles */
.page-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 0;
}

.page-title {
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 300;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.contact-info-section, .contact-form-section {
    background: var(--primary-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-light);
}

.contact-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--secondary-pink) 100%);
    border-radius: 15px;
    color: rgb(0, 0, 0);
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-gold);
    min-width: 40px;
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 10px;
}

.contact-details h3 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-details p {
    margin: 0 0 5px 0;
    opacity: 0.9;
}

.contact-details a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-details a:hover {
    opacity: 0.8;
}

.contact-details .closed {
    font-style: italic;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Contact Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e1e1e1;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--primary-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-pink);
    box-shadow: 0 0 0 3px rgba(255, 20, 147, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Contact Extra Section */
.contact-extra {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-map, .contact-social {
    background: var(--primary-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow-light);
}

.contact-map h3, .contact-social h3 {
    margin-bottom: 20px;
    color: var(--text-dark);
    font-size: 1.3rem;
}

.map-placeholder {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 30px;
    border-radius: 10px;
    text-align: center;
    color: var(--text-light);
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--primary-pink);
}

.social-links-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.social-link-large {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: white;
}

.social-link-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-link-large.facebook {
    background: #1877f2;
}

.social-link-large.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link-large.whatsapp {
    background: #25d366;
}

.social-link-large.youtube {
    background: #ff0000;
}

.social-link-large i {
    font-size: 1.2rem;
}

.social-link-large span {
    font-weight: 600;
}

/* Active Navigation */
.nav-link.active {
    color: var(--primary-pink);
    font-weight: 600;
}

/* Responsive Contact Page */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info-section, .contact-form-section {
        padding: 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-extra {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .social-links-large {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .contact-info-section, .contact-form-section {
        padding: 20px;
    }
    
    .contact-card {
        padding: 15px;
    }
    
    .contact-map, .contact-social {
        padding: 20px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
}