/* ==================================
   Cengizhan Hasır Dekorasyon - Full Consolidated CSS
   ================================== */

:root {
    --color-bg: #f7faf8;
    --color-text: #1b201d;
    --color-primary: #006d44; /* Tropical Emerald */
    --color-primary-dark: #004d30;
    --color-accent: #c5a059; /* Gold for contrast */
    --color-lime: #76ff03;
    --color-light-green: #e1ede6;
    --color-white: #ffffff;
    --color-glass: rgba(255, 255, 255, 0.85);
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 4px 15px rgba(0, 109, 68, 0.08);
    --shadow-md: 0 10px 40px rgba(0, 109, 68, 0.12);
    --shadow-lg: 0 20px 60px rgba(0, 109, 68, 0.18);
    --green-gradient: linear-gradient(135deg, #006d44 0%, #004d30 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary-dark);
    font-weight: 700;
    line-height: 1.1;
}

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

.italic-text { font-style: italic; font-weight: 400; }

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 0.8rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 5px;
}

.section-tag.center { display: block; text-align: center; border-bottom: none; }

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 2rem;
}

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

/* Layout Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-large { max-width: 1400px; }
.container-fluid { padding: 0 4rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    border-radius: 50px;
}

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

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 109, 68, 0.2);
}

.full-width { width: 100%; }

/* Top Bar */
.top-bar {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
    padding: 0.6rem 0;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: var(--color-white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-bar a:hover {
    color: var(--color-accent);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 38px;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    top: 0;
    padding: 1rem 0;
    background-color: var(--color-glass);
    backdrop-filter: blur(15px);
    box-shadow: var(--shadow-sm);
}

.hide-mobile {
    display: flex;
}

@media (max-width: 768px) {
    .hide-mobile { display: none; }
    .top-bar-content { justify-content: center; }
}

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

.logo { display: flex; flex-direction: column; }

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1;
    color: var(--color-primary-dark);
}

.logo-subline {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 4px;
    color: var(--color-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 3rem;
    list-style: none;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--color-primary-dark);
    position: relative;
}

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

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

/* Stories Bar */
.stories-section {
    padding: 2rem 0;
    background: var(--color-white);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    margin-top: 80px; /* Space for fixed nav */
}

.stories-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 0.5rem 2rem;
    scrollbar-width: none;
}

.stories-container::-webkit-scrollbar { display: none; }

.story-bubble {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    flex-shrink: 0;
}

.story-ring {
    width: 80px; height: 80px;
    padding: 3px;
    background: var(--green-gradient);
    border-radius: 50%;
}

.story-img-wrapper {
    width: 100%; height: 100%;
    border-radius: 50%;
    border: 3px solid white;
    overflow: hidden;
}

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

.story-bubble span { font-size: 0.75rem; font-weight: 600; color: var(--color-primary); }

/* Hero */
.hero-section {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.8); }

.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0, 109, 68, 0.4), var(--color-primary-dark));
    z-index: 0;
}

.hero-content { position: relative; z-index: 1; text-align: center; color: var(--color-white); max-width: 1000px; }

.hero-title { font-size: clamp(3.5rem, 8vw, 6.5rem); margin-bottom: 2rem; color: var(--color-white); }
.hero-description { font-size: 1.2rem; max-width: 600px; margin: 0 auto 3rem; opacity: 0.9; }

/* About Section */
.about-section { padding: 10rem 0; background: var(--color-white); }
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 6rem; align-items: center; }
.about-images { position: relative; }
.img-wrapper { overflow: hidden; background-color: var(--color-light-green); }
.img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.big-img { height: 600px; width: 80%; }
.small-img { height: 350px; width: 60%; position: absolute; bottom: -40px; right: 0; border: 15px solid var(--color-white); }
.lead-text { font-size: 1.5rem; color: var(--color-primary); margin-bottom: 2rem; font-weight: 500; }

