/* ==========================================================================
   BVB Mimarlık - Brand CSS Stylesheet
   Luxury Architecture Dark Theme with Gold Accents
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. FONTS & RESET
   -------------------------------------------------------------------------- */
@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/playfair-display/PlayfairDisplay-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/playfair-display/PlayfairDisplay-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-dark: #ffffff;
    --bg-card: #ffffff;
    --bg-nav: rgba(255, 255, 255, 0.85);

    --primary-gold: #b89563;
    --primary-gold-hover: #a68052;
    --primary-gold-dark: #8e7350;
    --gold-gradient: linear-gradient(135deg, #c5a880 0%, #a68052 100%);

    --text-light: #1c1b1f;
    --text-muted: #62606a;
    --text-dark: #121212;

    --border-color: rgba(184, 149, 99, 0.25);
    --border-color-hover: rgba(184, 149, 99, 0.6);

    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: all 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

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

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-light);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-serif {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

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

ul {
    list-style: none;
}

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

/* --------------------------------------------------------------------------
   2. UTILITIES & LAYOUT
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.gold-text {
    color: var(--primary-gold);
}

.gold-gradient-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--primary-gold);
    background: transparent;
    color: var(--text-light);
    padding: 12px 30px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gold-gradient);
    transition: var(--transition-smooth);
    z-index: -1;
}

.btn-gold:hover {
    color: #121212;
    border-color: transparent;
}

.btn-gold:hover::before {
    left: 0;
}

/* --------------------------------------------------------------------------
   3. HEADER / NAVIGATION
   -------------------------------------------------------------------------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    border-bottom: none;
    padding: 20px 0;
    transition: var(--transition-smooth);
}

header.scrolled {
    padding: 12px 0;
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
    box-shadow: none;
}

body.page-inner header.scrolled {
    background: rgba(10, 10, 12, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(184, 149, 99, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding: 0 50px;
    height: auto;
    min-height: 100px;
    transition: var(--transition-smooth);
}

header.scrolled .header-container {
    min-height: 70px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-container img {
    transition: var(--transition-smooth);
}

.logo-icon {
    color: var(--primary-gold);
    display: flex;
    align-items: center;
}

.logo-icon svg {
    transition: var(--transition-smooth);
}

.logo-text {
    font-size: 22px;
    letter-spacing: 2px;
    font-weight: 400;
    color: #ffffff;
    transition: var(--transition-smooth);
}

.logo-text span {
    color: var(--primary-gold);
}

/* Scrolled Logo Scaling (Colors remain white/gold) */
header.scrolled .logo-container img {
    max-height: 52px !important;
}

header.scrolled .logo-icon svg {
    width: 48px !important;
    height: 48px !important;
}

header.scrolled .logo-text {
    font-size: 24px !important;
}

.desktop-nav {
    margin-left: auto;
}

.desktop-nav ul {
    display: flex;
    gap: 25px;
    align-items: center;
}

.desktop-nav ul li {
    position: relative;
}

.desktop-nav ul li a {
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 8px;
    transition: var(--transition-smooth);
    text-shadow: -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000, 1px 1px 0 #000000, 0 2px 4px rgba(0,0,0,0.5);
}

.desktop-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--primary-gold);
    transition: var(--transition-smooth);
}

.desktop-nav ul li a:hover,
.desktop-nav ul li a.active {
    color: var(--primary-gold);
}

.desktop-nav ul li a:hover::after,
.desktop-nav ul li a.active::after {
    width: 100%;
}

.desktop-nav .search-item input::placeholder {
    color: rgba(255, 255, 255, 0.55);
    opacity: 1; /* Browser compatibility */
}

.search-item button:hover {
    color: var(--primary-gold) !important;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.btn-contact {
    border: 1.5px solid var(--primary-gold);
    padding: 10px 22px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    background: transparent;
    transition: var(--transition-smooth);
    border-radius: 4px;
}

.btn-contact:hover {
    background: var(--primary-gold);
    color: #121212;
    border-color: transparent;
}

.mobile-menu-toggle,
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-dark);
    border-left: 1px solid var(--border-color);
    z-index: 1100;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    transition: var(--transition-slow);
}

.mobile-nav-drawer.open {
    right: 0;
}

.mobile-nav-close {
    align-self: flex-end;
    background: transparent;
    border: none;
    color: var(--primary-gold);
    cursor: pointer;
}

.mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mobile-link {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
}

