/* ======================================
   EMLAK PORTAL - PROFESSIONAL DESIGN v4
   Modern, Premium, Clean CSS Architecture
   ====================================== */

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0f172a;
    --primary-light: #1e293b;
    --accent-color: #f59e0b;
    --accent-dark: #d97706;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --light-bg: #f8fafc;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== HEADER & NAVIGATION ===== */
header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.nav-left {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.logo-img {
    height: 25px;
    width: auto;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: white;
}

.nav-center {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    flex: 1;
    justify-content: right;
}

.nav-center li {
    margin: 0;
    padding: 0;
}

.nav-center a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 0.3rem;
}

.nav-center a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-center a:hover::after {
    width: 100%;
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 0.4rem;
    background: none;
    border: none;
    padding: 0;
    flex-shrink: 0;
    z-index: 101;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== BUTTONS ===== */
.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--light-bg);
}

.btn-danger {
    background: var(--danger-color);
    color: white;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== HERO SECTIONS ===== */
.hero,
.properties-hero,
.about-hero,
.contact-hero {
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    background-attachment: fixed;
    color: white;
    padding: 4rem 2rem;
    margin-bottom: 3rem;
}

.hero {
    background-image: url('../img/home-background.jpg'), linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.85) 100%);
}

.properties-hero {
    background-image: url('../img/properties-background.jpg'), linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.85) 100%);
}

.about-hero {
    background-image: url('../img/about-background.jpg'), linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.85) 100%);
}

.contact-hero {
    background-image: url('../img/contact-background.jpg'), linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.85) 100%);
}

.hero h1,
.properties-hero h1,
.about-hero h1,
.contact-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.hero h2,
.properties-hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
}

.hero p,
.properties-hero p,
.about-hero p,
.contact-hero p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

/* ===== CATEGORY CARDS ===== */
.categories {
    padding: 5rem 2rem;
    background: var(--light-bg);
}

.categories h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.categories-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: all 0.4s ease;
    height: 280px;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.4s ease;
}

.category-card:hover img {
    filter: grayscale(0%) brightness(1.1);
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: white;
}

.category-overlay h4 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.category-overlay p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.category-overlay .btn {
    align-self: flex-start;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

/* ===== PROPERTIES SECTION ===== */
.properties {
    padding: 5rem 2rem;
}

.properties h3 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.filters {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.property-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    cursor: pointer;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.property-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--light-bg);
    cursor: pointer;
}

.property-image img,
.property-image a {
    width: 100%;
    height: 100%;
    display: block;
}

.property-image a {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    cursor: pointer;
}

.property-image img {
    object-fit: cover;
    transition: all 0.3s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.08);
}

.property-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.property-info {
    padding: 1.5rem;
}

.property-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    cursor: pointer;
    transition: color 0.3s ease;
}

.property-title:hover {
    color: var(--accent-color);
}

.property-price {
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 800;
    margin-bottom: 1rem;
}

.property-details {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.property-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-detail i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.property-address {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.property-address i {
    color: var(--accent-color);
}

/* ===== PROPERTY DETAIL PAGE ===== */
.property-hero-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
}

.property-badge-detail {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.property-detail-hero {
    position: relative;
    height: 400px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    color: white;
    display: flex;
    align-items: flex-end;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    margin-top: 0;
}

.property-detail-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.3) 0%, rgba(15, 23, 42, 0.8) 100%);
    z-index: 1;
}

.property-detail-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.property-detail-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.property-detail-hero .address {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.1rem;
    opacity: 0.95;
}

.property-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.gallery-main {
    width: 100%;
    height: 500px;
    background: var(--light-bg);
    border-radius: 12px;
    overflow: hidden;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.75rem;
}

.gallery-thumb {
    width: 100%;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    border-color: var(--accent-color);
}

.property-details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.property-info-section {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.detail-section h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.detail-section h3 i {
    color: var(--accent-color);
    font-size: 1.8rem;
}

.detail-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 12px;
}

.meta-box {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.meta-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.meta-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 0.3rem;
}

.meta-label {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
}

.property-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.meta-item {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.meta-item:hover {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
    transform: translateY(-4px);
}

.meta-item .value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.meta-item .label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.features-section {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--light-bg);
    border-radius: 8px;
}

.feature-item i {
    color: var(--accent-color);
    font-size: 1.3rem;
}

.feature-item span {
    font-weight: 500;
    color: var(--text-dark);
}

.feature-item.disabled {
    opacity: 0.4;
    color: var(--text-muted);
}

.feature-item.disabled i {
    color: var(--text-muted);
}

