/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* VARIABLES */
:root {
    --header-height: 4.5rem;

    /* Colors */
    --first-color: #1a1a1a;
    --first-color-light: #2c2c2c;
    --gold-color: #d4af37;
    --gold-color-alt: #bfa140;
    --title-color: #1a1a1a;
    --text-color: #666666;
    --text-color-light: #888888;
    --body-color: #ffffff;
    --container-color: #ffffff;
    --border-color: #e0e0e0;
    --white-color: #ffffff;

    /* Font and Typography */
    --body-font: 'Outfit', sans-serif;
    --title-font: 'Playfair Display', serif;

    --h1-font-size: 3.5rem;
    --h2-font-size: 2.25rem;
    --h3-font-size: 1.5rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;

    /* Font Weight */
    --font-medium: 500;
    --font-semi-bold: 600;
    --font-bold: 700;

    /* Z-Index */
    --z-tooltip: 10;
    --z-fixed: 100;

    /* Transition */
    --transition: .4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Responsive Typography */
@media screen and (max-width: 968px) {
    :root {
        --h1-font-size: 2.5rem;
        --h2-font-size: 1.75rem;
        --h3-font-size: 1.25rem;
    }
}

/* BASE */
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

/* PRELOADER */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--body-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s;
}

#preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--gold-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
}

h1,
h2,
h3 {
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
    font-family: var(--title-font);
    line-height: 1.2;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
input,
textarea {
    border: none;
    outline: none;
    font-family: var(--body-font);
}

/* REUSABLE CSS CLASSES */
.container {
    max-width: 1140px;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.section {
    padding: 5rem 0 2rem;
}

.section-title {
    font-size: var(--h2-font-size);
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-subtitle {
    display: block;
    font-size: var(--small-font-size);
    color: var(--gold-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: var(--font-medium);
    text-align: center;
    margin-bottom: 0.5rem;
}

.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.header-container {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--title-color);
    font-size: 1.5rem;
    font-weight: var(--font-bold);
    font-family: var(--title-font);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    max-height: 40px;
    width: auto;
}

.logo-highlight {
    /* No special color, inherit from parent which will be set explicitly in HTML or adjust here if needed */
    color: inherit;
}

.nav-list {
    display: flex;
    column-gap: 2.5rem;
}

.nav-link {
    color: var(--title-color);
    font-weight: var(--font-medium);
    text-transform: uppercase;
    font-size: var(--small-font-size);
    letter-spacing: 0.5px;
    transition: color 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold-color);
    transition: width 0.3s;
}

.nav-link:hover {
    color: var(--gold-color);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle,
.nav-close {
    display: none;
    font-size: 1.5rem;
    color: var(--title-color);
    cursor: pointer;
}

/* HOME Section */
/* HOME Section */
.home {
    position: relative;
    height: 70vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--white-color);
    margin-bottom: 3rem;
}

.home-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1613490493576-7fde63acd811?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    z-index: -2;
}

.home-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
    z-index: -1;
}

.home-content {
    max-width: 700px;
}

.home-subtitle {
    display: block;
    font-size: var(--h3-font-size);
    color: var(--white-color);
    margin-bottom: 1rem;
    font-family: var(--body-font);
    font-style: normal;
}

.home-title {
    font-size: var(--h1-font-size);
    margin-bottom: 1.5rem;
    color: var(--white-color);
}

.home-description {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 500px;
}

.home-buttons {
    display: flex;
    gap: 1rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background-color: var(--gold-color);
    color: var(--white-color);
    font-weight: var(--font-medium);
    transition: var(--transition);
    border: 2px solid var(--gold-color);
    text-transform: uppercase;
    font-size: var(--small-font-size);
    letter-spacing: 1px;
    cursor: pointer;
}

.button i {
    margin-left: 0.5rem;
    transition: transform 0.3s;
}

.button:hover i {
    transform: translateX(5px);
}

.button--primary {
    background-color: var(--gold-color);
    color: var(--white-color);
    border: 2px solid var(--gold-color);
}

.button--primary:hover {
    background-color: transparent;
    color: var(--gold-color);
}

.button--secondary {
    background-color: transparent;
    color: var(--gold-color);
    border: 2px solid var(--gold-color);
}

