:root {
    /* Color Palette */
    --primary: #cba365; /* Elegant Gold/Beige Accent */
    --primary-dark: #a9804b;
    --secondary: #1a232c; /* Deep Charcoal / Navy Black */
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-main: #333333;
    --text-muted: #666666;
    --border: #e2e8f0;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Shadows & Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-4 { margin-top: 1.5rem; }
.w-100 { width: 100%; }
.max-w-md { max-width: 600px; }

/* Buttons */
.btn-primary, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: 4px; /* Slightly sharp for corporate feel */
    transition: var(--transition);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1rem;
    gap: 8px;
    border: none;
}

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

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

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--secondary);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* Typography styles */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.section-title span {
    color: var(--primary);
    font-style: italic;
}

.subtitle {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    margin-bottom: 12px;
    display: block;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0; /* Minimized completely */
    transition: var(--transition);
    background-color: transparent;
}

.navbar.scrolled {
    padding: 0; /* Minimized completely */
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.navbar-solid {
    padding: 0;
    background-color: rgba(255, 255, 255, 1);
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled .nav-links a:not(.btn-primary),
.navbar-solid .nav-links a:not(.btn-primary) {
    color: var(--text-main);
}

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

.logo {
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 105px !important; /* Increased by 50% from 70px */
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    margin-left: -50px; /* Adjusted left margin to balance huge size */
    max-height: none !important; /* override any potential conflicts */
}

/* We remove the height change on scroll completely so it stays big */
.navbar.scrolled .brand-logo {
    filter: none;
    height: 105px !important; 
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.btn-primary) {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.navbar.scrolled .mobile-menu-btn {
    color: var(--secondary);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 85vh; /* Cinematic, wider feel instead of full 100vh */
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background-color: var(--secondary);
}

.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1; /* Below overlay */
    
    /* Görüntü kalitesi optimizasyonları */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    transform: translateZ(0); /* Donanım hızlandırma ile daha pürüzsüz görüntü */
}

.slider-image.active {
    opacity: 1;
}

.hero-bg img {
    display: none; /* Hide the old img tag just in case */
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* We removed the full black curtain to let the slider images shine */
    /* The readable text is now handled by the .hero-text-box background */
    background: transparent;
    z-index: 5; /* Ensures overlay is always above the slider images */
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-text-box {
    max-width: 650px;
    background: rgba(18, 24, 30, 0.45); /* Lowered opacity for more transparency */
    padding: 40px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(8px); /* Optional: adds a nice modern blur to what's behind the box */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border for glass effect */
    margin-left: -60px; /* Push the box even further to the left */
}

.hero h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 24px;
}

.hero h1 span {
    font-family: var(--font-body);
    font-size: 2.5rem;
    font-weight: 300;
    display: block;
    margin-top: 8px;
    color: rgba(255,255,255,0.9);
}

.hero-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-stats {
    position: absolute;
    bottom: 0;
    right: 5%;
    background-color: var(--white);
    display: flex;
    padding: 30px 40px;
    gap: 40px;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
    box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 700;
    line-height: 1;
}

.stat-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: 20px;
    display: block;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { top: 6px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

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

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

.lead {
    font-size: 1.25rem;
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 24px;
}

.features-list {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

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

.about-image {
    position: relative;
}

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

.image-frame::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--primary);
    border-radius: var(--border-radius);
    z-index: -1;
}

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

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

.experience-badge .text {
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 1px;
}

/* --- References Grid --- */
.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.ref-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4/3;
}

.ref-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.ref-item:hover img {
    transform: scale(1.08); /* slight zoom on hover */
}

.ref-info {
    position: absolute;
    bottom: -100px; /* start hidden */
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(26,35,44, 0.95), transparent);
    color: var(--white);
    transition: var(--transition);
}

.ref-item:hover .ref-info {
    bottom: 0; /* slide up on hover */
}

.ref-info h4 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.ref-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}


/* --- Catalogs Grid --- */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.catalog-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.catalog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.catalog-img {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.catalog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.catalog-card:hover .catalog-img img {
    transform: scale(1.05);
}

.catalog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 35, 44, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.catalog-card:hover .catalog-overlay {
    opacity: 1;
}

.btn-view {
    background-color: var(--white);
    color: var(--secondary);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transform: translateY(20px);
    transition: var(--transition);
}

.catalog-card:hover .btn-view {
    transform: translateY(0);
}

.catalog-info {
    padding: 24px;
}

.catalog-info h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.catalog-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(rgba(26, 35, 44, 0.9), rgba(26, 35, 44, 0.9)), url('assets/otel_halisi.png') no-repeat center center/cover;
    padding: 100px 0;
    color: var(--white);
    background-attachment: fixed;
}

.cta-content h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.8);
}

/* --- References Grid Structure for Referanslar.html --- */
.references-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.references-logo-grid .ref-logo-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.references-logo-grid .ref-logo-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.references-logo-grid img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.references-logo-grid .ref-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* --- Contact Section --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.contact-info {
    background-color: var(--secondary);
    color: var(--white);
    padding: 50px;
}

.contact-info .section-title {
    color: var(--white);
}

.contact-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.method-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.method-item .icon {
    width: 48px;
    height: 48px;
    background: rgba(203, 163, 101, 0.2);
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.method-item h4 {
    color: var(--white);
    font-size: 1.1rem;
    font-family: var(--font-body);
    margin-bottom: 4px;
}

.method-item p, .method-item a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.method-item a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.contact-form-container {
    padding: 50px;
}

.contact-form h3 {
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
    background-color: #fcfcfc;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(203, 163, 101, 0.1);
}

.contact-form textarea {
    resize: vertical;
}

/* --- Footer --- */
.footer {
    background-color: #12181e;
    color: var(--white);
    padding: 80px 0 30px;
}

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

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 20px;
    max-width: 400px;
}

.footer-brand-logo {
    height: 60px; /* Larger in footer */
    filter: brightness(0) invert(1); /* If the logo is dark, make it white for dark footer */
}

.footer-links h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.6);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* --- Animations & Utilities --- */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3rem; }
    .hero-stats {
        right: 0;
        width: 100%;
        justify-content: center;
        border-radius: 0;
        padding: 20px;
        flex-wrap: wrap;
    }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .experience-badge { left: 20px; bottom: -20px; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Mobile menu toggled via JS */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 20px;
        box-shadow: var(--shadow-md);
        gap: 20px;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links a:not(.btn-primary) {
        color: var(--secondary);
    }
    .mobile-menu-btn { display: block; }
    
    .hero { min-height: 600px; padding-top: 80px; }
    .hero h1 { font-size: 2.2rem; }
    .hero h1 span { font-size: 1.5rem; }
    .hero-buttons { flex-direction: column; }
    .stat-number { font-size: 2rem; }
    
    .section-title { font-size: 2rem; }
    .cta-content h2 { font-size: 2.2rem; }
    
    .contact-info, .contact-form-container { padding: 30px 20px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