.property-sidebar,
.sidebar-sticky {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.price-section {
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 2rem;
}

.price-label {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.price-big {
    font-size: 2.5rem;
    color: var(--accent-color);
    font-weight: 800;
}

.agent-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.agent-name {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.agent-info {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.agent-section {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--accent-color);
}

.agent-section h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.agent-contact {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.agent-contact i {
    color: var(--accent-color);
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-buttons .btn {
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-btn {
    width: 100% !important;
    text-align: center !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* ===== ABOUT PAGE ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin: 3rem 0;
}

.about-image-section {
    text-align: center;
}

.about-image-section img {
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.about-image-section .placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.about-text h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 800;
}

.about-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-box {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.feature-box i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.feature-box h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.feature-box p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
}

.contact-form-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-info-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--accent-color);
}

.info-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.info-card p {
    color: var(--text-light);
    margin: 0.5rem 0;
}

.info-card a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.info-card a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.contact-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-top: 1.5rem;
    height: 400px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.success-message {
    background: #d1fae5;
    color: #065f46;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: none;
}

.error-message {
    background: #fee2e2;
    color: #991b1b;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: none;
}

/* ===== VIDEO GALLERY ===== */
.video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1rem 0;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination a,
.pagination span {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: white;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.pagination .current {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

/* ===== FOOTER ===== */
footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 2rem 1rem;
    margin-top: 5rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== UTILITY/HELPER CLASSES ===== */
.description-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
    box-shadow: var(--shadow-md);
}

.description-box h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.description-box h3 i {
    color: var(--accent-color);
}

.description-box p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

.specs-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
    box-shadow: var(--shadow-md);
}

.specs-box h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.specs-box h3 i {
    color: var(--accent-color);
}

.specs-box h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1rem;
}

.video-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
    box-shadow: var(--shadow-md);
}

.video-box h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.video-box h3 i {
    color: var(--accent-color);
}

.price-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    color: white;
    margin-bottom: 1.5rem;
}

.price-card-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
}

.price-card-price {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.price-card-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: #1ebd56;
    transform: translateY(-2px);
}

.quick-info-box {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
    margin: 1.5rem 0;
}