.mobile-link:hover,
.mobile-link.active {
    color: var(--primary-gold);
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* --------------------------------------------------------------------------
   4. JALUZI SLIDER
   -------------------------------------------------------------------------- */
.jaluzi-slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
    background: #000;
    overflow: hidden;
}

.jaluzi-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.jaluzi-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Background overlay */
.jaluzi-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.15) 40%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

/* Jaluzi slats animation container */
.jaluzi-blinds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 3;
    pointer-events: none;
}

.jaluzi-blind-slat {
    height: 100%;
    flex: 1;
    position: relative;
    overflow: hidden;
    background-color: #0a0a0c; /* fallback color */
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
    opacity: 1;
    transition: clip-path 0.9s cubic-bezier(0.645, 0.045, 0.355, 1), -webkit-clip-path 0.9s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.9s ease;
}

.jaluzi-blind-slat::after {
    content: '';
    position: absolute;
    top: 0;
    left: var(--slat-offset, 0);
    width: 1000%; /* For 10 slats */
    height: 100%;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.jaluzi-blinds.animating .jaluzi-blind-slat {
    -webkit-clip-path: inset(0 100% 0 0);
    clip-path: inset(0 100% 0 0);
    opacity: 0;
}

/* Slide Content */
.slide-content-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 5;
    display: flex;
    align-items: flex-end;
    padding-bottom: 120px;
}

.slide-info {
    max-width: 650px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-delay: 0.5s;
    color: #ffffff;
}

.slide-info .btn-gold {
    color: #ffffff;
    border-color: #ffffff;
}

.slide-info .btn-gold:hover {
    color: #121212;
    border-color: transparent;
}

.jaluzi-slide.active .slide-info {
    opacity: 1;
    transform: translateY(0);
}

.slide-title {
    font-size: 55px;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.slide-subtitle {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-gold);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.slide-subtitle::before {
    content: '';
    display: inline-block;
    width: 40px;
    height: 1px;
    background: var(--primary-gold);
}

/* Highlight widgets */
.slider-highlights {
    position: absolute;
    bottom: 50px;
    right: 50px;
    z-index: 10;
    display: flex;
    gap: 30px;
}

.highlight-item {
    cursor: pointer;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    padding-left: 15px;
    padding-bottom: 5px;
    transition: var(--transition-smooth);
}

.highlight-item:hover,
.highlight-item.active {
    border-left-color: var(--primary-gold);
}

.highlight-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 2px;
}

.highlight-desc {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
}

.highlight-item.active .highlight-title {
    color: var(--primary-gold);
}

/* Slider bottom bar */
.slider-bottom-bar {
    position: absolute;
    bottom: 50px;
    left: 50px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 20px;
}

.slider-brand-badge {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 15px;
    font-size: 11px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.8);
}

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

.social-icon {
    color: var(--primary-gold);
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.social-icon:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   5. SECTIONS: GENERAL PORTFOLIO, SERVICES, NEWS
   -------------------------------------------------------------------------- */
.section-title-area {
    margin-bottom: 60px;
    text-align: center;
    position: relative;
}

.section-tag {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-gold);
    margin-bottom: 15px;
    display: block;
}

.section-title {
    font-size: 40px;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: var(--primary-gold);
    margin: 20px auto 0;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

/* Category Filter Bar */
.category-filter-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 8px 24px;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-gold);
    color: #121212;
    border-color: transparent;
}

.project-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: transparent;
    border: none;
    transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 1;
    transform: scale(1);
}

.project-card-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.project-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.project-card:hover .project-card-image {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.project-card-info {
    padding: 5px 0 10px 0;
}

.project-card-cat {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-gold);
    display: block;
    margin-bottom: 4px;
}

.project-card-title-new {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 6px;
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    transition: var(--transition-smooth);
}

.project-card:hover .project-card-title-new {
    color: var(--primary-gold);
}

.project-card-meta-new {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
}

.project-card-separator {
    color: var(--primary-gold);
    opacity: 0.6;
}

.project-card-status-new {
    font-weight: 500;
}

