/* --- Değişkenler ve Reset (Urban Energy Palette) --- */
:root {
    --sidebar-width: 270px;
    
    /* Renkler */
    --color-bg: #F0F0F0;        /* Açık Gri Zemin */
    --color-sidebar: #121212;   /* Siyah Sidebar */
    --color-text: #333333;      /* Koyu Metin */
    --color-heading: #000000;   /* Siyah Başlıklar */
    --color-red: #FF3D00;       /* Ateş Kırmızısı / Enerji */
    --color-red-hover: #D50000;
    --color-dark-grey: #262626; /* Koyu Gri Panel */
    --color-white: #FFFFFF;
    --color-border: #444;
    
    /* Fontlar */
    --font-heading: 'Russo One', sans-serif; /* Güçlü, Sportif */
    --font-body: 'Roboto', sans-serif;       /* Modern, Teknik */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    font-weight: 400;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* --- Ana Düzen --- */
.layout-wrapper {
    display: flex;
    min-height: 100vh;
}

/* --- Sidebar (Locker Room) --- */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--color-sidebar);
    color: #999;
    position: fixed;
    height: 100vh;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    overflow-y: auto;
    border-right: 5px solid var(--color-red);
}

.brand {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--color-white);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    border: 2px solid var(--color-red);
    padding: 10px;
    transform: skew(-5deg);
}
.dumbell-icon { font-size: 1.8rem; margin-left: 5px; }

.nav-menu li { margin-bottom: 10px; }
.nav-menu a {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #AAA;
    display: block;
    padding: 12px 15px;
    text-transform: uppercase;
    transition: all 0.2s ease;
    border-left: 5px solid transparent;
    background: rgba(255,255,255,0.05);
}
.nav-menu a:hover, .nav-menu a.active {
    color: #FFF;
    background: var(--color-red);
    border-left-color: #FFF;
    transform: skew(-10deg);
}

.sidebar-footer {
    margin-top: auto;
    font-size: 0.9rem;
    color: #666;
    padding-top: 30px;
    border-top: 1px solid #333;
    text-align: center;
}
.email-link { display: block; margin-top: 5px; color: var(--color-red); font-weight: bold; }
.status-badge { 
    margin-top: 15px; 
    background: #00C853; 
    color: #fff; 
    padding: 5px; 
    font-family: var(--font-heading);
    font-size: 0.8rem; 
    border-radius: 4px;
}

/* --- Sağ Ana İçerik --- */
.main-content {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    display: flex;
    flex-direction: column;
}

/* --- Hero & Header --- */
.hero-header, .page-header {
    height: 70vh;
    background-size: cover;
    background-position: center;
    position: relative;
    border-bottom: 10px solid var(--color-sidebar);
}
.page-header.compact { height: 40vh; }

.overlay {
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.2));
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 80px;
    color: #fff;
}

.hero-text { max-width: 800px; }

.tagline { 
    font-family: var(--font-heading); 
    color: var(--color-red); 
    font-size: 1.5rem; 
    letter-spacing: 2px; 
    margin-bottom: 10px; 
    text-transform: uppercase;
}

.hero-header h1, .page-header h1 {
    font-family: var(--font-heading);
    font-size: 5rem;
    margin-bottom: 20px;
    font-weight: 400;
    line-height: 0.9;
    text-transform: uppercase;
}
.red-text { color: var(--color-red); }

.subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 40px;
    color: #DDD;
    max-width: 600px;
}

