/* ==========================================================================
   Gazi Mahallesi Davet Evi - Style Sheet (v4)
   ========================================================================== */

/* --- CSS Variables --- */
:root {
    --primary-gold: #e1c699; /* Champagne Gold */
    --primary-gold-hover: #c9ad7d;
    --primary-dark: #1a2a3a; /* Navy Blue */
    --primary-dark-hover: #121d2a;
    --bg-light: #fdfbf7; /* Pearl White */
    --bg-dark: #152230; /* Deeper Navy for Footer */
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --text-gray: #7f8c8d;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --transition: all 0.3s ease;
    --shadow-sm: 0 4px 15px rgba(26, 42, 58, 0.08);
    --shadow-md: 0 8px 25px rgba(26, 42, 58, 0.12);
    --shadow-lg: 0 15px 40px rgba(26, 42, 58, 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.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-dark);
    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: 90px 0;
}

.section-subtitle {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 15px;
}

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

/* --- Buttons --- */
.btn-primary, .btn-gold {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--primary-gold);
    color: var(--primary-dark);
    border-radius: 4px; /* More corporate/elegant look than fully rounded */
    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(26, 42, 58, 0.9); /* Navy transparent */
    backdrop-filter: blur(10px);
    transition: var(--transition);
    padding: 18px 0;
    border-bottom: 1px solid rgba(225, 198, 153, 0.15);
}

header.scrolled {
    padding: 12px 0;
    background-color: rgba(26, 42, 58, 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.6rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text span {
    font-size: 0.85rem;
    color: var(--primary-gold);
    letter-spacing: 4px;
    font-family: var(--font-body);
    font-weight: 400;
}

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

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

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

.main-nav a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    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: 650px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('images/mini_IMG_7718.JPG'); /* Use mini for speed */
    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 right, rgba(26, 42, 58, 0.85), rgba(26, 42, 58, 0.6)); /* Navy gradient */
    z-index: 1;
}

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

.hero .subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 25px;
    color: var(--primary-gold);
}

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

.hero p {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 45px;
    color: #ecf0f1;
}

/* --- Page Header (For Subpages) --- */
.page-header {
    height: 45vh;
    min-height: 350px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('images/mini_IMG_7712.JPG');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-light);
    margin-bottom: 0; /* Removed margin, using section padding instead */
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(26, 42, 58, 0.8), rgba(26, 42, 58, 0.95));
    z-index: 1;
}

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

.page-header h1 {
    font-size: 3.8rem;
    color: var(--primary-gold);
    margin-bottom: 15px;
}

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

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

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

/* --- About Section --- */
.about {
    background-color: var(--bg-light);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    color: var(--primary-dark);
}

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

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

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

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: rgba(225, 198, 153, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

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

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.8s ease;
}

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

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

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

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

/* --- Services Section --- */
.services {
    background-color: #ffffff; /* Pure white for contrast */
}

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

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

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

.service-card {
    background-color: var(--bg-light);
    padding: 50px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(225, 198, 153, 0.3);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--primary-dark);
    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: 3.5rem;
    color: var(--primary-gold);
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    transition: var(--transition);
    color: var(--primary-dark);
}

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

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

/* --- Gallery Section --- */
.gallery {
    background-color: var(--bg-light);
}

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

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

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    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(26, 42, 58, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay i {
    color: var(--primary-gold);
    font-size: 2.5rem;
    transform: scale(0.5);
    transition: var(--transition);
}

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

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

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

/* --- Lightbox --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(26, 42, 58, 0.95);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    animation-name: zoom;
    animation-duration: 0.4s;
    border-radius: 4px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.5);
    border: 3px solid var(--primary-gold);
}

@keyframes zoom {
    from {transform:scale(0.9); opacity:0} 
    to {transform:scale(1); opacity:1}
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--text-light);
    font-size: 50px;
    font-weight: 300;
    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;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-info {
    padding: 70px 60px;
    background-color: var(--primary-dark);
    color: var(--text-light);
}

.contact-info .section-subtitle {
    color: var(--primary-gold);
}

.contact-info h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    color: var(--text-light);
}

.contact-info > p {
    color: #bdc3c7;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

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

.info-list .icon {
    width: 55px;
    height: 55px;
    background-color: rgba(225, 198, 153, 0.15);
    color: var(--primary-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.info-list li:hover .icon {
    background-color: var(--primary-gold);
    color: var(--primary-dark);
}

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

.info-list .details a,
.info-list .details p {
    color: #ecf0f1;
    font-size: 1.05rem;
    line-height: 1.6;
}

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

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

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

/* --- Footer --- */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding-top: 90px;
}

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

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

.footer-brand p {
    color: #95a5a6;
    margin-top: 20px;
    max-width: 350px;
    font-size: 1.05rem;
}

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

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

.footer-links ul li a {
    color: #95a5a6;
    font-size: 1.05rem;
}

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

.footer-contact p {
    color: #95a5a6;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 1.05rem;
}

.footer-contact i {
    color: var(--primary-gold);
    margin-top: 6px;
    font-size: 1.2rem;
}

.footer-bottom {
    background-color: #0b141d;
    padding: 25px 0;
    text-align: center;
}

.footer-bottom p {
    color: #7f8c8d;
    font-size: 0.95rem;
}

/* --- WhatsApp Float Button --- */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 5px 20px 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: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

/* --- Animations --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.9s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.9s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.9s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.9s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.9s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

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

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--primary-dark);
        flex-direction: column;
        padding-top: 90px;
        transition: 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
    
    .header-contact {
        display: none;
    }
    
    .hero h1 { font-size: 2.8rem; }
    .hero p { font-size: 1.1rem; }
    
    .about-text h2, .services .section-header h2, .gallery .section-header h2, .contact-info h2, .page-header h1 {
        font-size: 2.3rem;
    }
    
    .section-padding { padding: 60px 0; }
    
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 30px;
    }
}
