/**
 * Derya Baştuğ Beauty - Özel Stiller
 * ====================================
 */

/* ===== CSS Değişkenleri ===== */
:root {
    --brand-gold: #d4af37;
    --brand-rose: #fce7e7;
    --brand-dark: #2c2c2c;
    --brand-accent: #e89a9a;
    --brand-light: #f8f8f8;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--brand-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--brand-accent);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-gold);
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
}

.font-serif {
    font-family: var(--font-serif);
}

.font-sans {
    font-family: var(--font-sans);
}

/* ===== Hero Section ===== */
.hero-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                      url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
}

@media (max-width: 768px) {
    .hero-bg {
        background-attachment: scroll;
    }
}

/* ===== Navbar ===== */
.navbar {
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-link {
    position: relative;
    text-decoration: none;
    color: var(--brand-dark);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-gold);
    transition: var(--transition);
}

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

.nav-link:hover {
    color: var(--brand-accent);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--brand-dark);
    color: white;
}

.btn-primary:hover {
    background: var(--brand-accent);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

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

.btn-gold {
    background: var(--brand-gold);
    color: white;
}

.btn-gold:hover {
    background: white;
    color: var(--brand-dark);
}

.btn-whatsapp {
    background: #25d366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128c7e;
}

/* ===== Service Cards ===== */
.service-card {
    background: var(--brand-light);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #eee;
    transition: var(--transition);
}

.service-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.service-card .icon-box {
    width: 4rem;
    height: 4rem;
    background: var(--brand-rose);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--brand-accent);
    margin-bottom: 1.5rem;
    transition: all 0.6s ease;
}

.service-card:hover .icon-box {
    background: var(--brand-gold);
    color: white;
    transform: rotateY(360deg);
}

.service-card h3 {
    transition: var(--transition);
}

.service-card:hover h3 {
    color: var(--brand-gold);
}

/* ===== Gallery ===== */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    height: 16rem;
}

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

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

.gallery-item .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.gallery-item:hover .overlay {
    background: rgba(0, 0, 0, 0.3);
}

.gallery-item .overlay i {
    color: white;
    font-size: 2rem;
    opacity: 0;
    transform: scale(0);
    transition: var(--transition);
}

.gallery-item:hover .overlay i {
    opacity: 1;
    transform: scale(1);
}

/* ===== WhatsApp Float Button ===== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4);
}

/* Pulse Animation */
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25d366;
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* ===== Form Styles ===== */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    background: var(--brand-light);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 3px rgba(232, 154, 154, 0.2);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

/* ===== Section Styles ===== */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    color: var(--brand-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.section-heading {
    font-size: 2.5rem;
    font-style: italic;
    color: var(--brand-dark);
}

/* ===== CTA Banner ===== */
.cta-banner {
    background: var(--brand-dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-banner .decoration-circle {
    position: absolute;
    border-radius: 50%;
}

.cta-banner .decoration-circle.top-right {
    top: 0;
    right: 0;
    width: 16rem;
    height: 16rem;
    background: white;
    opacity: 0.05;
    transform: translate(25%, -25%);
}

.cta-banner .decoration-circle.bottom-left {
    bottom: 0;
    left: 0;
    width: 12rem;
    height: 12rem;
    background: var(--brand-gold);
    opacity: 0.1;
    transform: translate(-25%, 25%);
}

/* ===== Footer ===== */
.footer {
    background: #111;
    color: white;
}

.footer a {
    color: #9ca3af;
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: white;
}

.footer-title {
    color: var(--brand-gold);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--brand-gold);
    color: white !important;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-bounce {
    animation: bounce 1s infinite;
}

/* ===== Utility Classes ===== */
.text-brand-gold { color: var(--brand-gold); }
.text-brand-accent { color: var(--brand-accent); }
.text-brand-dark { color: var(--brand-dark); }
.bg-brand-gold { background-color: var(--brand-gold); }
.bg-brand-rose { background-color: var(--brand-rose); }
.bg-brand-dark { background-color: var(--brand-dark); }
.bg-brand-accent { background-color: var(--brand-accent); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .section {
        padding: 3rem 0;
    }
    
    .section-heading {
        font-size: 2rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
}

/* ===== Loading Animation ===== */
.page-loader {
    position: fixed;
    inset: 0;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--brand-rose);
    border-top-color: var(--brand-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