/* Services section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    transition: var(--transition-smooth);
}

.service-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-5px);
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-card-icon {
    color: var(--primary-gold);
    margin-bottom: 25px;
    display: inline-block;
}

.service-card-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-light);
}

.service-card-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* News grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 1;
    transform: scale(1);
}

.news-card-image-wrapper {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.news-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.news-card:hover .news-card-image {
    transform: scale(1.08);
}

.news-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card-date {
    font-size: 11px;
    color: var(--primary-gold);
    margin-bottom: 10px;
}

.news-card-title {
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.news-card-excerpt {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.news-card-link {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-gold);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.news-card-link:hover {
    color: var(--text-light);
}

/* --------------------------------------------------------------------------
   6. CONTACT PAGE & FORMS
   -------------------------------------------------------------------------- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-item-icon {
    color: var(--primary-gold);
    background: rgba(197, 168, 128, 0.05);
    padding: 15px;
    border: 1px solid var(--border-color);
}

.contact-item-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.contact-item-detail {
    font-size: 14px;
    color: var(--text-muted);
}

.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-gold);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    padding: 12px 15px;
    color: var(--text-light);
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 10px rgba(197, 168, 128, 0.15);
}

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

.form-status {
    padding: 15px;
    margin-bottom: 20px;
    font-size: 13px;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid #4caf50;
    color: #4caf50;
}

.form-status.error {
    display: block;
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid #f44336;
    color: #f44336;
}

/* --------------------------------------------------------------------------
   7. FOOTER
   -------------------------------------------------------------------------- */
footer {
    background: #060608;
    border-top: 1px solid var(--border-color);
    padding: 60px 0;
    font-size: 13px;
    color: var(--text-muted);
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* --------------------------------------------------------------------------
   6.5. ABOUT GRID & SIDEBAR
   -------------------------------------------------------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

.about-sidebar {
    background: rgba(184, 149, 99, 0.05);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 4px;
    position: sticky;
    top: 120px;
}

.project-detail-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 60px;
}

/* --------------------------------------------------------------------------
   6.6. ABOUT IMAGE FLOATING & HOVER ANIMATION
   -------------------------------------------------------------------------- */
.about-image-wrapper {
    position: relative;
    border: 1px solid var(--border-color);
    overflow: hidden;
    aspect-ratio: 4/3;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    animation: floatImage 6s ease-in-out infinite;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    z-index: 2;
    display: block;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 100%);
    transform: skewX(-25deg);
}

.about-image-wrapper:hover::before {
    animation: shineEffect 1.2s;
}

.about-image-zoom {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.about-image-wrapper:hover {
    border-color: var(--primary-gold);
    box-shadow: 0 15px 40px rgba(184, 149, 99, 0.15);
}

.about-image-wrapper:hover .about-image-zoom {
    transform: scale(1.08) rotate(1deg);
}

/* Floating Animation */
@keyframes floatImage {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Shiny Hover Animation */
@keyframes shineEffect {
    100% {
        left: 125%;
    }
}

/* --------------------------------------------------------------------------
   8. RESPONSIVE MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-sidebar {
        position: static;
        padding: 30px 20px;
    }

    .project-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .desktop-nav {
        display: none;
    }

    .btn-contact {
        display: none;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .slide-title {
        font-size: 40px;
    }

    .slider-highlights {
        display: none;
    }

    /* Responsive Page Title Headings */
    .section-padding h1 {
        font-size: 32px !important;
    }

    /* Mobile Header Layout Adjustments to prevent menu overlap */
    .header-container {
        padding: 0 20px !important;
        min-height: 80px !important;
    }

    header.scrolled .header-container {
        min-height: 60px !important;
    }

    .logo-container img {
        max-height: 50px !important;
    }

    header.scrolled .logo-container img {
        max-height: 40px !important;
    }

    .logo-icon svg {
        width: 45px !important;
        height: 45px !important;
    }

    header.scrolled .logo-icon svg {
        width: 35px !important;
        height: 35px !important;
    }

    .logo-text {
        font-size: 18px !important;
        margin-left: 10px !important;
    }

    header.scrolled .logo-text {
        font-size: 16px !important;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 32px;
    }

    .section-padding h1 {
        font-size: 26px !important;
    }

    .slide-title {
        font-size: 32px;
    }

    .contact-form-wrapper {
        padding: 25px;
    }

    footer .container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-brand {
        flex-direction: column;
    }

    .slider-bottom-bar {
        left: 20px;
        bottom: 20px;
    }
}

/* Error Page Button Overrides */
.error-page-wrapper .btn-gold {
    color: #ffffff;
    border-color: var(--primary-gold);
}

.error-page-wrapper .btn-gold:hover {
    color: #121212;
    border-color: transparent;
}