:root {
    --color-black: #0B0B0B;
    --color-dark: #121212;
    --color-darker: #1A1A1A;
    --color-gold: #D4AF37;
    --color-gold-hover: #F3E5AB;
    --color-text: #E0E0E0;
    --color-text-muted: #A0A0A0;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    --transition: all 0.4s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--color-black);
    color: var(--color-text);
    font-family: var(--font-sans);
    line-height: 1.6;
}

h1, h2, h3, h4, .serif {
    font-family: var(--font-serif);
    font-weight: 400;
}

code {
    font-family: monospace;
}

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

a:hover {
    color: var(--color-gold-hover);
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid transparent;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 40px; /* Yumuşak kapsül (pill) görünümü */
}

.btn-gold {
    background-color: var(--color-gold);
    color: var(--color-black);
    font-weight: 600;
}

.btn-gold:hover {
    background-color: transparent;
    border-color: var(--color-gold);
    color: var(--color-gold);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25);
    transform: translateY(-2px);
}

.btn-outline-gold {
    background-color: transparent;
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.btn-outline-gold:hover {
    background-color: var(--color-gold);
    color: var(--color-black);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25);
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 40px;
    font-size: 15px;
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), background 0.4s ease, padding 0.4s ease;
    background: transparent;
    border-bottom: 1px solid rgba(255,255,255,0.02);
}

