/* ==========================================================================
   CSS Değişkenleri (Variables) & Renk Paleti
   ========================================================================== */
:root {
    /* Renkler */
    --bg-color: #0A0F1D;         /* Gece Mavisi Arka Plan */
    --bg-light: #121929;         /* Daha açık arka plan */
    --gold: #D4AF37;             /* Şampanya/Altın vurgu */
    --gold-light: #F3E5AB;
    --text-main: #FFFFFF;        /* Saf Beyaz */
    --text-muted: #A0AABF;       /* Gri/Mavi metin */
    
    /* Fontlar */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Efektler */
    --glass-bg: rgba(10, 15, 29, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.5px;
}

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

ul {
    list-style: none;
}

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

/* ==========================================================================
   Genel Sınıflar (Utilities)
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--gold);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--gold);
}

/* Butonlar */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--gold);
    color: var(--bg-color);
    border: 1px solid var(--gold);
}

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

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

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

/* ==========================================================================
   Header & Navigasyon
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
    padding: 20px 0;
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(10, 15, 29, 0.95);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
}

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

.nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-list a {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
}

.nav-list a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold);
    transition: var(--transition);
}

.nav-list a:not(.btn):hover::after,
.nav-list a:not(.btn).active::after {
    width: 100%;
}

.nav-list a:not(.btn):hover,
.nav-list a:not(.btn).active {
    color: var(--gold);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gold);
}

/* ==========================================================================
   Hero (Giriş) Bölümü
   ========================================================================== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    /* Hero arka planı - örnek URL kullanılıyor */
    background: linear-gradient(rgba(10, 15, 29, 0.6), rgba(10, 15, 29, 0.8)), url('https://images.unsplash.com/photo-1511795409834-ef04bbd61622?q=80&w=2069&auto=format&fit=crop') center/cover no-repeat;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 1s forwards 0.5s;
}

.hero-subtitle {
    color: var(--gold);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    display: block;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.2;
    margin-bottom: 30px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Scroll indicator */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-main);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    z-index: 2;
}

/* ==========================================================================
   Hizmetler (Services) Kartları
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--bg-light);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

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

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

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

/* ==========================================================================
   Galeri
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 29, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

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

.gallery-overlay h4 {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 5px;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-overlay p {
    color: var(--text-main);
    font-size: 0.9rem;
    transform: translateY(20px);
    transition: var(--transition);
    transition-delay: 0.1s;
}

.gallery-item:hover .gallery-overlay h4,
.gallery-item:hover .gallery-overlay p {
    transform: translateY(0);
}

/* ==========================================================================
   İletişim & Form
   ========================================================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--gold);
    margin-right: 20px;
    margin-top: 5px;
}

.contact-item h4 {
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-muted);
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.05);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--bg-light);
    padding: 80px 0 0 0;
    border-top: 1px solid var(--glass-border);
}

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

.footer-about p {
    color: var(--text-muted);
    margin: 20px 0;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}

.social-links a:hover {
    background: var(--gold);
    color: var(--bg-color);
    border-color: var(--gold);
}

.footer h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--gold);
}

.footer-links ul li,
.footer-contact ul li {
    margin-bottom: 15px;
    color: var(--text-muted);
}

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

.footer-contact ul li i {
    color: var(--gold);
    margin-right: 10px;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   Animasyonlar
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-15px) translateX(-50%);
    }
    60% {
        transform: translateY(-7px) translateX(-50%);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* ==========================================================================
   Floating Widgets (WhatsApp & Hızlı Mesaj)
   ========================================================================== */
.floating-widgets {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.widget-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.widget-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    color: white;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.widget-btn:hover {
    transform: scale(1.1);
}

.whatsapp-btn {
    background-color: #25D366;
}

.message-btn {
    background-color: var(--gold);
    color: var(--bg-color);
}

.quick-message-box {
    background: var(--bg-light);
    width: 300px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transform: scale(0);
    transform-origin: bottom right;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: absolute;
    bottom: 80px;
    right: 0;
}

.quick-message-box.active {
    transform: scale(1);
}

.quick-message-header {
    background: var(--gold);
    color: var(--bg-color);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quick-message-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.quick-message-header i {
    cursor: pointer;
    font-size: 1.2rem;
}

.quick-message-body {
    padding: 20px;
}

.quick-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    color: var(--text-main);
    font-family: var(--font-body);
}

.quick-input:focus {
    outline: none;
    border-color: var(--gold);
}

/* ==========================================================================
   Responsive (Medya Sorguları)
   ========================================================================== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    
    .nav-list {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-light);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
    }
    
    .nav-list.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}
