/* ======== Design System & Variables ======== */
:root {
    --color-primary: #C5A880; /* Soft Gold/Beige */
    --color-primary-dark: #b09166;
    --color-bg-light: #FAF9F6; /* Warm Off-White */
    --color-bg-white: #FFFFFF;
    --color-bg-dark: #121212; /* Dark section backgrounds if needed */
    --color-text-main: #1D1D1B; /* Soft Black */
    --color-text-muted: #5b5b5b;
    --color-border: #ede8e0;
    --color-whatsapp: #25D366;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.05);
    --shadow-heavy: 0 15px 40px rgba(0,0,0,0.12);
}

/* ======== Fancy Ampersand ======== */
.fancy-amp {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text-main);
}

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

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

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

.section-padding {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--color-bg-light);
}

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

/* ======== Typography Utilities ======== */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.divider {
    height: 2px;
    width: 60px;
    background-color: var(--color-primary);
    margin-bottom: 2rem;
}

.divider.center {
    margin: 0 auto 2rem auto;
}

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

.btn-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.2rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
}

.btn-nav:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

.btn-nav.btn-wa:hover {
    color: var(--color-whatsapp);
    border-color: var(--color-whatsapp);
    background: rgba(37, 211, 102, 0.08);
}

.btn-nav.btn-ig:hover {
    color: #fff;
    border-color: #E1306C;
    background: #E1306C;
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.3);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
    display: flex;
}

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

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--color-text-main);
    color: var(--color-text-main);
}

.btn-outline:hover {
    background-color: var(--color-text-main);
    color: #fff;
}

.btn-whatsapp {
    background-color: var(--color-whatsapp);
    color: #fff;
}

.btn-whatsapp:hover {
    background-color: #1fa34f;
    transform: translateY(-2px);
}

/* ======== Header ======== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    background: rgba(18, 18, 18, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    padding: 0.8rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header .nav-links a,
.header .mobile-menu-btn {
    color: #ffffff;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Always white inside header */
.header .logo,
.header .nav-links a,
.header .dropbtn,
.header .btn-outline,
.header .mobile-menu-btn,
.header .custom-logo .logo-top,
.header .custom-logo .logo-subtitle {
    color: #fff;
}
.header .btn-outline {
    border-color: #fff;
}
.header .custom-logo .logo-line {
    background-color: #fff;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a, .dropbtn {
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    opacity: 0.85;
    transition: var(--transition);
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
}

.nav-links a:hover, .dropbtn:hover {
    opacity: 1;
}

.nav-links a::after, .dropbtn::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-primary);
    transition: var(--transition);
}

.nav-links a:hover::after, .dropbtn:hover::after {
    width: 100%;
}

/* Masaüstü Dropdown Menüsü */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    min-width: 220px;
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-content {
    display: block;
}

.nav-dropdown-content a {
    display: block;
    border-radius: var(--radius-sm);
    padding: 0.8rem 1rem;
    font-size: 0.85rem;
    border: none !important;
}

.nav-dropdown-content a::after {
    display: none; /* Dropdown içindeki linklerde alt çizgi efekti olmasın */
}

.nav-dropdown-content a:hover {
    background-color: var(--color-primary) !important;
    color: #fff !important;
}

/* Mobil detayları için summary gizleme oku iptali */
details > summary::-webkit-details-marker {
  display: none;
}

.nav-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-main);
}

/* ======== Mobile Menu ======== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--color-bg-white);
    z-index: 2000;
    padding: 5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    cursor: pointer;
    color: var(--color-text-main);
}

.mobile-link {
    font-size: 1.5rem;
    font-family: var(--font-heading);
}

/* ======== Hero Section ======== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #FAF9F6; /* Sıcak kirli beyaz / uçuk krem tonu */
    overflow: hidden;
}

.hero-img {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: 80% center; /* Sağ tarafa zarifçe hizala */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Krem renginin fotoğrafa olan yumuşak geçişi */
    background: linear-gradient(to right, #FAF9F6 0%, rgba(250,249,246,0.95) 30%, rgba(250,249,246,0) 80%);
}

.hero-container {
    color: var(--color-text-main);
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--color-primary);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4.5rem;
    color: var(--color-text-main);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ======== Details Section ======== */
.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.details-content p {
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

.ideal-for {
    margin-top: 3rem;
    background: var(--color-bg-light);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--color-primary);
}

.ideal-for h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.ideal-list {
    list-style: none;
}

.ideal-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--color-text-main);
    font-weight: 500;
}

.ideal-list i {
    color: var(--color-primary);
    flex-shrink: 0;
}

/* Details Card */
.details-card-wrapper {
    position: relative;
}

.info-card {
    background: var(--color-bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
}

.info-card-img {
    height: 400px;
    width: 100%;
    object-fit: cover;
}

.info-card-content {
    padding: 2.5rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
}

.info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-label {
    font-weight: 500;
    color: var(--color-text-muted);
}

.info-value {
    font-weight: 600;
    color: var(--color-text-main);
}

/* ======== Gallery Section ======== */
.horizontal-gallery {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 2rem;
    -webkit-overflow-scrolling: touch;
    /* Kaydırma çubuğunu gizlemek için */
    scrollbar-width: none;
}
.horizontal-gallery::-webkit-scrollbar {
    display: none;
}

/* Yatay galeri elemanları */
.gallery-item {
    flex: 0 0 auto;
    width: 320px; /* Her bir fotoğrafın genişliği */
    height: 450px; /* Her bir fotoğrafın uzunluğu (Reels boyutu hissiyatı) */
    scroll-snap-align: start;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-soft);
    background-color: var(--color-bg-white);
}

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

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.05); /* Yüksek kalite hissiyatı için hover efekti */
}

