@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --gold: #c5a47e;
    --dark-gold: #b38f6d;
    --white: #ffffff;
    --off-white: #fdfdfd;
    --black: #2c2c2c;
    --light-gray: #f8f9fa;
    --gray: #e0e0e0;
    --text-gray: #555;
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 10px 40px rgba(0, 0, 0, 0.15)
}

*,
::before,
::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.7;
    color: var(--black);
    background-color: var(--off-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
}

/* Geneli kapsayan resim/ikon kuralı */
img,
svg {
    max-width: 100%;
}

/* Typography Update */
h1,
h2,
h3,
.logo-text,
.section-title {
    font-family: 'Playfair Display', serif;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px
}

/* Floating Glassmorphism Header */
header {
    padding: 15px 0;
    position: sticky;
    top: 20px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 10px 30px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    align-items: center;
    max-width: 70%;
    /* Give space for contact */
}

.logo {
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 15px;
    /* Increased from 10px */
}

/* Kapsül Tasarım: Logo ve CTA dışarıda, Menü içeride */
.main-nav {
    background: rgba(255, 255, 255, 0.95);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    position: absolute;
    /* Center relative to container */
    left: 50%;
    transform: translateX(-50%);
}

.main-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Ensure Logo and Contact stay at edges */
.logo-container {
    z-index: 2;
    /* Ensure sticky/visible */
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 800;
    color: #333;
    line-height: 1.1;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
}

.logo-subtext {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
    letter-spacing: 0.5px;
}

@media(max-width: 767px) {
    .logo-text-container {
        display: none;
    }
}

.nav-menu {
    display: flex;
    align-items: center;
}

.main-nav a,
.nav-menu a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: width .3s ease
}

.main-nav a:hover {
    color: var(--black);
}

.main-nav a:hover::after {
    width: 100%
}

.header-contact {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 15px;
    /* Add space between elements in right header */
}

.header-contact .cta-primary {
    margin-right: 0;
    /* Clear margin */
}

@media(max-width: 480px) {
    .header-contact {
        gap: 8px;
        /* Tighter on mobile */
    }
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--black);
    font-weight: 600;
    background-color: #f8f9fa;
    padding: 12px 20px;
    border-radius: 50px;
    transition: all .3s ease;
    box-shadow: inset 0 0 0 1px var(--gray);
}

.header-phone:hover {
    background-color: var(--black);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.header-phone:hover svg {
    fill: var(--gold);
}

.header-phone svg {
    width: 18px;
    height: 18px;
    fill: var(--dark-gold);
    transition: fill 0.3s ease;
}

/* Nav Toggle Styling */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 22px;
    position: relative;
    z-index: 10001
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--black);
    border-radius: 3px;
    position: absolute;
    left: 0;
    transition: all .3s ease
}

.nav-toggle span:nth-child(1) {
    top: 0
}

.nav-toggle span:nth-child(2) {
    top: 9px
}

.nav-toggle span:nth-child(3) {
    bottom: 0
}


/* Hero Section */
#hero {
    padding: clamp(6rem, 12vw, 9rem) 0 4rem;
    display: flex;
    align-items: center;
    min-height: 95vh
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center
}

@media(min-width:992px) {
    .hero-content {
        grid-template-columns: 1.2fr 1fr
    }
}

.hero-text h1 {
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
    color: var(--black);
}

.hero-text p {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    max-width: 550px;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    background-image: linear-gradient(135deg, var(--dark-gold), var(--gold));
    color: var(--white);
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all .3s ease;
    box-shadow: var(--shadow-medium);
    border: none;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(197, 164, 126, 0.4)
}

.hero-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem
}

.hero-img {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-medium)
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

@media(min-width:992px) {
    .hero-visual {
        margin-top: 0;
        position: relative;
        transform: rotate(-3deg)
    }

    .hero-img {
        box-shadow: var(--shadow-strong);
        transition: all .6s cubic-bezier(0.2, 0.8, 0.2, 1)
    }

    .hero-img:nth-child(1) {
        transform: translateY(2rem);
        z-index: 2
    }

    .hero-img:nth-child(1):hover {
        transform: translateY(0) scale(1.02);
        z-index: 4
    }

    .hero-img:nth-child(2) {
        transform: translateY(-2rem);
        z-index: 3
    }

    .hero-img:nth-child(2):hover {
        transform: translateY(-4rem) scale(1.02);
        z-index: 4
    }
}

/* Sections General */
section {
    padding: clamp(4rem, 10vw, 7rem) 0
}

section:nth-of-type(odd) {
    background-color: #fafbfd;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 700;
    letter-spacing: -1px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--gold);
    border-radius: 3px;
}

/* Interactive Interactions */
a,
button,
.service-card,
.blog-card,
.feature-item,
summary {
    cursor: pointer;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem
}

.service-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    aspect-ratio: 4/5;
    transition: transform .4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow .4s ease
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong)
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .8s cubic-bezier(.25, .46, .45, .94)
}

.service-card:hover img {
    transform: scale(1.1)
}

.service-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
    color: var(--white);
    padding: 4rem 2rem 2rem;
    transform: translateY(60px);
    opacity: 1;
    transition: transform .5s cubic-bezier(0.2, 0.8, 0.2, 1)
}