.quick-info-box h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.quick-info-item {
    display: flex;
    justify-content: space-between;
    color: var(--text-light);
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.quick-info-item strong {
    color: var(--text-dark);
}

.share-buttons-box {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin: 1.5rem 0;
}

.share-buttons-box h4 {
    margin-bottom: 1rem;
    text-align: center;
    color: var(--text-dark);
    font-weight: 700;
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1DA1F2;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn:hover {
    transform: translateY(-3px);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease;
}

/* 1024px and below */
@media (max-width: 1024px) {
    .navbar {
        padding: 0.8rem 1.5rem;
        gap: 1.5rem;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .nav-center {
        gap: 2rem;
    }

    .nav-center a {
        font-size: 0.9rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .hero h2,
    .properties-hero h2 {
        font-size: 2.5rem;
    }

    .properties-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .properties h3,
    .categories h3 {
        font-size: 2rem;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 768px and below */
@media (max-width: 768px) {
    /* Header & Nav */
    .navbar {
        padding: 0.8rem 1.5rem;
    }

    .nav-left {
        display: none;
    }

    .nav-center {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
        width: 100%;
        height: 100vh;
        transition: left 0.3s ease;
        gap: 0;
        padding: 5rem 2rem 2rem 2rem;
        margin: 0;
        justify-content: flex-start;
        align-items: flex-start;
        z-index: 100;
    }

    .nav-center.active {
        left: 0;
    }

    .nav-center li {
        width: 100%;
        padding: 1.2rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-center a {
        font-size: 1.1rem;
        display: block;
        padding: 0;
    }

    .nav-center a::after {
        display: none;
    }

    .nav-center a:hover {
        color: var(--accent-color);
    }

    .hamburger {
        display: flex;
    }

    /* Hero */
    .hero,
    .properties-hero,
    .about-hero,
    .contact-hero {
        padding: 3rem 1rem;
    }

    .hero h1,
    .properties-hero h1,
    .about-hero h1,
    .contact-hero h1 {
        font-size: 1.8rem;
    }

    .hero h2,
    .properties-hero h2 {
        font-size: 1.8rem;
    }

    .hero p,
    .properties-hero p,
    .about-hero p,
    .contact-hero p {
        font-size: 1rem;
    }

    .hero .btn,
    .category-overlay .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    /* Categories */
    .categories {
        padding: 3rem 1rem;
    }

    .categories h3 {
        font-size: 1.8rem;
    }

    .categories-subtitle {
        font-size: 0.95rem;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .category-card {
        height: 200px;
    }

    .category-overlay h4 {
        font-size: 1.3rem;
    }

    .category-overlay p {
        font-size: 0.85rem;
    }

    /* Properties */
    .properties {
        padding: 3rem 1rem;
    }

    .properties h3 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .filters {
        flex-direction: column;
        gap: 1rem;
    }

    .filter-group {
        min-width: 100%;
    }

    .properties-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .property-card {
        border-radius: 8px;
    }

    .property-image {
        height: 180px;
    }

    .property-info {
        padding: 1rem;
    }

    .property-title {
        font-size: 1rem;
    }

    .property-price {
        font-size: 1.3rem;
    }

    .property-details {
        flex-wrap: wrap;
        gap: 1rem;
        font-size: 0.85rem;
    }

    /* Property Detail */
    .property-badge-line {
        padding: 1rem 1rem;
        display: flex;
    }

    .property-badge-detail {
        padding: 0.4rem 0.8rem;
        font-size: 0.65rem;
    }

    .property-detail-hero {
        height: 300px;
        padding: 2rem 1rem;
        margin-bottom: 2.5rem;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }

    .property-detail-hero h1 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .property-detail-hero .address {
        font-size: 0.95rem;
    }

    .gallery-main {
        height: 300px;
    }

    .gallery-thumbs {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }

    .gallery-thumb {
        height: 80px;
    }

    .property-details-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem 1rem;
    }

    .property-sidebar,
    .sidebar-sticky {
        position: static;
    }

    .detail-meta {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    .meta-box {
        padding: 0.75rem;
    }

    .meta-value {
        font-size: 1.2rem;
    }

    .property-meta {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .meta-item {
        padding: 1rem;
    }

    .meta-item .value {
        font-size: 1.5rem;
    }

    .meta-item .label {
        font-size: 0.75rem;
    }

    .features-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .feature-item {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .feature-item i {
        font-size: 1.1rem;
    }

    .price-big {
        font-size: 2rem;
    }

    .agent-card {
        padding: 1rem;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .contact-buttons .btn {
        width: 100%;
    }

    .description-box,
    .specs-box,
    .video-box {
        padding: 1.5rem;
        margin-top: 2rem;
    }

    .description-box h3,
    .specs-box h3,
    .video-box h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .price-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .quick-info-box,
    .share-buttons-box {
        padding: 1rem;
        margin: 1rem 0;
    }

    .share-buttons {
        gap: 0.5rem;
    }

    .share-btn {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }

    /* About Page */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-box {
        padding: 1.5rem;
    }

    .feature-box i {
        font-size: 2rem;
    }

    /* Contact Page */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form-section {
        padding: 1.5rem;
    }

    .contact-map {
        height: 300px;
    }

    .contact-info-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .info-card {
        padding: 1rem;
    }

    /* Footer */
    footer {
        padding: 2rem 1rem 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-section h4 {
        font-size: 1rem;
    }

    .footer-section ul li {
        margin-bottom: 0.4rem;
    }

    .footer-section a {
        font-size: 0.9rem;
    }

    /* Pagination */
    .pagination {
        flex-wrap: wrap;
        gap: 0.25rem;
    }

    .pagination a,
    .pagination span {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }

    .container {
        padding: 0 1rem;
    }
}

/* 480px and below */
@media (max-width: 480px) {
    /* Header */
    .logo-text {
        font-size: 1rem;
    }

    .hamburger span {
        width: 24px;
        height: 2.5px;
    }

    /* Hero */
    .hero h2,
    .properties-hero h2 {
        font-size: 1.5rem;
    }

    .hero p,
    .properties-hero p {
        font-size: 0.95rem;
    }

    /* General */
    .container {
        padding: 0 0.8rem;
    }

    .categories h3,
    .properties h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .categories-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .property-price {
        font-size: 1.2rem;
    }

    .property-details {
        gap: 0.75rem;
    }

    .about-text h2 {
        font-size: 1.4rem;
    }

    .contact-grid {
        gap: 1rem;
    }

    .video-gallery {
        grid-template-columns: 1fr;
    }

    /* Property Detail */
    .property-badge-line {
        padding: 0.8rem 0.8rem;
        display: flex;
    }

    .property-badge-detail {
        padding: 0.35rem 0.7rem;
        font-size: 0.6rem;
    }

    .property-detail-hero {
        height: 250px;
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }

    .property-detail-hero h1 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }

    .property-detail-hero .address {
        font-size: 0.85rem;
    }

    .detail-meta {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-section {
        grid-template-columns: 1fr;
    }

    .description-box,
    .specs-box,
    .video-box {
        padding: 1rem;
    }

    .price-card {
        padding: 1.5rem;
    }

    .quick-info-box,
    .share-buttons-box {
        padding: 1rem;
    }
}

/* ===== 360px and below */
@media (max-width: 360px) {
    .logo-text {
        font-size: 0.9rem;
    }

    .hero h2,
    .properties-hero h2 {
        font-size: 1.2rem;
    }

    .categories h3,
    .properties h3 {
        font-size: 1.2rem;
    }

    .property-card {
        border-radius: 6px;
    }

    .property-image {
        height: 150px;
    }

    .property-info {
        padding: 0.75rem;
    }

    .property-title {
        font-size: 0.9rem;
    }

    .description-box,
    .specs-box,
    .video-box {
        padding: 1rem;
        margin-top: 1rem;
    }

    .price-card {
        padding: 1.5rem;
    }

    .quick-info-box,
    .share-buttons-box {
        padding: 1rem;
    }

    /* Property Detail - 360px */
    .property-detail-hero {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        height: 200px;
    }

    .property-detail-hero h1 {
        font-size: 1.1rem;
    }
}
