/* ==========================================================================
   Gazi Mahallesi Kına Salonu - Style Sheet (v3)
   ========================================================================== */

/* --- CSS Variables --- */
:root {
    --primary-gold: #d4af37;
    --primary-gold-hover: #b5952f;
    --primary-red: #800020; /* Burgundy / Bordo */
    --bg-light: #fffaf0; /* Creamy White */
    --bg-dark: #2c1e16; /* Very dark warm brown/charcoal */
    --text-dark: #332218;
    --text-light: #ffffff;
    --text-gray: #6b5c54;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 10px rgba(128, 0, 32, 0.05);
    --shadow-md: 0 5px 20px rgba(128, 0, 32, 0.1);
    --shadow-lg: 0 10px 30px rgba(128, 0, 32, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.section-subtitle {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.text-center {
    text-align: center;
}

/* --- Buttons --- */
.btn-primary, .btn-gold {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--primary-gold);
    color: var(--bg-dark);
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 2px solid var(--primary-gold);
    cursor: pointer;
    transition: var(--transition);
}

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

/* --- Header / Nav --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(44, 30, 22, 0.85); /* Dark transparent */
    backdrop-filter: blur(10px);
    transition: var(--transition);
    padding: 15px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

header.scrolled {
    padding: 10px 0;
    background-color: rgba(44, 30, 22, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text span {
    font-size: 0.8rem;
    color: var(--text-light);
    letter-spacing: 5px;
    font-family: var(--font-body);
    font-weight: 300;
}

header.scrolled .logo-text {
    font-size: 1.3rem;
}

header.scrolled .logo-text span {
    font-size: 0.7rem;
}

.main-nav ul {
    display: flex;
    gap: 25px;
}

.main-nav a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

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

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-gold);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('images/mini_IMG_7718.JPG'); /* Kına gecesi konseptine uygun bir resim seçilebilir */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-light);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(128, 0, 32, 0.7), rgba(44, 30, 22, 0.9)); /* Burgundy gradient */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero .subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
    color: var(--primary-gold);
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    color: var(--text-light);
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 40px;
}

/* --- Page Header (For Subpages) --- */
.page-header {
    height: 40vh;
    min-height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('images/mini_IMG_7712.JPG'); /* Kına detay resmi */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-light);
    margin-bottom: 50px;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(128, 0, 32, 0.8), rgba(44, 30, 22, 0.9));
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
}

.page-header h1 {
    font-size: 3.5rem;
    color: var(--primary-gold);
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.breadcrumb {
    color: var(--text-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.breadcrumb a {
    color: var(--primary-gold);
}

.breadcrumb a:hover {
    color: var(--text-light);
}

/* --- About Section --- */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    color: var(--primary-red);
}

.about-text p {
    color: var(--text-gray);
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.features {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.feature-item i {
    font-size: 2rem;
    color: var(--primary-gold);
}

.feature-item span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-red);
}

.about-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--primary-red);
    color: var(--primary-gold);
    padding: 30px;
    border-radius: 50%;
    width: 160px;
    height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 5px solid var(--bg-light);
}

.experience-badge .years {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-heading);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    color: var(--text-light);
}

/* --- Services Section --- */
.bg-light {
    background-color: #ffffff;
}

.services .section-header {
    margin-bottom: 50px;
}

.services .section-header h2 {
    font-size: 2.8rem;
    color: var(--primary-red);
}

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

.service-card {
    background-color: var(--bg-light);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(128, 0, 32, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--primary-red);
    z-index: -1;
    transition: var(--transition);
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
}

.service-card:hover::before {
    height: 100%;
}

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

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

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

.service-card:hover .service-icon {
    color: var(--primary-gold);
}

.service-card:hover h3,
.service-card:hover p {
    color: var(--text-light);
}

/* --- Gallery Section --- */
.gallery .section-header {
    margin-bottom: 50px;
}

.gallery .section-header h2 {
    font-size: 2.8rem;
    color: var(--primary-red);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    border: 3px solid transparent;
    transition: var(--transition);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(128, 0, 32, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay i {
    color: var(--primary-gold);
    font-size: 2rem;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover {
    border-color: var(--primary-gold);
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: translateY(0);
}

/* --- Lightbox --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(44, 30, 22, 0.95);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    animation-name: zoom;
    animation-duration: 0.3s;
    border-radius: 5px;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
    border: 2px solid var(--primary-gold);
}

@keyframes zoom {
    from {transform:scale(0.8)} 
    to {transform:scale(1)}
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--text-light);
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: var(--primary-gold);
}

/* --- Contact Section --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background-color: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.contact-info {
    padding: 50px;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-red);
}

.contact-info > p {
    color: var(--text-gray);
    margin-bottom: 40px;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-list .icon {
    width: 50px;
    height: 50px;
    background-color: rgba(128, 0, 32, 0.1);
    color: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-list .details strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary-red);
    margin-bottom: 5px;
}

.info-list .details a,
.info-list .details p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.5;
}

.info-list .details a:hover {
    color: var(--primary-gold);
}

.contact-map {
    height: 100%;
    min-height: 400px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* --- Footer --- */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding-top: 80px;
    border-top: 5px solid var(--primary-red);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand .logo-text {
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: inline-block;
}

.footer-brand p {
    color: #cccccc;
    margin-top: 20px;
    max-width: 300px;
}

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

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

.footer-links ul li a {
    color: #cccccc;
}

.footer-links ul li a:hover {
    color: var(--primary-gold);
    padding-left: 5px;
}

.footer-contact p {
    color: #cccccc;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact i {
    color: var(--primary-gold);
    margin-top: 5px;
}

.footer-bottom {
    background-color: #1a110c;
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: #888888;
    font-size: 0.9rem;
}

/* --- WhatsApp Float Button --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    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);
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #fff;
    transform: scale(1.1);
}

/* --- Animations --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.visible {
    opacity: 1;
    transform: translate(0);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .about-container, .contact-wrapper, .footer-container {
        grid-template-columns: 1fr;
    }
    
    .experience-badge {
        width: 120px;
        height: 120px;
        padding: 20px;
        left: -10px;
        bottom: -10px;
    }
    
    .experience-badge .years { font-size: 1.4rem; }
    .experience-badge .text { font-size: 0.7rem; }
    
    .contact-map { min-height: 300px; }
    
    .hero h1 { font-size: 3.5rem; }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: var(--bg-dark);
        flex-direction: column;
        padding-top: 80px;
        transition: 0.4s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .header-contact {
        display: none;
    }
    
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1rem; }
    
    .about-text h2, .services .section-header h2, .gallery .section-header h2, .contact-info h2 {
        font-size: 2rem;
    }
    
    .section-padding { padding: 60px 0; }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}
