/* --- Base Styles --- */
:root {
    /* Colors */
    --primary-dark: #00001C;
    --secondary-dark: #1A1A33;
    --accent-yellow: #FDBA28;
    --light-grey: #EAEAEA;
    --text-light: #F5F5F5;
    --text-dark: #303030;
    --text-darker: #000000;
    --success-green: #33AC09;
    --error-red: #DF0606;
    --border-yellow-light: rgba(253, 186, 40, 0.65);
    --border-yellow-medium: rgba(253, 186, 40, 0.50);
    --table-row-bg: rgba(242, 242, 242, 0.1);
    --table-row-hover-bg: rgba(255, 255, 255, 0.25);
    --shadow-light: rgba(0, 0, 0, 0.25);
    --shadow-medium: rgba(20, 20, 20, 0.54);
    --text-light-translucent: rgba(255, 255, 255, 0.75);
    --text-dark-translucent: rgba(86, 86, 86, 0.75);
    --link-icon-color: rgba(255, 255, 255, 0.55);
    --hizbox-bg: rgba(48, 48, 48, 0.35);
    --hizbox-hover-bg: rgba(48, 48, 48, 0.75);

    /* Fonts */
    --font-primary: 'Open Sans', sans-serif;

    /* Spacing */
    --padding-small: 10px;
    --padding-medium: 15px;
    --padding-large: 20px;

    /* Border Radius */
    --border-radius-small: 15px;
    --border-radius-medium: 20px;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--light-grey);
    font-family: var(--font-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.spacer {
    flex-grow: 1;
}

/* --- Header Styles --- */
.header {
    background: linear-gradient(360deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
}

.logo {
    max-height: 90px;
    padding: var(--padding-small);
    filter: drop-shadow(0px 4px 4px var(--shadow-light));
}

/* --- Content Layout --- */
.content {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    align-content: space-between;
    flex-grow: 1;
}

/* --- Buttons --- */
.iconbtn {
    background-color: var(--accent-yellow);
    color: var(--primary-dark);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0px 4px 4px var(--shadow-light);
}

.iconbtn:hover {
    background-color: var(--text-light);
}

.iconbtn span {
    color: var(--secondary-dark);
}

.textbtn {
    background-color: var(--accent-yellow);
    color: var(--primary-dark);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    padding: var(--padding-small) var(--padding-medium);
    box-shadow: 0px 4px 4px var(--shadow-light);
}

.textbtn:hover {
    background-color: var(--text-light);
    color: var(--primary-dark);
}

/* --- Navigation Bar --- */
.navbar {
    background-color: var(--accent-yellow);
    box-shadow: 0px 4px 4px var(--shadow-light);
}

.nav-link {
    color: var(--secondary-dark);
}

.nav-link.active {
    color: var(--text-dark);
    font-weight: 600;
}

/* --- Dark Box (dbox) --- */
.dbox {
    background: linear-gradient(90.73deg, var(--secondary-dark) 0%, var(--primary-dark) 101.07%);
    box-shadow: 0px 4px 4px var(--shadow-light);
    border-radius: var(--border-radius-medium);
    color: var(--text-light);
    border: none;
    overflow: hidden;
}

.dbox-title {
    font-weight: 700;
    font-size: 22px;
    line-height: 27px;
    text-align: center;
    color: var(--accent-yellow);
    text-shadow: 0px 0px 3px var(--text-darker);
}

.dbox-text {
    font-weight: 400;
    font-size: 16px;
    padding-top: var(--padding-small);
    text-align: center;
    color: var(--text-light);
}

/* --- Social Icons --- */
.social-icons {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0; /* Add padding to reset default list padding */
}

.social-icons li {
    font-size: 45px; /* Consider using 'rem' for better scalability */
    /* float: left; - Consider using flexbox gap for spacing */
}

.social-icons li a {
    color: var(--text-light);
    text-decoration: none;
}

.social-icons li a:hover {
    color: var(--accent-yellow);
}

/* --- Table Styles --- */
.table {
    border-collapse: separate;
    border-spacing: 0 8px; /* Consistent spacing */
    width: 100%; /* Ensure table takes full width */
}

.table>:not(caption)>*>* {
    color: var(--text-light-translucent);
    font-size: 16px;
    font-weight: 400;
    border: none;
}

.table thead {
    border-bottom: 2px solid var(--border-yellow-medium);
}

.table th {
    text-align: left;
    color: var(--accent-yellow);
    font-size: 16px;
    font-weight: 600;
    padding-left: var(--padding-large);
    text-shadow: 0px 0px 3px var(--text-darker);
}

.table td {
    text-align: left;
    color: var(--text-light);
    font-size: 16px;
    font-weight: 600;
    text-shadow: 0px 0px 3px var(--text-darker);
    padding-top: var(--padding-medium);
}

thead th,
tr {
    border-bottom: 1px solid var(--border-yellow-light) !important;
}

tr:hover {
    background-color: var(--table-row-hover-bg);
}

.satir {
    background-color: var(--table-row-bg);
    box-shadow: 0px 0px 5px var(--shadow-medium);
    border-radius: var(--border-radius-small);
}

.satir p {
    font-size: 14px;
    font-weight: 400;
    padding: 0;
    margin: 0;
    color: var(--text-light);
}

/* Table Cell Border Radius */
td:first-child,
th:first-child {
    border-radius: var(--border-radius-small) 0 0 var(--border-radius-small);
    padding-left: var(--padding-large);
}

td:last-child,
th:last-child {
    border-radius: 0 var(--border-radius-small) var(--border-radius-small) 0;
}

.tarih {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light-translucent);
    text-align: center;
}

/* --- Icon Colors (Font Awesome, etc.) --- */
.fa-chevron-up {
    color: var(--success-green);
}

.fa-chevron-down {
    color: var(--error-red);
}

.fa-chevron-right {
    color: var(--link-icon-color);
}

/* --- Highlight Box (hbox) --- */
.hbox {
    background: var(--text-light);
    box-shadow: 0px 4px 4px var(--shadow-light);
    border-radius: var(--border-radius-medium);
    color: var(--text-dark);
    border: none;
    overflow: hidden;
    padding: 0 !important;
    margin: 0 !important;
}

.hbox-text {
    font-weight: 400;
    font-size: 16px;
    text-align: left;
    color: var(--text-dark);
}

.hbox-title {
    font-weight: 600;
    font-size: 20px;
    line-height: 25px;
    color: var(--text-darker);
}

.hbox img {
    height: 100%;
    object-fit: cover;
}

/* --- Legal Text --- */
.legal {
    font-weight: 500;
    font-size: 14px;
    text-align: center;
    color: var(--text-dark-translucent);
}

/* --- Page Image --- */
.pageimg {
    min-height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius-medium);
    overflow: hidden;
}

