/* 
   Güzellik Salonu Template - Style.css
   Renkler: Bej (#F5F5DC), Açık Pembe (#FFE4E1), Soft Gri (#D3D3D3)
   Fontlar: Playfair Display, Lato
*/

:root {
    --primary-color: #d4a373;
    /* Sütlü kahvemsi, daha modern */
    --secondary-color: #faedcd;
    /* Bej */
    --accent-color: #ccd5ae;
    /* Soft yeşil/gri ton */
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --light-pink: #fefae0;
    /* Çok açık krem/pembe */
    --bg-light: #fafafa;
    --transition: all 0.3s ease;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
    width: 100%;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    display: inline-block;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
    cursor: pointer;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    display: inline-block;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    border: 2px solid var(--white);
    cursor: pointer;
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header .divider {
    height: 3px;
    width: 70px;
    background-color: var(--primary-color);
    margin: 0 auto 20px;
}

.section-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

section {
    padding: 100px 0;
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
}

.logo-svg {
    width: 45px;
    height: 45px;
    transition: var(--transition);
}

.logo:hover .logo-svg {
    transform: rotate(-5deg) scale(1.05);
}

.logo span {
    color: var(--primary-color);
}

.navbar {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    margin-right: 30px;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-weight: 400;
    font-size: 1rem;
    color: var(--text-dark);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2rem;
    cursor: pointer;
}

.mobile-nav-links li {
    margin: 20px 0;
    text-align: center;
}

.mobile-nav-links a {
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
}

.mobile-menu-btn {
    margin-top: 20px;
}

/* Hero Section */
#hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('https://images.unsplash.com/photo-1570172619644-dfd03ed5d881?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 0;
    /* Override section margin/padding if any conflict */
    padding: 0;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
    animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 1px 1px 15px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    margin-top: 0;
    /* Reset */
    color: #f0f0f0;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* About Section */
#about {
    background-color: var(--white);
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 30px;
    color: var(--text-light);
}

.values-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.values-list li i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.2rem;
    transition: var(--transition);
}

.values-list li:hover i {
    transform: scale(1.2);
}

.about-image {
    flex: 1;
    position: relative;
}

/* Placeholder box for about image */
.img-placeholder {
    width: 100%;
    height: 400px;
    background-color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--primary-color);
    font-size: 4rem;
    position: relative;
}

.img-placeholder::after {
    content: '';
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    z-index: -1;
}

/* Services Section */
#services {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 35px rgba(212, 163, 115, 0.15);
    background: linear-gradient(145deg, #ffffff, #fff9f5);
}

.service-card .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Why Us Section */
#why-us {
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 20px;
}

.feature-item i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.feature-item h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-item p {
    color: var(--text-light);
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating {
    animation: float 4s ease-in-out infinite;
}

/* Appointment Section */
#appointment {
    background: linear-gradient(rgba(212, 163, 115, 0.9), rgba(212, 163, 115, 0.9)), url('https://images.unsplash.com/photo-1560750588-73207b1ef5b8?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') no-repeat center center/cover;
    color: var(--white);
}

.appointment-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.appointment-wrapper .section-header {
    margin-bottom: 40px;
}

.appointment-wrapper .section-header h2 {
    color: var(--text-dark);
}

.appointment-wrapper .section-header p {
    color: var(--text-light);
}

#appointment-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid transparent;
    /* Prepare for border transition */
    background-color: #f4f4f4;
    border-radius: 8px;
    /* Softer corners */
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    outline: none;
    transition: var(--transition);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03);
    /* Subtle inner shadow */
    resize: vertical;
    /* Sadece dikeyde büyütülebilir, yatayda sabit kalır */
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background-color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(212, 163, 115, 0.15);
    /* Glow effect */
}

/* Custom Select Arrow */
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='gray' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.full-width {
    grid-column: span 2;
}

/* Button CTA within Form */
#appointment-form button {
    margin-top: 10px;
    padding: 15px;
    font-size: 1rem;
    letter-spacing: 1px;
    background: linear-gradient(45deg, var(--primary-color), #c68e59);
    border: none;
    box-shadow: 0 4px 15px rgba(212, 163, 115, 0.4);
}

#appointment-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 163, 115, 0.6);
}

/* Footer */
#contact {
    background-color: #222;
    color: #fff;
    padding-top: 80px;
    padding-bottom: 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.footer-col.info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: #bbb;
}

.footer-col.info i {
    margin-right: 15px;
    color: var(--primary-color);
    width: 20px;
}

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

.social-icons a {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #bbb;
    margin: 0 10px;
}

.footer-bottom a:hover {
    color: var(--white);
}

/* Responsive */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }

    .appointment-wrapper {
        padding: 30px;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .desktop-btn {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .logo a {
        font-size: 1.4rem;
    }

    .appointment-wrapper {
        padding: 20px 15px;
    }

    #appointment-form {
        grid-template-columns: 1fr;
    }

    .full-width {
        grid-column: span 1;
    }

    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}