/* Şablon kutuları */
.placeholder-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    gap: 1rem;
    color: var(--color-text-muted);
    border: 2px dashed #ddd;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

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

/* ======== Contact Section ======== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.info-blocks {
    margin-top: 3rem;
    display: grid;
    gap: 2rem;
}

.info-block {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.info-block i {
    color: var(--color-primary);
    padding: 1rem;
    background: var(--color-bg-light);
    border-radius: 50%;
}

.info-block h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.info-block p {
    color: var(--color-text-muted);
}

/* Form */
.contact-form {
    background: #fff;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-heavy);
}

.contact-form h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.contact-form p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--color-bg-light);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.2);
}

/* ======== Footer ======== */
.footer {
    background-color: var(--color-bg-dark);
    color: #fff;
    padding: 3rem 0;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.footer p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* ======== Animations ======== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ======== Service Pages ======== */
.service-main {
    padding-top: 10rem;
    padding-bottom: 4rem;
}

.service-main h1.section-title {
    font-size: 3rem;
}

/* ======== Responsive ======== */
@media (max-width: 992px) {
    .details-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-title { font-size: 3.5rem; }

    .hero-img { object-position: center; }

    .nav-links, .nav-actions { display: none; }

    .mobile-menu-btn { display: block; }
}

/* ======== Tablet ======== */
@media (max-width: 768px) {
    .container { padding: 0 1.25rem; }

    .section-padding { padding: 4rem 0; }

    .section-title { font-size: 1.9rem; }

    /* Service pages */
    .service-main { padding-top: 6rem; }

    .service-main h1.section-title,
    .section-title[style*="font-size: 3.5rem"] { font-size: 2rem !important; }

    /* Hero */
    .hero {
        min-height: 100svh;
        padding-top: 4.5rem;
        align-items: flex-end;
        padding-bottom: 3rem;
    }

    .hero-overlay {
        background: linear-gradient(
            to top,
            rgba(250,249,246,1) 0%,
            rgba(250,249,246,0.85) 40%,
            rgba(250,249,246,0.3) 100%
        );
    }

    .hero-img {
        object-fit: cover;
        object-position: center top;
        opacity: 0.55;
    }

    .hero-title { font-size: 2.6rem; line-height: 1.15; }

    .hero-subtitle { font-size: 1rem; max-width: 100%; }

    .hero-actions { flex-direction: column; gap: 0.75rem; }

    .hero-actions .btn { width: 100%; justify-content: center; }

    /* Details / About */
    .details-grid { gap: 2rem; }

    .info-card-img { height: 280px !important; }

    /* Gallery */
    .horizontal-gallery { gap: 1rem; padding-bottom: 1rem; }

    .gallery-item { width: 240px; height: 340px; }

    /* Contact */
    .contact-form { padding: 1.5rem; }

    .info-blocks { flex-direction: column !important; gap: 2rem !important; }

    /* Footer */
    .footer { padding: 2rem 0; }
}

/* ======== Mobile ======== */
@media (max-width: 480px) {
    html { font-size: 15px; }

    .container { padding: 0 1rem; }

    /* Header */
    .header { padding: 0.9rem 0; }

    .custom-logo .logo-top { font-size: 1.5rem; }

    /* Hero */
    .hero-title { font-size: 2.1rem; }

    .hero-subtitle { font-size: 0.95rem; line-height: 1.7; }

    .badge { font-size: 0.72rem; padding: 0.4rem 0.85rem; }

    /* Section titles */
    .section-title { font-size: 1.65rem; }

    /* Service pages: huge padding-top on main */
    main[style*="padding-top"] {
        padding-top: 7rem !important;
    }

    /* Service page h1 */
    .section-title[style*="font-size: 3.5rem"] {
        font-size: 1.9rem !important;
    }

    /* Gallery */
    .gallery-item { width: 200px; height: 290px; }

    /* Contact buttons stacked */
    #iletisim div[style*="display: flex"] {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    #iletisim .btn { width: 100%; justify-content: center; }

    /* Ideal-for box */
    .ideal-for { padding: 1.5rem; }

    /* Mobile menu wider on very small screens */
    .mobile-menu { width: 100%; }

    /* Buttons full-width on service pages */
    div[style*="text-align: center"] > .btn {
        display: flex;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
}

/* ======== Custom Logo Styling ======== */
.custom-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
}

.custom-logo .logo-top {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-style: italic;
    font-size: 2rem;
    display: flex;
    align-items: baseline;
    letter-spacing: 1.5px;
}

.custom-logo .logo-j { margin-left: 2px; }

.custom-logo .logo-bottom {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}

.custom-logo .logo-subtitle {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.1rem;
}

.custom-logo .logo-line {
    display: inline-block;
    width: 35px;
    height: 2px;
    background-color: var(--color-text-main);
}
