/* ==========================================================================
   BEYAZ FİL İNŞAAT - STYLESHEET (beyazfilinsaat.com)
   ========================================================================== */

:root {
    --navy-dark: #0D162A;
    --navy-main: #162244;
    --navy-light: #20315F;
    --gold-accent: #D49A38;
    --gold-hover: #B87B1E;
    --royal-blue: #162244;
    --royal-blue-hover: #0D162A;
    --text-dark: #1E293B;
    --text-muted: #64748B;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --border-color: #E2E8F0;
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --font-serif: 'Cinzel', serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* ================= TOP BAR ================= */
.top-bar {
    background-color: var(--navy-dark);
    color: #CBD5E1;
    font-size: 13px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(212, 154, 56, 0.2);
}

.top-bar-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.top-info {
    display: flex;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-item i {
    color: var(--gold-accent);
}

.info-item strong {
    color: #FFFFFF;
}

/* ================= MAIN HEADER & NAV ================= */
.main-header {
    background-color: #FFFFFF;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 140px;
    position: relative;
    width: 100%;
}

.header-logo {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 2px 0;
}

/* DESKTOP 1.5X CROPPED LOGO */
.site-logo-img {
    height: 120px;
    max-height: 125px;
    width: auto;
    max-width: 520px;
    object-fit: contain;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    margin-left: 15px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links li a {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy-main);
    padding: 8px 0;
    position: relative;
}

.nav-links li.active a,
.nav-links li a:hover {
    color: var(--gold-accent);
}

.nav-links li.active a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--gold-accent);
    border-radius: 2px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 15px;
}

.lang-selector {
    font-size: 18px;
}

.btn-quote {
    background-color: var(--navy-main);
    color: #FFFFFF;
    border: 1px solid var(--gold-accent);
    font-size: 13px;
    font-weight: 800;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(22, 34, 68, 0.2);
}

.btn-quote:hover {
    background-color: var(--gold-accent);
    color: var(--navy-dark);
    transform: translateY(-2px);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--navy-main);
    cursor: pointer;
}

/* Mobile Drawer */
.mobile-menu {
    display: none;
    background-color: var(--navy-dark);
    padding: 20px;
}
.mobile-nav-links li {
    margin-bottom: 15px;
}
.mobile-nav-links a {
    color: #FFFFFF;
    font-weight: 700;
}

/* ================= PAGE SECTIONS ================= */
.page-section {
    display: none;
}

.page-section.active-page {
    display: block;
}

/* ================= HERO SECTION (SINGLE BANNER) ================= */
.hero-section {
    position: relative;
    background: url('images/hero.jpg') no-repeat center center/cover;
    height: 500px;
    display: flex;
    align-items: center;
    color: #FFFFFF;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(13, 22, 42, 0.94) 0%, rgba(22, 34, 68, 0.65) 100%);
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 680px;
}

.hero-tag {
    background-color: var(--gold-accent);
    color: var(--navy-dark);
    font-size: 12px;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.hero-desc {
    font-size: 16px;
    color: #E2E8F0;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary {
    background-color: var(--gold-accent);
    color: var(--navy-dark);
    border: none;
    padding: 14px 28px;
    font-weight: 800;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}
.btn-primary:hover {
    background-color: var(--gold-hover);
    color: #FFFFFF;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
    padding: 14px 28px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}
.btn-secondary:hover {
    background-color: #FFFFFF;
    color: var(--navy-main);
}

/* ================= COMMON SECTION STYLES ================= */
.section-padding {
    padding: 80px 0;
}

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

.section-heading {
    font-size: 32px;
    font-weight: 800;
    color: var(--navy-main);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 45px;
}

.text-center { text-align: center; }
.text-left { text-align: left; }

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.paragraph {
    font-size: 15px;
    color: #475569;
    margin-bottom: 15px;
}

/* ================= ABOUT SECTION ================= */
.about-image-wrapper {
    position: relative;
    padding-left: 20px;
    padding-top: 20px;
}

.gold-border-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 140px;
    height: 140px;
    border-top: 6px solid var(--gold-accent);
    border-left: 6px solid var(--gold-accent);
    z-index: 1;
}

.about-img {
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}

.about-logo-badge {
    position: absolute;
    top: 30px;
    right: -15px;
    background-color: #FFFFFF;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-accent);
    font-size: 24px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    z-index: 3;
    border: 2px solid var(--gold-accent);
}

