/* 
* Sinemin Güzellik Evi - Main Stylesheet
* Created: Ağustos 2025
*/

/*--------------------------------------------------------------
# Variables & Root
--------------------------------------------------------------*/
:root {
    --color-light-pink: #f7e4e8;
    --color-dark-pink: #d77a8b;
    --color-white: #fefefe;
    --color-gold: #f0c9cf;
    --color-gold-dark: #e8b7bd;
    --color-text: #333333;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --transition-speed: 0.5s;
}

/*--------------------------------------------------------------
# Global Styles
--------------------------------------------------------------*/
html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    overflow-x: hidden !important;
    background-color: var(--color-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}

section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--color-dark-pink);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background-color: var(--color-dark-pink);
}

.section-header p {
    color: var(--color-text);
    font-size: 1.2rem;
}

.btn {
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 500;
    transition: all var(--transition-speed) ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(215, 122, 139, 0.3);
}

.btn-primary {
    background-color: var(--color-dark-pink);
    border-color: var(--color-dark-pink);
}

.btn-primary:hover {
    background-color: #c96a7b;
    border-color: #c96a7b;
}

.btn-outline-primary {
    color: var(--color-dark-pink);
    border-color: var(--color-dark-pink);
}

.btn-outline-primary:hover {
    background-color: var(--color-dark-pink);
    border-color: var(--color-dark-pink);
}

img {
    max-width: 100%;
}

a {
    color: var(--color-dark-pink);
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

a:hover {
    color: #c96a7b;
}

/*--------------------------------------------------------------
# Header / Navigation
--------------------------------------------------------------*/
.navbar {
    transition: all 0.3s ease-in-out;
    padding: 10px 0;
    width: 100vw;
    max-width: 100%;
    left: 0;
    right: 0;
}

.navbar .container-fluid {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--color-text);
    font-weight: 500;
    padding: 8px 15px;
    position: relative;
}

.navbar-light .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--color-dark-pink);
    transition: all 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover::after,
.navbar-light .navbar-nav .nav-link.active::after {
    width: 70%;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--color-dark-pink);
}

.btn-appointment {
    background-color: var(--color-dark-pink);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(215, 122, 139, 0.2);
    transition: all var(--transition-speed) ease;
}

.btn-appointment:hover {
    background-color: #c96a7b;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(215, 122, 139, 0.3);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero-section {
    height: 100vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: -76px; /* Adjust based on navbar height */
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(215, 122, 139, 0.6), rgba(215, 122, 139, 0.3));
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 4;
    color: white;
    max-width: 800px;
    padding: 0 15px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.btn-hero {
    background-color: white;
    color: var(--color-dark-pink);
    font-size: 1.1rem;
    padding: 12px 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.btn-hero:hover {
    background-color: var(--color-light-pink);
    color: var(--color-dark-pink);
}

.btn-hero-outline {
    border: 2px solid white;
    color: white;
    font-size: 1.1rem;
    padding: 12px 30px;
    background-color: transparent;
    border-radius: 30px;
    transition: all var(--transition-speed) ease;
}

.btn-hero-outline:hover {
    background-color: white;
    color: var(--color-dark-pink);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-arrows {
    position: absolute;
    bottom: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 5;
}

.hero-arrow {
    background-color: rgba(255, 255, 255, 0.7);
    color: var(--color-dark-pink);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.hero-arrow:hover {
    background-color: white;
    transform: scale(1.1);
}

/*--------------------------------------------------------------
# Discount Section
--------------------------------------------------------------*/
.discount-section {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-light-pink) 100%);
    padding: 20px 0;
    position: relative;
}

.discount-banner {
    border-radius: 15px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.discount-content h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--color-dark-pink);
}

.discount-content p {
    font-size: 1.1rem;
    color: var(--color-text);
}

.discount-badge {
    display: inline-block;
    background-color: var(--color-dark-pink);
    color: white;
    padding: 2px 8px;
    border-radius: 15px;
    font-weight: bold;
}

.btn-gold {
    background-color: var(--color-gold-dark);
    color: var(--color-text);
    font-weight: 500;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 2px 10px rgba(232, 183, 189, 0.3);
}

.btn-gold:hover {
    background-color: var(--color-gold);
    color: var(--color-text);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(232, 183, 189, 0.5);
}

.member-status {
    display: inline-block;
    background-color: var(--color-gold-dark);
    color: var(--color-text);
    padding: 10px 15px;
    border-radius: 30px;
    font-weight: 500;
}

.member-status i {
    color: goldenrod;
    margin-right: 5px;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services-section {
    background-color: var(--color-white);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/pattern.png');
    background-size: 200px;
    opacity: 0.03;
    pointer-events: none;
}

.service-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all var(--transition-speed) ease;
    border: 1px solid rgba(240, 201, 207, 0.3);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(215, 122, 139, 0.1);
    border-color: rgba(215, 122, 139, 0.3);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--color-dark-pink);
    margin-bottom: 20px;
    transition: all var(--transition-speed) ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-dark-pink);
}

.service-card p {
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #666;
    min-height: 60px;
}

.service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    font-size: 0.9rem;
}

.service-meta .price {
    font-weight: 700;
    color: var(--color-dark-pink);
    font-size: 1.1rem;
}

.service-meta .duration {
    color: #777;
    display: flex;
    align-items: center;
}

