@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --primary-color: #000000;
    --secondary-color: #1a1a1a;
    --accent-color: #C5A059; /* Architectural Gold */
    --text-primary: #F4EFE6; /* Biraz daha belirgin krem */
    --text-secondary: #a0a0a0;
    --bg-dark: #0a0a0a;
    --glass-bg: rgba(10, 10, 10, 0.8);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* --- Navigation --- */
.navbar {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background: var(--primary-color);
}

.navbar-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary) !important;
    letter-spacing: 2px;
}

.navbar-brand span {
    color: var(--accent-color);
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    margin: 0 1rem;
    position: relative;
    transition: var(--transition);
}

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

.nav-link:hover, .nav-link.active {
    color: var(--text-primary) !important;
}

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

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 100px;
}

.hero-title {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.2s;
}

.hero-subtitle {
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 1rem;
    display: block;
    opacity: 0;
    animation: fadeInUp 1s forwards;
}

/* --- Hero Small --- */
.hero-small {
    position: relative;
    padding: 150px 0 80px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-small-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Adjusted to 50% as requested */
    z-index: 1;
}

.hero-small .container {
    position: relative;
    z-index: 2;
}

/* --- CTA Section --- */
.section-cta {
    position: relative;
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}

.section-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.section-cta .container {
    position: relative;
    z-index: 2;
}

/* --- Buttons --- */
.btn-premium {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid var(--accent-color);
    transition: var(--transition);
}

.btn-premium:hover {
    background: transparent;
    color: var(--accent-color);
}

/* --- Cards --- */
.card-premium {
    background: var(--secondary-color);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0;
    transition: var(--transition);
    padding: 2.5rem;
    height: 100%;
}

.card-premium:hover {
    border-color: var(--accent-color);
    transform: translateY(-10px);
}

.card-icon {
    color: var(--accent-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

/* --- Animations --- */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Sections --- */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

/* --- Footer --- */
footer {
    background: var(--primary-color);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-logo span {
    color: var(--accent-color);
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    margin-bottom: 0.8rem;
}

.footer-link:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

/* --- Watermark --- */
.watermark-wrapper {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.watermark-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none; /* Tıklamaları alttaki resme iletir ama sağ tıkı js ile engelleyeceğiz */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    z-index: 10;
    opacity: 0.25;
}

.watermark-overlay img {
    max-width: 50% !important;
    max-height: 50% !important;
    filter: brightness(0) invert(1); /* Logoyu tamamen beyaza çevirir */
    margin-bottom: 15px;
}

.watermark-overlay span {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.8);
    text-align: center;
    letter-spacing: 2px;
}

/* Background watermarks for hero sections */
.bg-watermark {
    position: relative;
}
.bg-watermark::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('/images/logo-1.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30%;
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
    filter: brightness(0) invert(1);
}

/* Watermark for GLightbox (Fullscreen Image Gallery) */
.gslide-media {
    position: relative;
}
.gslide-media::after {
    content: 'YALÇIN İNŞAAT \A İÇMİMARLIK';
    white-space: pre-wrap; /* Allows \A to act as line break */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none; /* Let right-click pass to body, but we'll block it globally */
    color: white;
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.9);
    text-align: center;
    letter-spacing: 3px;
    line-height: 1.2;
    opacity: 0.4;
    z-index: 9999;
    background-image: url('/images/logo-1.png');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 200px;
    padding-top: 220px; /* Space for the logo above the text */
    filter: brightness(0) invert(1);
}

.text-accent {
    color: var(--accent-color) !important;
}

/* --- Mobile Adjustments --- */
@media (max-width: 768px) {
    .hero, .section-cta {
        background-attachment: scroll;
        background-position: center;
    }
    .hero {
        min-height: 100vh;
    }
    .hero-content {
        padding-top: 180px;
    }
    .hero-small {
        padding-top: 180px;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .navbar-brand img {
        height: 50px !important;
    }
    .navbar-brand {
        font-size: 1.2rem !important;
    }
}