/* Kök Değişkenler */
:root {
    --primary-color: #d4af37; /* Altın sarısı tonu */
    --secondary-color: #f4f4f4; /* Açık gri */
    --dark-color: #333;
    --white-color: #fff;
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Poppins', sans-serif;
    --shadow: 0 4px 8px rgba(0,0,0,0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white-color);
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
    overflow: hidden;
}

h1, h2, h3 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

p {
    margin: 10px 0;
}

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

ul {
    list-style: none;
}

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

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white-color);
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background: #c5a030;
}

.btn i {
    margin-right: 8px;
}

/* Header & Navbar */
.navbar {
    z-index: 999;
}

/* Hero Section */
#hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/arka-plan.webp?q=80&w=1974&auto=format&fit=crop') no-repeat center center/cover;
    height: 100vh;
    color: var(--white-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

#hero h1 {
    margin-bottom: 20px;
}

#hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 30px;
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.8rem;
    color: var(--dark-color);
}

.section-title span {
    display: block;
    font-family: var(--font-secondary);
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Hizmetler Section */
section {
    padding: 6rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white-color);
    padding: 2rem;
    text-align: center;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

/* Galeri Section */
#galeri {
    background-color: var(--secondary-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.gallery-item img {
    transition: transform 0.5s ease;
}

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

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: var(--white-color);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    font-size: 1.5rem;
}

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

.gallery-item .overlay i {
    margin: 0 10px;
}

/* Reels Section */
.reels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.reel-item {
    min-width: 326px; /* Instagram embed min-width */
}

/* İletişim Section */
#iletisim {
    background-color: var(--secondary-color);
}

#iletisim .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.contact-info ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-info ul li i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1.5rem;
    margin-top: 5px;
    width: 30px;
    text-align: center;
}

.contact-info a {
    color: var(--dark-color);
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--primary-color);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Footer */
footer {
    background: var(--dark-color);
    color: var(--white-color);
    text-align: center;
    padding: 2rem 0;
}

.social-icons {
    margin-bottom: 1rem;
}

.social-icons a {
    color: var(--white-color);
    font-size: 1.8rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-color);
}

footer p {
    font-size: 0.9rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 30px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    position: relative;
    animation: slide-down 0.5s ease-out;
}

@keyframes slide-down {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-button {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: black;
}

#whatsappForm h2 {
    margin-bottom: 1rem;
}

#whatsappForm p {
    margin-bottom: 1.5rem;
}

#whatsappForm input,
#whatsappForm select,
#whatsappForm textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--font-secondary);
}

#whatsappForm button {
    width: 100%;
}

/* Scroll Animation */
.hidden {
    opacity: 0;
    filter: blur(5px);
    transform: translateX(-100%);
    transition: all 1s;
}

.show {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
}

/* Farklı elemanlar için gecikme */
.service-card:nth-child(2) { transition-delay: 200ms; }
.service-card:nth-child(3) { transition-delay: 400ms; }
.service-card:nth-child(4) { transition-delay: 600ms; }
.service-card:nth-child(5) { transition-delay: 800ms; }
.service-card:nth-child(6) { transition-delay: 1000ms; }

.gallery-item:nth-child(2) { transition-delay: 200ms; }
.gallery-item:nth-child(3) { transition-delay: 400ms; }
.gallery-item:nth-child(4) { transition-delay: 600ms; }
.gallery-item:nth-child(5) { transition-delay: 800ms; }
.gallery-item:nth-child(6) { transition-delay: 1000ms; }