.sub-badge {
    color: var(--gold-accent);
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 25px 0;
}

.mv-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background-color: #FFFDF9;
    border: 1px solid #FDE68A;
    padding: 15px;
    border-radius: 8px;
}

.mv-card i {
    font-size: 22px;
    color: var(--gold-accent);
    margin-top: 4px;
}

.mv-card h4 {
    font-size: 16px;
    color: var(--navy-main);
}

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

.social-share {
    display: flex;
    gap: 10px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--navy-main);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition);
}

.social-btn:hover {
    background-color: var(--gold-accent);
    color: var(--navy-dark);
}

/* ================= TEKLİF ALIN SECTION ================= */
.quote-section {
    background: linear-gradient(135deg, #162244 0%, #0D162A 100%);
    color: #FFFFFF;
    padding: 60px 0;
    border-top: 3px solid var(--gold-accent);
}

.quote-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #FFFFFF;
}

.quote-sub {
    color: #CBD5E1;
    margin-bottom: 25px;
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-input {
    flex: 1;
    padding: 14px 18px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: #FFFFFF;
    color: var(--text-dark);
    font-family: inherit;
    font-size: 14px;
}

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

.captcha-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
}

.btn-submit {
    background-color: var(--gold-accent);
    color: var(--navy-dark);
    border: none;
    padding: 14px 28px;
    font-weight: 800;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background-color: var(--gold-hover);
    color: #FFFFFF;
}

.alert-success {
    background-color: #10B981;
    color: #FFFFFF;
    padding: 12px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
}

.quote-img-box {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.contact-support-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: #FFFFFF;
    color: var(--navy-main);
    padding: 12px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    border-left: 4px solid var(--gold-accent);
}

.contact-support-badge i {
    font-size: 24px;
    color: var(--gold-accent);
}

.support-num {
    display: block;
    font-weight: 800;
    font-size: 16px;
}

.support-label {
    font-size: 12px;
    color: var(--text-muted);
}

/* ================= SERVICES SECTION ================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: var(--transition);
    border: 1px solid #F1F5F9;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
    border-color: var(--gold-accent);
}

.card-img-wrapper {
    position: relative;
    height: 190px;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-icon {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--navy-main);
    border: 2px solid var(--gold-accent);
    color: var(--gold-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.card-body {
    padding: 35px 20px 25px;
    text-align: center;
}

.card-body h3 {
    font-size: 15px;
    font-weight: 800;
    color: var(--navy-main);
    margin-bottom: 10px;
}

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

/* ================= BLOG SECTION ================= */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background-color: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    display: flex;
    text-align: left;
}

.blog-img-box {
    position: relative;
    width: 40%;
}

.blog-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gold-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--gold-accent);
    color: var(--navy-dark);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
}

.blog-content {
    padding: 20px;
    width: 60%;
}

.blog-content h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--navy-main);
    margin-bottom: 8px;
    line-height: 1.3;
}

.blog-content p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.btn-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy-main);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* ================= TEAM CARDS ================= */
.team-grid, .team-full-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.team-card {
    background-color: #FFFFFF;
    border-radius: 8px;
    padding: 30px 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    border: 1px solid #F1F5F9;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-color: var(--gold-accent);
}

.team-avatar-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: #FFFDF9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--gold-accent);
}

.gold-accent-line {
    width: 100%;
    height: 4px;
    background-color: var(--gold-accent);
    border-radius: 2px;
    margin: 15px 0;
}

.member-name {
    font-size: 16px;
    font-weight: 800;
    color: var(--navy-main);
    margin-bottom: 2px;
}

.member-role {
    font-size: 13px;
    font-weight: 600;
    color: #64748B;
    margin-bottom: 6px;
}

.member-email {
    font-size: 11px;
    color: #94A3B8;
}

/* ================= PROCESS SECTION ================= */
.process-section {
    background-color: #FFFFFF;
}

.process-title {
    font-size: 26px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 30px;
}

.process-text-col {
    background-color: var(--navy-main);
    color: #FFFFFF;
    padding: 40px;
    border-radius: 12px;
    border-top: 4px solid var(--gold-accent);
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.step-num {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--gold-accent);
    color: var(--navy-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
}

.step-info h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 2px;
}

.step-info p {
    font-size: 13px;
    color: #CBD5E1;
}

.process-img-box {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.process-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: #FFFFFF;
    color: var(--navy-dark);
    padding: 10px 18px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 3px solid var(--gold-accent);
}