/* --- İçerik Konteyneri --- */
.content-container {
    max-width: 1200px; 
    margin: 0 auto;
    padding: 80px 50px;
    width: 100%;
    background-color: #FFF;
    margin-top: -60px;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* --- Tipografi ve Bölümler --- */
.text-section { margin-bottom: 70px; }
h2 { 
    font-family: var(--font-heading); 
    font-size: 3rem; 
    margin-bottom: 25px; 
    color: var(--color-heading);
    text-transform: uppercase;
    border-left: 10px solid var(--color-red);
    padding-left: 20px;
    line-height: 1;
}
h3 { font-family: var(--font-heading); font-size: 1.8rem; margin-bottom: 15px; color: var(--color-sidebar); text-transform: uppercase; }
p { margin-bottom: 20px; text-align: justify; font-size: 1.1rem; color: #444; }

.bg-dark-grey {
    background-color: var(--color-dark-grey);
    color: #fff;
    padding: 60px;
    border: 2px solid var(--color-sidebar);
}
.bg-dark-grey h2 { color: #fff; border-color: #fff; }
.bg-dark-grey p { color: #ccc; }

/* --- Grid ve Kartlar (Gym Cards) --- */
.grid-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 70px;
}

.gym-card {
    background: #FAFAFA;
    padding: 30px;
    border: 1px solid #EEE;
    transition: transform 0.2s;
    text-align: center;
    border-bottom: 5px solid var(--color-sidebar);
}
.gym-card:hover { transform: translateY(-10px); border-color: var(--color-red); background: #FFF; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

.card-icon { font-size: 3rem; margin-bottom: 20px; }

/* Split Layout */
.split-layout {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 70px;
    background: #121212;
    padding: 40px;
    color: #fff;
}
.split-layout img { width: 45%; border: 2px solid var(--color-red); }
.split-layout .split-content { width: 55%; }
.split-content h3 { color: var(--color-red); }
.split-content p { color: #BBB; }

.gym-rules li { margin-bottom: 10px; padding-left: 25px; position: relative; font-weight: bold; }
.gym-rules li::before { content: '❌'; position: absolute; left: 0; font-size: 0.8rem; top: 4px; }

/* --- Formlar --- */
.contact-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; }
.contact-info { background: var(--color-sidebar); color: #fff; padding: 40px; border-top: 10px solid var(--color-red); }
.contact-info h3 { color: var(--color-red); border-bottom: 1px solid #444; padding-bottom: 10px; }
.contact-info p { color: #CCC; }

.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { display: block; margin-bottom: 5px; font-weight: 900; color: var(--color-heading); font-family: var(--font-heading); font-size: 1rem; text-transform: uppercase; }
input, select, textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #CCC;
    background: #FFF;
    font-family: var(--font-body);
    font-size: 1.1rem;
    border-radius: 0; /* Keskin */
    transition: 0.2s;
    font-weight: 500;
}
input:focus, textarea:focus { border-color: var(--color-red); outline: none; background: #FFF0EB; }

.btn {
    display: inline-block;
    padding: 15px 45px;
    font-family: var(--font-heading);
    font-weight: 400;
    text-transform: uppercase;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    transition: 0.2s;
    border-radius: 0;
    letter-spacing: 1px;
    transform: skew(-10deg);
}
.btn-red { background-color: var(--color-red); color: #FFF; }
.btn-red:hover { background-color: var(--color-red-hover); }
.btn-outline-red { background: transparent; border: 3px solid var(--color-red); color: var(--color-red); }
.btn-outline-red:hover { background: var(--color-red); color: #FFF; }
.full-width { width: 100%; }

/* --- Yorumlar --- */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.review-card {
    background: #FFF;
    padding: 30px;
    border: 1px solid #DDD;
    position: relative;
    border-left: 5px solid var(--color-red);
}
.rating { color: var(--color-red); margin-bottom: 10px; letter-spacing: 3px; }
blockquote { font-style: italic; color: #555; margin-bottom: 20px; font-size: 1.1rem; font-weight: 500; }
cite { font-weight: 900; font-size: 0.9rem; display: block; color: var(--color-heading); font-family: var(--font-heading); }

/* --- Footer --- */
.page-footer {
    padding: 50px;
    text-align: center;
    border-top: 5px solid var(--color-sidebar);
    color: #666;
    font-size: 0.9rem;
    margin-top: auto;
    background: #111;
    color: #888;
}

.red-line { border: 0; height: 5px; background: var(--color-red); margin: 20px 0; width: 100px; }

/* --- Mobil Menü Butonu --- */
.menu-toggle { display: none; }

/* --- Duyarlı Tasarım (Mobil) --- */
@media (max-width: 900px) {
    .sidebar {
        transform: translateX(-100%);
        width: 100%;
        transition: transform 0.3s ease;
        padding-top: 80px;
    }
    .sidebar.active { transform: translateX(0); }
    
    .main-content { margin-left: 0; width: 100%; }
    
    .menu-toggle {
        display: block;
        position: fixed;
        top: 20px;
        left: 20px;
        z-index: 1001;
        background: #000;
        border: 2px solid var(--color-red);
        width: 50px;
        height: 50px;
        cursor: pointer;
    }
    .bar {
        display: block;
        width: 25px;
        height: 3px;
        background: #fff;
        margin: 6px auto;
    }

    .hero-header h1 { font-size: 3rem; }
    .hero-text { padding: 20px; text-align: center; }
    .content-container { padding: 50px 25px; margin-top: 0; }
    .grid-section, .split-layout, .contact-layout, .form-row { grid-template-columns: 1fr; display: block; }
    .split-layout img, .split-layout .split-content { width: 100%; }
    .split-layout img { margin-bottom: 20px; }
    .contact-info { margin-bottom: 30px; }
}