.pgimg {
    padding: var(--padding-small) var(--padding-large);
}

/* --- Footer Styles --- */
.footer {
    background: linear-gradient(180deg, var(--secondary-dark) 0%, var(--text-darker) 100%);
}

.ftr-text {
    font-weight: 400;
    font-size: 16px;
    text-align: center;
    color: var(--text-light);
}

.footer a {
    font-weight: 500;
    font-size: 16px;
    color: var(--text-light);
    text-decoration: none; /* Add text-decoration for consistency */
}

.footer a.active {
    color: var(--accent-yellow) !important;
}

.ftr-iltsm li a i {
    color: var(--accent-yellow);
    font-size: 1.2rem;
    margin-right: 10px;
}

.footer a:hover {
    color: var(--accent-yellow);
}

/* --- General Icons & Text (iltsm - assuming "iletisim" for contact) --- */
.iltsm i {
    font-size: 20px;
}

.iltsm a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-darker);
}

.iltsm a:hover {
    color: #86600c; /* Specific hover color, consider making this a variable if used elsewhere */
}

/* --- Service Box (hizbox - assuming "hizmet" for service) --- */
.hizmetimg {
    height: 250px;
    width: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-medium);
    overflow: hidden;
}

.hizmet-title {
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    color: var(--accent-yellow);
    text-shadow: 0px 0px 3px var(--text-darker);
}

.hizbox {
    background-color: var(--hizbox-bg);
    border-radius: var(--border-radius-medium);
    overflow: hidden;
    border: none;
}

.hizmet a {
    text-decoration: none;
}

.hizbox:hover {
    background-color: var(--hizbox-hover-bg);
}