.service-card:hover .service-caption {
    transform: translateY(0)
}

.service-caption h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--white);
}

.service-caption p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transition: opacity 0.5s ease 0.1s;
}

.service-card:hover .service-caption p {
    opacity: 1;
}

.service-caption a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Features */
#neden-biz .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    text-align: center
}

/* Neden Biz Desktop Fix */
@media (min-width: 992px) {
    #neden-biz .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-item {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    transition: all .4s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--gold);
}

.feature-item .icon {
    display: inline-block;
    padding: 1.2rem;
    background: linear-gradient(135deg, #fdfbf7, #f7f2ea);
    border-radius: 20px;
    margin-bottom: 1.5rem
}

.feature-item .icon svg {
    width: 36px;
    height: 36px;
    fill: var(--dark-gold)
}

.feature-item h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--black);
    font-weight: 600;
}

.feature-item p {
    color: var(--text-gray);
    font-size: 1rem;
    font-weight: 300;
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    border-left: none;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 8rem;
    color: rgba(197, 164, 126, 0.1);
    font-family: serif;
    line-height: 1;
    pointer-events: none;
}

.testimonial-stars {
    color: var(--gold);
    margin-bottom: 1.5rem
}

.testimonial-stars svg {
    width: 20px;
    height: 20px;
    fill: currentColor
}

.testimonial-text {
    font-style: normal;
    color: var(--black);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 700;
    color: var(--dark-gold);
    text-align: right;
    font-family: 'Outfit', sans-serif;
}

/* Accordion */
.accordion {
    max-width: 850px;
    margin: 0 auto
}

.accordion-item {
    border-bottom: 1px solid var(--gray)
}

.accordion-item summary {
    font-size: 1.2rem;
    font-weight: 500;
    padding: 1.5rem 1rem;
    cursor: pointer;
    position: relative;
    list-style: none;
    transition: color .2s ease
}

.accordion-item summary:hover {
    color: var(--dark-gold);
}

.accordion-item summary::-webkit-details-marker {
    display: none
}

.accordion-item summary::after {
    content: '+';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--gold);
    transition: transform .3s ease;
    font-weight: 300;
}

.accordion-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg)
}

.accordion-content {
    padding: 0 1.5rem 2rem;
    color: var(--text-gray);
    line-height: 1.8
}

/* Fixed Contact Buttons - FIXED & OPTIMIZED */
.fixed-contact {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 8000;
}

.contact-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: var(--gold);
    /* fallback */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all .3s ease;
    border: none;
    flex-shrink: 0;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Fixed Contact Button - Identical for All Pages */
.fixed-contact {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

.contact-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.contact-btn:hover {
    transform: scale(1.1);
}

.contact-btn svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
    display: block;
}

/* Footer */
footer {
    background-color: #111;
    color: #aaa;
    padding: 5rem 0 2rem;
    font-size: 0.95rem;
    border-top: 1px solid #222;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
    text-align: left;
}

.footer-col h3 {
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--dark-gold);
}

.footer-col p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    color: var(--gold);
    transform: translateX(5px);
}

.footer-col .contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-col .contact-info li span {
    font-size: 1.1rem;
    color: var(--gold);
}

.copyright {
    border-top: 1px solid #222;
    padding-top: 2rem;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

@media(max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-col ul li a {
        justify-content: center;
    }

    .footer-col .contact-info li {
        justify-content: center;
        text-align: center;
    }
}

/* Animations & Mobile */
.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1)
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0)
}

@media(max-width: 991px) {
    header {
        top: 0;
        padding: 10px 0;
        position: fixed !important;
        /* FORCE FIXED */
        width: 100%;
        transition: all 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 10000 !important;
        /* Ensure on top of everything */
    }

    .header-container {
        background: rgba(255, 255, 255, 0.95);
        border-radius: 0;
        border: none;
        padding: 10px 20px;
    }

    #hero {
        min-height: auto;
        text-align: center;
        padding-top: 8rem;
    }

    .hero-text {
        text-align: center
    }

    .main-nav {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-top: 0;
        z-index: 9999;
        border-radius: 0;
        box-shadow: none;
        transform: translateX(100%);
        transition: transform .5s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .main-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 2rem
    }

    .main-nav a {
        font-size: 1.5rem;
        font-family: 'Playfair Display', serif;
    }

    body.nav-open .main-nav {
        transform: translateX(0);
    }

    .nav-toggle {
        display: block;
        z-index: 10001 !important;
        /* Higher than menu */
        position: relative;
    }

    body.nav-open .nav-toggle span:nth-child(1) {
        transform: translateY(9px) rotate(45deg)
    }

    body.nav-open .nav-toggle span:nth-child(2) {
        opacity: 0
    }

    body.nav-open .nav-toggle span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg)
    }

    .header-contact {
        display: none !important;
    }

    .fixed-contact {
        z-index: 9000;
    }

    body.nav-open .fixed-contact {
        display: none !important;
        /* FORCE HIDE */
        opacity: 0 !important;
        visibility: hidden !important;
    }
}