/* Services */
.services-section { padding: 10rem 0; background-color: var(--color-light-green); }
.services-grid-modern { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.service-block { background: var(--color-white); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); }
.service-img-cont { height: 300px; overflow: hidden; }
.service-img-cont img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.service-info { padding: 3rem; }
.service-link { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 2rem; font-weight: 600; color: var(--color-primary); }

/* Gallery */
.gallery-section { padding: 10rem 0; }
.masonry-gallery { columns: 4; column-gap: 1.5rem; padding: 0 4rem; }
.gallery-item { break-inside: avoid; margin-bottom: 1.5rem; overflow: hidden; cursor: pointer; border-radius: 10px; }
.gallery-item img { width: 100%; display: block; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.05); filter: brightness(0.8); }

/* Contact */
.contact-section { padding: 10rem 0; }
.contact-grid-modern { display: grid; grid-template-columns: 1fr 1.2fr; gap: 8rem; }
.info-blocks { margin-top: 4rem; display: grid; gap: 3rem; }
.info-value { font-size: 1.8rem; font-family: var(--font-heading); color: var(--color-primary-dark); }
.contact-form-panel { background: var(--green-gradient); padding: 5rem; border-radius: 30px; color: var(--color-white); }
.contact-form-modern input, .contact-form-modern textarea {
    width: 100%; background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 1rem 0; color: var(--color-white); font-family: var(--font-body); outline: none;
}

/* Story Player Overlay */
.story-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #000; z-index: 3000; display: none; align-items: center; justify-content: center; }
.story-overlay.active { display: flex; }
.story-player-container { position: relative; width: 100%; max-width: 450px; height: 90vh; background: #222; border-radius: 12px; overflow: hidden; }
.story-header { position: absolute; top: 0; left: 0; width: 100%; padding: 1.5rem 1rem; background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent); z-index: 10; }
.story-progress-container { display: flex; gap: 4px; margin-bottom: 0.8rem; }
.story-progress-bar { height: 2px; background: rgba(255,255,255,0.3); flex: 1; border-radius: 2px; overflow: hidden; }
.story-progress-fill { height: 100%; background: #fff; width: 0%; }
.story-user-info { display: flex; align-items: center; gap: 0.8rem; color: white; }
.story-user-img { width: 32px; height: 32px; border-radius: 50%; border: 1px solid white; }
.story-content { width: 100%; height: 100%; }
.story-content img { width: 100%; height: 100%; object-fit: cover; }
.story-nav { position: absolute; top: 0; width: 100%; height: 100%; display: flex; z-index: 5; }
.story-nav-btn { flex: 1; height: 100%; cursor: pointer; }
.story-close { position: absolute; top: 1.5rem; right: 1.5rem; color: white; font-size: 2rem; z-index: 20; cursor: pointer; }

/* Hamburger */
.hamburger { cursor: pointer; display: none; z-index: 1001; }
.hamburger .bar { display: block; width: 30px; height: 2px; margin: 6px auto; background-color: var(--color-primary-dark); transition: var(--transition); }

/* Animations */
.reveal-up, .reveal-left, .reveal-right { opacity: 0; transition: all 1s ease; }
.reveal-up { transform: translateY(50px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-up.active, .reveal-left.active, .reveal-right.active { opacity: 1; transform: translate(0, 0); }

/* Footer */
.main-footer { padding: 4rem 0; background: #0b110e; color: #fff; text-align: center; }

/* Floating Elements */
.wa-float {
    position: fixed; bottom: 3rem; right: 3rem; width: 70px; height: 70px;
    background-color: #25d366; color: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 2rem; z-index: 100;
}

/* Responsive */
@media (max-width: 992px) {
    .nav-menu { display: none; }
    .hamburger { display: block; }
    .about-grid, .contact-grid-modern { grid-template-columns: 1fr; gap: 4rem; }
    .services-grid-modern { grid-template-columns: repeat(2, 1fr); }
    .masonry-gallery { columns: 2; }
}

@media (max-width: 768px) {
    .services-grid-modern, .masonry-gallery { grid-template-columns: 1fr; columns: 1; }
    .hero-title { font-size: 3rem; }
}