.process-badge i {
    color: var(--gold-accent);
}

/* ================= SUBPAGE BANNER ================= */
.subpage-banner {
    position: relative;
    background: url('images/hero.jpg') no-repeat center center/cover;
    height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 22, 42, 0.88);
}

.banner-title {
    position: relative;
    z-index: 2;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 1px;
}

.breadcrumb-box {
    position: absolute;
    bottom: 0;
    background-color: #FFFFFF;
    color: var(--navy-main);
    padding: 8px 24px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    gap: 8px;
    z-index: 3;
    border-top: 2px solid var(--gold-accent);
}

.bc-link { cursor: pointer; color: var(--navy-main); }
.bc-sep { color: #94A3B8; }

/* Contact Details */
.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 25px;
}

.cd-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.cd-item i {
    font-size: 20px;
    color: var(--gold-accent);
    margin-top: 3px;
}

/* ================= FOOTER ================= */
.main-footer {
    background-color: var(--navy-dark);
    color: #94A3B8;
    padding-top: 60px;
    border-top: 3px solid var(--gold-accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1.2fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-title {
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.footer-phone {
    font-size: 18px;
    font-weight: 800;
    color: var(--gold-accent);
}

.footer-address {
    font-size: 13px;
    line-height: 1.5;
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.footer-socials a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--navy-main);
    border: 1px solid var(--gold-accent);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.footer-socials a:hover {
    background-color: var(--gold-accent);
    color: var(--navy-dark);
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    font-size: 13px;
    color: #CBD5E1;
}

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

.footer-label {
    font-size: 12px;
    color: #64748B;
}

.footer-value {
    font-size: 14px;
    color: #FFFFFF;
    font-weight: 600;
}

/* Sub Footer */
.sub-footer {
    background-color: #F8FAFC;
    color: var(--text-muted);
    padding: 15px 0;
    border-top: 1px solid #E2E8F0;
}

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

.footer-logo-box {
    display: flex;
    align-items: center;
}

.footer-logo-img {
    height: 75px;
    max-height: 75px;
    width: auto;
    object-fit: contain;
}

.copyright-text {
    font-size: 13px;
    font-weight: 600;
}

.scroll-top-btn {
    width: 36px;
    height: 36px;
    background-color: var(--navy-main);
    color: #FFFFFF;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* ================= MOBILE & TABLET RESPONSIVE RULES ================= */
@media (max-width: 1024px) {
    .container { padding: 0 15px; }
    .header-container { height: 100px; }
    .site-logo-img { height: 80px !important; max-width: 340px !important; }
}

@media (max-width: 992px) {
    .main-nav { margin-left: 10px; }
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    .btn-quote { padding: 10px 16px; font-size: 12px; }
    .grid-2 { grid-template-columns: 1fr; gap: 30px; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .team-grid, .team-full-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 25px; }
    .mission-vision-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .header-container { height: 80px; }
    .site-logo-img { height: 60px !important; max-width: 240px !important; }
    .hero-section { height: 440px; }
    .hero-title { font-size: 26px; }
    .hero-desc { font-size: 14px; }
    .quote-form .form-row { flex-direction: column; gap: 12px; }
    .quote-section { padding: 40px 0; }
    .quote-title { font-size: 24px; }
    .section-padding { padding: 50px 0; }
    .section-heading { font-size: 24px; }
    .blog-grid { grid-template-columns: 1fr; }
    .blog-card { flex-direction: column; }
    .blog-img-box { width: 100%; height: 200px; }
    .blog-content { width: 100%; }
    .about-image-wrapper { padding: 0; }
    .gold-border-frame { display: none; }
}

@media (max-width: 576px) {
    .top-bar { display: none; } /* Hide top info bar on mobile to keep screen ultra clean */
    .header-container { height: 75px; padding: 0 10px; }
    .site-logo-img { height: 52px !important; max-width: 200px !important; }
    .btn-quote { display: none; } /* Hide quote button on phone screens so logo & hamburger icon are clean */
    .hero-buttons { flex-direction: column; gap: 10px; }
    .hero-buttons button { width: 100%; }
    .services-grid, .team-grid, .team-full-grid, .footer-grid { grid-template-columns: 1fr; }
    .sub-footer-content { flex-direction: column; gap: 12px; text-align: center; }
    .footer-logo-img { height: 45px !important; }
}