.header.scrolled {
    background: rgba(11, 11, 11, 0.85);
    padding: 15px 0;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

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

.logo {
    font-family: var(--font-serif);
    font-size: 24px;
    letter-spacing: 2px;
}

.logo a {
    color: #fff;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav a {
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav a:hover {
    color: var(--color-gold);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1546271876-00388c3a1ad9?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(11,11,11,0.7), rgba(11,11,11,0.9));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spin-slow {
    animation: spin-logo 50s linear infinite;
}

.hero-title {
    font-size: 64px;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--color-gold);
    font-style: italic;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    letter-spacing: 1px;
}

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

.dark-section { background-color: var(--color-dark); }
.black-section { background-color: var(--color-black); }

.section-title {
    font-size: 42px;
    color: #fff;
    margin-bottom: 15px;
}

.title-separator {
    width: 60px;
    height: 2px;
    background-color: var(--color-gold);
    margin-bottom: 30px;
}

.title-separator.center {
    margin: 0 auto 30px auto;
}

.section-header {
    margin-bottom: 60px;
}

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

.section-header p {
    color: var(--color-text-muted);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-text p {
    color: var(--color-text-muted);
    font-size: 16px;
    line-height: 1.8;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-hero-img {
    width: 85%;
    max-width: 400px;
    height: auto;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    display: block;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 50px 30px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 4px;
    transition: var(--transition);
}

.service-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.service-icon {
    font-size: 40px;
    color: var(--color-gold);
    margin-bottom: 25px;
}

.service-title {
    font-size: 22px;
    color: #fff;
    margin-bottom: 15px;
}

.service-desc {
    color: var(--color-text-muted);
    font-size: 15px;
}

/* Gallery Slider */
.gallery-slider-container {
    position: relative;
    max-width: 900px;
    margin: 40px auto 0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.gallery-track {
    display: flex;
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-slide {
    min-width: 100%;
    height: 500px;
    background-color: #050505;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(11, 11, 11, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--color-gold);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.slider-btn:hover {
    background: var(--color-gold);
    color: var(--color-black);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

@media (max-width: 768px) {
    .gallery-slide { height: 350px; }
    .slider-btn { width: 40px; height: 40px; }
}

/* Logo Micro Animations */
@keyframes rotateLogo {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.15); }
    100% { transform: rotate(360deg) scale(1); }
}

.logo-spin {
    animation: rotateLogo 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.portfolio-item {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

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

.portfolio-item:hover .portfolio-image {
    transform: scale(1.1);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    color: #fff;
    font-size: 24px;
    letter-spacing: 1px;
    transform: translateY(20px);
    transition: var(--transition);
    border-bottom: 1px solid var(--color-gold);
    padding-bottom: 5px;
}

.portfolio-item:hover .portfolio-overlay h3 {
    transform: translateY(0);
}

/* Contact Section */
.contact-container {
    display: flex;
    gap: 60px;
}

.contact-info {
    flex: 1;
}

.contact-info p {
    color: var(--color-text-muted);
    margin-bottom: 30px;
}

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

.contact-list li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: #fff;
    font-size: 16px;
}

.contact-list li i {
    color: var(--color-gold);
    font-size: 20px;
    width: 30px;
    margin-right: 15px;
}

.contact-form-wrapper {
    flex: 1;
    background-color: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

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

.input-group input, .input-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 15px 0;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 15px;
    outline: none;
    transition: var(--transition);
}

.input-group input:focus, .input-group textarea:focus {
    border-color: var(--color-gold);
}

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

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

.footer-brand h2 {
    color: var(--color-gold);
    font-size: 24px;
    margin-bottom: 5px;
}

.footer-brand p {
    color: var(--color-text-muted);
    font-size: 14px;
}

.footer-links {
    text-align: right;
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 14px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

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

.footer-links p {
    color: var(--color-text-muted);
    font-size: 13px;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-black);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.gold-balloon {
    position: absolute;
    bottom: -100px;
    color: var(--color-gold);
    z-index: 1;
}

.gold-balloon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
}

@keyframes floatUpAndPop {
    0% { transform: translateY(0) scale(0.5); opacity: 0; }
    10% { opacity: 0.6; transform: translateY(-10vh) scale(1); }
    75% { transform: translateY(-70vh) scale(1.1); opacity: 0.6; }
    80% { transform: translateY(-75vh) scale(2.5); opacity: 0; }
    100% { transform: translateY(-75vh) scale(2.5); opacity: 0; }
}

.preloader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 10;
}

.preloader-brand {
    transform: scale(1.3);
    margin-bottom: 20px;
}

.preloader-brand svg {
    animation: spin-logo 2s ease-in-out infinite;
    transform-origin: center;
}

@keyframes spin-logo {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.preloader-progress {
    width: 300px;
    height: 3px;
    background-color: rgba(212, 175, 55, 0.1);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

#preloader-bar-inner {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.4) 0%, rgba(212, 175, 55, 1) 100%);
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.8), 0 0 5px rgba(212, 175, 55, 0.5);
}

#preloader-percent {
    font-family: var(--font-sans);
    color: var(--color-gold);
    font-size: 16px;
    letter-spacing: 3px;
    font-weight: 600;
}

/* Responsive */
.mobile-menu-btn {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--color-gold);
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .3s ease-in-out;
}

.mobile-menu-btn span:nth-child(1) { top: 0px; }
.mobile-menu-btn span:nth-child(2) { top: 9px; }
.mobile-menu-btn span:nth-child(3) { top: 18px; }

.mobile-menu-btn.active span:nth-child(1) {
    top: 9px;
    transform: rotate(135deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    left: -20px;
}

.mobile-menu-btn.active span:nth-child(3) {
    top: 9px;
    transform: rotate(-135deg);
}

@media (max-width: 900px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(11, 11, 11, 0.98);
        padding: 20px 0;
        border-bottom: 1px solid var(--color-gold);
    }

    .nav.active {
        display: block;
    }

    .nav ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .header-action {
        display: none; /* Hide 'Bize Ulasin' button on mobile to save space */
    }

    .about-container, .contact-container {
        flex-direction: column;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .footer-links {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 30px; }
    .hero-subtitle { font-size: 15px; }
    .hero-decoration svg { width: 400px; height: 400px; }
    
    .section { padding: 60px 0; }
    .service-card { padding: 30px 20px; }
    .contact-form-wrapper { padding: 30px; }
}

/* References Marquee Infinite Loop */
.references-marquee {
    background-color: var(--bg-dark);
    padding: 50px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.05);
    overflow: hidden;
    position: relative;
    width: 100%;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-content {
    display: flex;
    align-items: center;
    width: max-content;
    animation: marquee-scroll 45s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.reference-item {
    margin: 0 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.reference-item img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s ease;
}

.reference-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .references-marquee { padding: 35px 0; }
    .reference-item { margin: 0 25px; }
    .reference-item img { height: 45px; }
}