.service-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.service-btn {
    flex: 0 0 auto;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about-section {
    background-color: var(--color-light-pink);
    background-image: url('../img/floral-pattern.png');
    background-size: cover;
    background-blend-mode: soft-light;
}

.about-image img {
    border: 10px solid white;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.about-content {
    padding: 20px;
}

.about-content h2 {
    color: var(--color-dark-pink);
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.about-content p {
    margin-bottom: 15px;
}

.about-content .lead {
    font-size: 1.2rem;
    font-weight: 500;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials-section {
    background-color: white;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-container {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--color-light-pink);
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-rating {
    color: gold;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #555;
}

.testimonial-author h4 {
    color: var(--color-dark-pink);
    font-weight: 600;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background-color: var(--color-dark-pink);
    transform: scale(1.2);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact-section {
    background-color: var(--color-light-pink);
}

.contact-info {
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    margin-bottom: 20px;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--color-dark-pink);
    margin-right: 15px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-item p, .info-item p a {
    margin-bottom: 0;
    color: #666;
}

.working-hours {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.working-hours h3 {
    color: var(--color-dark-pink);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.hour-item:last-child {
    border-bottom: none;
}

.hour-item .day {
    font-weight: 500;
}

.hour-item .time {
    color: #666;
}

.contact-map {
    height: 100%;
    min-height: 300px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Appointment Section
--------------------------------------------------------------*/
.appointment-section {
    background-color: white;
}

.appointment-container {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.appointment-image {
    height: 100%;
    min-height: 300px;
}

.appointment-form {
    padding: 40px;
    background-color: var(--color-white);
}

.appointment-form h2 {
    color: var(--color-dark-pink);
    margin-bottom: 10px;
}

.appointment-form p {
    margin-bottom: 25px;
    color: #666;
}

.form-control, .form-select {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
}

.form-control:focus, .form-select:focus {
    border-color: var(--color-dark-pink);
    box-shadow: 0 0 0 0.25rem rgba(215, 122, 139, 0.25);
}

.btn-appointment-submit {
    background-color: var(--color-dark-pink);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 500;
    border: none;
    width: 100%;
    margin-top: 10px;
    transition: all var(--transition-speed) ease;
}

.btn-appointment-submit:hover {
    background-color: #c96a7b;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(215, 122, 139, 0.3);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer-section {
    background-color: var(--color-dark-pink);
    color: white;
}

.footer-content {
    padding: 60px 0 30px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 10px;
    font-size: 1.1rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.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;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: white;
    color: var(--color-dark-pink);
    transform: translateY(-3px);
}

/*--------------------------------------------------------------
# Back to Top & WhatsApp Float
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    right: 25px;
    bottom: 100px;
    width: 45px;
    height: 45px;
    background-color: var(--color-dark-pink);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: none;
    z-index: 99;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #c96a7b;
    transform: translateY(-3px);
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #20c65b;
    transform: translateY(-5px);
    color: white;
}

/*--------------------------------------------------------------
# Responsive Styles
--------------------------------------------------------------*/
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: white;
        padding: 15px;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        margin-top: 10px;
    }
    
    .navbar {
        width: 100vw !important;
        max-width: 100vw !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 !important;
    }
    
    .navbar .container-fluid {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .hero-section {
        height: 80vh;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 767.98px) {
    section {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .appointment-form {
        padding: 25px;
    }
    
    .hero-arrows {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .btn-hero {
        padding: 10px 20px;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .about-image {
        margin-bottom: 20px;
    }
    
    .about-content {
        padding: 0;
    }
    
    .testimonial-container {
        height: 350px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        right: 15px;
        bottom: 15px;
    }
    
    .back-to-top {
        right: 15px;
        width: 40px;
        height: 40px;
    }
    
    .discount-content h3 {
        font-size: 1.2rem;
    }
    
    .discount-content p {
        font-size: 0.9rem;
    }
}

/*--------------------------------------------------------------
# Login/Register Modal Styles
--------------------------------------------------------------*/
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.modal-header {
    border-bottom: 1px solid var(--color-light-pink);
    background-color: var(--color-light-pink);
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.modal-header .modal-title {
    color: var(--color-dark-pink);
    font-family: var(--font-heading);
    font-weight: 600;
}

.modal-footer {
    border-top: 1px solid var(--color-light-pink);
}

.form-control:focus, .form-select:focus {
    border-color: var(--color-dark-pink);
    box-shadow: 0 0 0 0.25rem rgba(215, 122, 139, 0.25);
}

.form-check-input:checked {
    background-color: var(--color-dark-pink);
    border-color: var(--color-dark-pink);
}

.modal-body .btn-primary {
    background-color: var(--color-dark-pink);
    border-color: var(--color-dark-pink);
}

.modal-body .btn-primary:hover {
    background-color: #c96a7b;
    border-color: #c96a7b;
}

.modal-body a {
    color: var(--color-dark-pink);
    text-decoration: none;
    font-weight: 500;
}

.modal-body a:hover {
    text-decoration: underline;
}

.discount-notice {
    background-color: var(--color-light-pink);
    border-radius: 10px;
    padding: 10px 15px;
}

.discount-notice .alert {
    margin-bottom: 0;
    background-color: transparent;
    border: none;
    color: var(--color-dark-pink);
    padding: 0;
}

/* Form validation styles */
.was-validated .form-control:valid, .form-control.is-valid {
    border-color: #28a745;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
}

.was-validated .form-control:invalid, .form-control.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
}