.button--secondary:hover {
    background-color: var(--gold-color);
    color: var(--white-color);
}

.button--white {
    background-color: var(--white-color);
    color: var(--title-color);
    border: 2px solid var(--white-color);
}

.button--white:hover {
    background-color: transparent;
    color: var(--white-color);
}

.button--ghost {
    background-color: var(--white-color);
    border: 2px solid var(--white-color);
    color: var(--title-color);
}

.button--ghost:hover {
    background-color: transparent;
    color: var(--white-color);
}

.home-social {
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.home-social-link {
    color: var(--white-color);
    font-size: 1.25rem;
    transition: transform 0.3s, color 0.3s;
}

.home-social-link:hover {
    color: var(--gold-color);
    transform: translateX(-5px);
}

/* FEATURED Section */
.featured-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding-top: 2rem;
}

@media screen and (max-width: 1024px) {
    .featured-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .featured-container {
        grid-template-columns: 1fr;
    }
}

.card {
    background-color: var(--white-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card-image-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.card:hover .card-img {
    transform: scale(1.1);
}

.card-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--first-color);
    color: var(--white-color);
    padding: 0.25rem 0.75rem;
    font-size: var(--smaller-font-size);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-price {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background-color: var(--gold-color);
    color: var(--white-color);
    padding: 0.4rem 1rem;
    font-weight: var(--font-bold);
    font-family: var(--title-font);
    font-size: 1.1rem;
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.card-title:hover {
    color: var(--gold-color);
}

.card-location {
    font-size: var(--small-font-size);
    color: var(--text-color-light);
    margin-bottom: 1.25rem;
}

.card-location i {
    color: var(--gold-color);
    margin-right: 0.25rem;
}

.card-features {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    color: var(--text-color);
    font-size: var(--smaller-font-size);
    margin-bottom: 1.25rem;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.button--link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--first-color);
    font-weight: var(--font-medium);
    font-size: var(--small-font-size);
    border-top: 1px solid transparent;
    transition: color 0.3s;
}

.button--link:hover {
    color: var(--gold-color);
}

/* ABOUT Section */
.about-container {
    align-items: center;
    column-gap: 4rem;
}

.about-img-wrapper {
    position: relative;
    border: none !important;
    /* Force remove any border */
    display: flex;
    /* Flex to center */
    justify-content: center;
    /* Center horizontally */
    align-items: center;
    /* Center vertically */
}

.about-img {
    position: relative;
    z-index: 10;
    transition: transform 0.4s;
}

.about-img:hover {
    transform: translate(0.5rem, 0.5rem);
}

.about-description {
    margin-bottom: 2.5rem;
    color: var(--text-color);
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-family: var(--title-font);
    color: var(--gold-color);
    font-weight: var(--font-semi-bold);
    margin-bottom: 0.25rem;
}

.stat-title {
    font-size: var(--small-font-size);
    text-transform: uppercase;
    color: var(--title-color);
    font-weight: var(--font-medium);
}

/* CONTACT Section */
.contact-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: flex-start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-icon {
    font-size: 1.75rem;
    color: var(--gold-color);
    width: 60px;
    height: 60px;
    background-color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    z-index: 10;
    text-align: center;
}

.contact-icon i,
.contact-icon svg {
    z-index: 11;
    font-size: 1.5rem;
    color: var(--gold-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.contact-card-title {
    font-size: var(--normal-font-size);
    color: var(--title-color);
    margin-bottom: 0.25rem;
}

.contact-card-data {
    font-size: var(--small-font-size);
    color: var(--text-color);
}

.contact-form {
    background-color: var(--white-color);
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border-top: 5px solid var(--gold-color);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--title-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: var(--smaller-font-size);
    color: var(--title-color);
    margin-bottom: 0.5rem;
    font-weight: var(--font-medium);
}

.form-input {
    width: 100%;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 0.8rem 1rem;
    font-size: var(--small-font-size);
    transition: all 0.3s;
    border-radius: 4px;
}

.form-input:focus {
    border-color: var(--gold-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
    background-color: #fff;
}

.form-button {
    width: 100%;
    border-radius: 0;
}

/* FOOTER */
.footer {
    background-color: var(--first-color);
    color: #aeaeae;
    padding: 5rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    color: var(--white-color);
    margin-bottom: 1rem;
    display: block;
}

.footer-description {
    font-size: var(--small-font-size);
}

.footer-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-link {
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--gold-color);
}

.footer-social {
    display: flex;
    gap: 1.25rem;
}

.footer-social-link {
    color: var(--white-color);
    font-size: 1.25rem;
    transition: color 0.3s;
}

.footer-social-link:hover {
    color: var(--gold-color);
}

.footer-bottom {
    text-align: center;
    font-size: var(--smaller-font-size);
}

/* RESPONSIVE DESIGN */
@media screen and (max-width: 968px) {
    .container {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .nav-list {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .about-container {
        grid-template-columns: 1fr;
        row-gap: 3rem;
    }

    .about-img-wrapper {
        order: -1;
        width: 100%;
        display: flex;
        justify-content: center;
        margin: 0 auto;
        /* Center the container itself */
    }

    .about-img {
        max-width: 100%;
        /* Ensure it fits */
        height: auto;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media screen and (min-width: 968px) {
    .container {
        margin: 0 auto;
    }
}

/* Mobile Menu Styles */
.nav.show-menu .nav-list {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-height);
    /* Start EXACTLY below header */
    right: 0;
    width: 60%;
    /* Slightly narrower for better UX */
    height: auto;
    /* Let content dictate height, don't force stretch */
    min-height: 50vh;
    /* Ensure it has some presence */
    background-color: var(--white-color);
    padding: 3rem 2rem;
    gap: 2rem;
    box-shadow: -5px 5px 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    /* Ensure it's on top of everything */
    transition: right 0.4s;
    border-bottom-left-radius: 10px;
    border: 1px solid #eee;
}

.nav.show-menu .nav-link {
    font-size: 1.1rem;
    /* Normal readable size */
    color: var(--title-color);
    font-weight: 600;
}

/* Resize logo on smaller screens */
@media screen and (max-width: 400px) {
    .logo {
        font-size: 1.25rem;
    }
}

.nav.show-menu .nav-close {
    display: block;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
}

.button--outline {
    display: inline-flex;
    padding: 0.75rem 2rem;
    border: 1px solid var(--first-color);
    color: var(--first-color);
    margin-top: 2rem;
    font-size: var(--small-font-size);
    text-transform: uppercase;
    font-weight: var(--font-medium);
    transition: var(--transition);
}

.button--outline:hover {
    background-color: var(--first-color);
    color: var(--white-color);
}

.view-all-container {
    text-align: center;
}

/* Gallery Styles */
#detail-gallery {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.detail-gallery-item {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-gallery-item.active {
    display: block;
    animation: fadeIn 0.5s;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 2;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    font-size: 1.2rem;
}

.gallery-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.gallery-nav.prev {
    left: 20px;
}

.gallery-nav.next {
    right: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Video Styles */
#detail-video {
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}


/* TEAM SECTION */
.team-card {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.team-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--gold-color);
}

.team-name {
    color: var(--title-color);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: var(--font-semi-bold);
    font-family: var(--title-font);
}

.team-role {
    color: var(--gold-color);
    font-size: var(--small-font-size);
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: var(--font-medium);
}

.team-contact {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.team-contact-link {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--title-color);
    transition: 0.3s;
}

.team-contact-link:hover {
    background: var(--gold-color);
    color: #fff;
}

/* SEARCH FILTER SECTION */
.filters-section {
    padding: 2rem 0 4rem;
    background-color: #fcfcfc;
}

.search-box-card {
    background-color: var(--white-color);
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--gold-color);
    border-radius: 4px;
}

.search-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.search-field {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid #e5e5e5;
    background-color: var(--white-color);
    color: var(--text-color);
    font-family: var(--body-font);
    font-size: var(--small-font-size);
    transition: all 0.3s ease;
    outline: none;
    border-radius: 0;
}

.search-field:focus {
    border-color: var(--gold-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.search-action-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border-top: 1px solid #f5f5f5;
    padding-top: 2rem;
    margin-top: 1rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.search-btn-wide {
    min-width: 280px;
    padding: 1.1rem 2rem;
    font-size: 1rem;
    letter-spacing: 1.5px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-weight: var(--font-semi-bold);
}

/* Responsive Search Grid */
@media screen and (max-width: 1024px) {
    .search-grid-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .search-grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .search-action-wrapper {
        justify-content: center;
    }

    .search-btn-wide {
        width: auto;
        min-width: 200px;
    }
}

@media screen and (max-width: 576px) {
    .search-grid-wrapper {
        grid-template-columns: 1fr;
    }

    .search-action-wrapper {
        flex-direction: column;
    }

    .search-action-wrapper button {
        width: 100%;
    }

    .search-btn-wide {
        width: 100%;
        min-width: 0;
    }
}

/* Search Box Restructuring */
.search-box-card {
    background-color: #fff;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    /* Slightly softer shadow */
    margin-top: -100px;
    /* Overlap hero if needed, but in ilanlar.html it is distinct section */
    position: relative;
    z-index: 10;
    /* max-width: 1200px; margin auto handled by container */
}

/* ilanlar.html doesn't have hero overlap usually, but let looks nice */
.filters-section {
    padding: 2rem 0;
    background-color: var(--body-color);
}

.search-top-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.main-search-input {
    flex-grow: 1;
    border: 1px solid #ddd;
    /* Match search-field */
}

.filter-toggle-btn {
    background: transparent;
    border: 1px solid #ddd;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--title-color);
    transition: all 0.3s;
    height: 48px;
    /* Match input height roughly */
    white-space: nowrap;
}

.filter-toggle-btn:hover {
    border-color: var(--gold-color);
    color: var(--gold-color);
}

.filter-toggle-btn.active {
    background-color: var(--gold-color);
    border-color: var(--gold-color);
    color: #fff;
}

/* Collapsible Area */
.advanced-filters {
    background: #f9f9f9;
    padding: 0 1.5rem;
    margin-bottom: 1rem;
    /* display none handled by JS */
}

/* When visible, give it some padding */
/* Actually JS sets display block. Let's add padding when block via child or modify */
.advanced-filters .search-grid-wrapper {
    padding: 1.5rem 0;
}

/* Keep original grid for inside */
.search-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

@media screen and (max-width: 1024px) {
    .search-grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .search-top-row {
        flex-direction: column;
        align-items: stretch;
    }

    .search-grid-wrapper {
        grid-template-columns: 1fr;
    }
}

.search-field {
    width: 100%;
    padding: 0.8rem 1rem;
    /* standard input padding */
    border: 1px solid #ddd;
    outline: none;
    transition: .3s;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
}

.search-action-wrapper {
    text-align: right;
    /* Align button to right */
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.search-btn-wide {
    padding: 1rem 3rem;
    border-radius: 0;
}

/* Update Filter Toggle to look like solid button override */
.filter-toggle-btn {
    /* Override search_style_patch transparency */
    background-color: var(--gold-color) !important;
    color: #fff !important;
    border: none !important;
    padding: 0 1.5rem !important;
    /* Adjust padding to match standard buttons if needed */
    height: 48px;
    border-radius: .25rem;
    /* Match button radius */
}

.filter-toggle-btn:hover {
    background-color: var(--gold-color) !important;
    filter: brightness(0.9);
}

/* Ensure reset button has space */
#reset-filters-btn {
    white-space: nowrap;
}

/* Strict Override for Filter Buttons to match Search Button */
.button.button--primary,
#filter-toggle-btn,
#reset-filters-btn {
    background-color: var(--gold-color) !important;
    color: #fff !important;
    border: none !important;
    border-radius: .25rem !important;
    /* Standardize radius */
    padding: .75rem 1.5rem !important;
    /* Standardize padding */
    font-weight: 500 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    transition: .3s;
    cursor: pointer;
    text-transform: uppercase;
    /* Match Ilan Ara style often used */
    font-size: var(--normal-font-size);
}

.button.button--primary:hover,
#filter-toggle-btn:hover,
#reset-filters-btn:hover {
    background-color: var(--gold-color) !important;
    filter: brightness(0.9);
    transform: translateY(-2px);
    /* Subtle lift effect */
}

/* Ensure Search Input matches height roughly */
.main-search-input {
    height: 50px;
    /* Force height to match buttons */
    border-radius: .25rem;
}

.filter-toggle-btn {
    height: 50px;
    /* Match input */
}