﻿:root {
    --primary-color: #2d6a4f;
    --secondary-color: #52b788;
    --accent-color: #74c69d;
    --dark: #1b4332;
    --light: #d8f3dc;
    --gray: #6c757d;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

    .navbar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.navbar-brand {
    text-decoration: none;
}

.logo-image {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Remove old logo class if exists */
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .logo-image {
        height: 40px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    /* Hide text on very small screens, show only logo */
    @media (max-width: 480px) {
        .logo-text {
            display: none;
        }

        .logo-image {
            height: 45px;
        }
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

    .nav-menu a {
        text-decoration: none;
        color: var(--dark);
        font-weight: 500;
        transition: color 0.3s;
    }

        .nav-menu a:hover {
            color: var(--primary-color);
        }

/* Hero Section */
/* Hero Section with Background Image */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 120px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 92vh;
    background-image: url(/images/heroimage.png?v=1);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: heroFadeIn 1.5s ease-in-out;
}

@keyframes heroFadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient( 135deg, rgba(45, 106, 79, 0.2) 0%, rgba(82, 183, 136, 0.4) 100% );
        z-index: 1;
    }

.hero-content {
    position: relative;
    z-index: 2;
    animation: heroContentFadeIn 2s ease-in-out 0.3s both; /* Delay 0.3s */
}

@keyframes heroContentFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

    .hero-content h1 {
        font-size: 3rem;
        margin-bottom: 1rem;
        font-weight: 700;
        text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
        color: var(--white);
    }

    .hero-content p {
        font-size: 1.5rem;
        margin-bottom: 2rem;
        text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
    }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

    .btn-primary:hover {
        background-color: var(--dark);
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

    .btn-secondary:hover {
        background-color: var(--primary-color);
    }

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Section */
.section {
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark);
}

.bg-light {
    background-color: var(--light-gray);
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Cards */
.card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

    .card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
    }

.card-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    background-color: var(--light);
}

.card-content {
    padding: 1.5rem;
}

    .card-content h3 {
        margin-bottom: 0.5rem;
        color: var(--dark);
    }

.location {
    color: var(--gray);
    margin-bottom: 1rem;
}

.card-stats {
    display: flex;
    justify-content: space-between;
    margin: 1.5rem 0;
    padding: 1rem;
    background-color: var(--light-gray);
    border-radius: 8px;
}

    .card-stats span {
        font-weight: 600;
    }

.available {
    color: var(--primary-color);
}

/* Property Cards */
.property-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

    .property-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }

.property-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: var(--light);
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
}

.badge-available {
    background-color: var(--secondary-color);
}

.badge-sold {
    background-color: var(--gray);
}

.badge-reserved {
    background-color: #ffa500;
}

.badge-underconstruction {
    background-color: #3498db;
}

.badge-completed {
    background-color: var(--secondary-color);
}

.badge-planning {
    background-color: #9b59b6;
}

.property-content {
    padding: 1.5rem;
}

.complex-name {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.property-description {
    margin-bottom: 1rem;
    color: var(--gray);
}

.property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background-color: var(--light-gray);
    border-radius: 8px;
}

    .property-features span {
        font-size: 0.9rem;
    }

.property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--light-gray);
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Properties Grid */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

/* Filters */
.filters {
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

    .filters select {
        padding: 10px 20px;
        border: 2px solid var(--light-gray);
        border-radius: 8px;
        font-size: 1rem;
        cursor: pointer;
        background-color: var(--white);
    }

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
}

    .page-header h1 {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }

/* Property Details */
.property-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.property-gallery .main-image {
    height: 500px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    background-color: var(--light);
}

.property-info {
    padding: 2rem;
}

.info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item {
    padding: 1.5rem;
    background-color: var(--light-gray);
    border-radius: 8px;
    text-align: center;
}

    .info-item strong {
        display: block;
        margin-bottom: 0.5rem;
        color: var(--dark);
    }

.description, .features {
    margin-bottom: 2rem;
}

    .description h3, .features h3 {
        margin-bottom: 1rem;
        color: var(--dark);
    }

.features-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

    .features-list li {
        padding: 0.5rem;
    }

.contact-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

    .contact-box h3 {
        margin-bottom: 0.5rem;
    }

    .contact-box p {
        margin-bottom: 1.5rem;
        opacity: 0.95;
    }

/* Complex Cards */
.complex-card-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
}

.complex-image {
    height: 100%;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: var(--light);
}

.complex-info {
    padding: 2rem;
}

    .complex-info h2 {
        margin-bottom: 0.5rem;
        color: var(--dark);
    }

.complex-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background-color: var(--light-gray);
    border-radius: 8px;
}

    .stat-item strong {
        display: block;
        font-size: 1.5rem;
        color: var(--primary-color);
        margin-bottom: 0.5rem;
    }

.complex-features h4 {
    margin-bottom: 1rem;
}

.complex-features ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

/* Complex Detail */
.complex-main-image {
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    margin-bottom: 3rem;
    background-color: var(--light);
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.overview-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--light-gray);
    border-radius: 12px;
}

    .overview-item .icon {
        font-size: 2.5rem;
        display: block;
        margin-bottom: 1rem;
    }

    .overview-item strong {
        display: block;
        font-size: 1.5rem;
        color: var(--primary-color);
        margin-bottom: 0.5rem;
    }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
}

    .feature-card .check {
        font-size: 1.5rem;
        color: var(--secondary-color);
        font-weight: bold;
    }

/* About Page */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    margin-bottom: 4rem;
}

    .about-text h2 {
        margin-bottom: 1.5rem;
        color: var(--dark);
    }

    .about-text p {
        margin-bottom: 1rem;
        font-size: 1.1rem;
        line-height: 1.8;
    }

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.value-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.value-card h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    margin-bottom: 2rem;
    color: var(--dark);
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--light-gray);
    border-radius: 12px;
}

.contact-icon {
    font-size: 2rem;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.contact-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

    .contact-form h2 {
        margin-bottom: 2rem;
        color: var(--dark);
    }

.form-group {
    margin-bottom: 1.5rem;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 600;
        color: var(--dark);
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 12px;
        border: 2px solid var(--light-gray);
        border-radius: 8px;
        font-family: 'Poppins', sans-serif;
        font-size: 1rem;
        transition: border-color 0.3s;
    }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary-color);
        }

    .form-group textarea {
        resize: vertical;
    }

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

/* Completed Projects Section */
.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray);
    margin-top: -2rem;
    margin-bottom: 3rem;
}

.completed-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.completed-project-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .completed-project-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
    }

.project-image {
    height: 280px;
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: var(--light);
}

.project-badge {
    position: absolute;
    top: 15px;
    right: 15px;
}

.badge-completed-project {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.project-content {
    padding: 2rem;
}

    .project-content h3 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        color: var(--dark);
    }

.project-description {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.project-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background-color: var(--light-gray);
    border-radius: 10px;
}

.project-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stat-icon {
    font-size: 1.5rem;
}

.project-stat div {
    flex: 1;
}

.project-stat strong {
    display: block;
    font-size: 1.2rem;
    color: var(--primary-color);
    line-height: 1.2;
}

.project-stat p {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 0;
}

.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.feature-tag {
    background-color: var(--light);
    color: var(--dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Call to Action Section */
.cta-section {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 16px;
    color: var(--white);
}

    .cta-section h2 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        font-weight: 700;
    }

    .cta-section p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        opacity: 0.95;
    }

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .property-details,
    .complex-card-large,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero {
        padding: 60px 20px;
    }

    .section {
        padding: 40px 20px;
    }

    .overview-grid {
        grid-template-columns: 1fr;
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }
}

/* Property Gallery with Thumbnails */
.property-gallery {
    position: sticky;
    top: 100px;
    height: fit-content;
}

    .property-gallery .main-image {
        height: 500px;
        background-size: cover;
        background-position: center;
        border-radius: 12px;
        background-color: var(--light);
        box-shadow: var(--shadow);
        transition: background-image 0.3s ease;
        cursor: pointer;
    }

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.thumbnail {
    height: 100px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

    .thumbnail:hover {
        transform: scale(1.05);
        box-shadow: var(--shadow-lg);
    }

    .thumbnail.active {
        border-color: var(--primary-color);
        transform: scale(1.05);
    }
/* Complex Gallery */
.complex-gallery-section {
    margin-bottom: 3rem;
}

.complex-main-image {
    height: 500px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    margin-bottom: 0;
    background-color: var(--light);
    box-shadow: var(--shadow);
    transition: background-image 0.3s ease;
    cursor: pointer;
}

.complex-gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.complex-thumbnail {
    height: 100px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

    .complex-thumbnail:hover {
        transform: scale(1.05);
        box-shadow: var(--shadow-lg);
    }

    .complex-thumbnail.active {
        border-color: var(--primary-color);
        transform: scale(1.05);
    }

/* Complex Map Section */
.complex-map-section {
    margin-top: 3rem;
}

    .complex-map-section h2 {
        margin-bottom: 1.5rem;
        color: var(--dark);
        font-size: 2rem;
    }

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

    .map-container iframe {
        display: block;
        width: 100%;
    }

/* Responsive */
@media (max-width: 768px) {
    .map-container iframe {
        height: 300px;
    }
}

/* Complex Video Section */
.complex-video-section {
    margin: 3rem 0;
}

    .complex-video-section h2 {
        margin-bottom: 1.5rem;
        color: var(--dark);
        font-size: 2rem;
    }

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 12px;
    }

/* Responsive Design - Mobile Friendly */

/* Tablets and smaller desktops (max-width: 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .nav-menu {
        gap: 1.5rem;
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* Tablets (max-width: 968px) */
@media (max-width: 968px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .section {
        padding: 60px 15px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    /* Property and Complex Details */
    .property-details,
    .complex-card-large,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .property-gallery {
        position: relative;
        top: 0;
    }

        .property-gallery .main-image,
        .complex-main-image {
            height: 350px;
        }

    /* Overview Grid */
    .overview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .overview-item {
        padding: 1.5rem;
    }

    /* Complex Stats */
    .complex-stats {
        grid-template-columns: 1fr;
    }

    /* Project Stats */
    .project-stats-grid {
        grid-template-columns: 1fr;
    }

    /* CTA Section */
    .cta-section {
        padding: 3rem 1.5rem;
    }

        .cta-section h2 {
            font-size: 2rem;
        }
}

/* Mobile devices (max-width: 768px) */
@media (max-width: 768px) {
    /* Navigation */
    .navbar {
        padding: 0.75rem 0;
    }

        .navbar .container {
            flex-direction: column;
            gap: 1rem;
        }

    .logo {
        font-size: 1.3rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
        width: 100%;
    }

        .nav-menu li {
            width: 100%;
        }

        .nav-menu a {
            display: block;
            padding: 0.5rem;
        }

    /* Hero Section */
    .hero {
        padding: 50px 15px;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    /* Sections */
    .section {
        padding: 40px 15px;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-top: -1rem;
        margin-bottom: 2rem;
    }

    /* Grid layouts */
    .grid,
    .properties-grid,
    .completed-projects-grid,
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Cards */
    .card-image,
    .property-image,
    .project-image {
        height: 200px;
    }

    /* Property Details */
    .property-gallery .main-image {
        height: 300px;
    }

    .gallery-thumbnails,
    .complex-gallery-thumbnails {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }

    .thumbnail,
    .complex-thumbnail {
        height: 70px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .info-item {
        padding: 1rem;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    /* Complex Details */
    .complex-main-image {
        height: 300px;
    }

    .overview-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .overview-item {
        padding: 1.5rem 1rem;
    }

        .overview-item .icon {
            font-size: 2rem;
        }

        .overview-item strong {
            font-size: 1.3rem;
        }

    .complex-stats {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Completed Projects */
    .project-stats-grid {
        grid-template-columns: 1fr;
    }

    /* About Page */
    .about-text h2 {
        font-size: 1.5rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .value-card {
        padding: 1.5rem;
    }

    /* Contact Page */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-item {
        padding: 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    /* CTA Section */
    .cta-section {
        padding: 2.5rem 1.5rem;
    }

        .cta-section h2 {
            font-size: 1.75rem;
        }

        .cta-section p {
            font-size: 1rem;
        }

    /* Buttons */
    .btn {
        width: 100%;
        text-align: center;
    }

    .btn-small {
        width: auto;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    /* Video Container */
    .video-container {
        padding-bottom: 75%; /* Adjust for mobile */
    }

    /* Map Container */
    .map-container iframe {
        height: 300px;
    }
}

/* Small mobile devices (max-width: 480px) */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    /* Property Features */
    .property-features {
        flex-direction: column;
        gap: 0.5rem;
    }

    .property-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .price {
        font-size: 1.3rem;
    }

    /* Filters */
    .filters {
        flex-direction: column;
        width: 100%;
    }

        .filters form {
            width: 100%;
            flex-direction: column;
        }

        .filters select {
            width: 100%;
        }

    /* Gallery Thumbnails */
    .gallery-thumbnails,
    .complex-gallery-thumbnails {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .thumbnail,
    .complex-thumbnail {
        height: 60px;
    }

    /* Card Content */
    .card-content h3,
    .property-content h3 {
        font-size: 1.2rem;
    }

    .complex-info h2,
    .project-content h3 {
        font-size: 1.3rem;
    }

    /* Stats */
    .stat-item strong {
        font-size: 1.3rem;
    }

    .project-stat strong {
        font-size: 1.1rem;
    }

    /* Page Header */
    .page-header {
        padding: 50px 15px;
    }

        .page-header h1 {
            font-size: 1.8rem;
        }

        .page-header p {
            font-size: 0.95rem;
        }

    /* Info Header */
    .info-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

        .info-header h2 {
            font-size: 1.5rem;
        }

    /* CTA Section */
    .cta-section h2 {
        font-size: 1.5rem;
    }

    .cta-section p {
        font-size: 0.95rem;
    }

    .btn-large {
        padding: 12px 30px;
        font-size: 1rem;
    }

    /* Contact Icon */
    .contact-icon {
        font-size: 1.5rem;
    }

    /* Feature Tags */
    .feature-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    /* Complex/Property Features */
    .complex-features ul {
        grid-template-columns: 1fr;
    }
}

/* Extra small devices (max-width: 360px) */
@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .gallery-thumbnails,
    .complex-gallery-thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Landscape mode for small devices */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        padding: 30px 15px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .section {
        padding: 30px 15px;
    }
}

/* Touch device improvements */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .thumbnail,
    .complex-thumbnail,
    .card,
    .property-card {
        transition: none;
    }

        .btn:active {
            transform: scale(0.98);
        }

        .thumbnail:active,
        .complex-thumbnail:active {
            transform: scale(1.02);
        }
}

/* Detailed Info Grid */
.info-grid-detailed {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.status-badge-container {
    margin-bottom: 2rem;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .info-grid-detailed {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .info-grid-detailed {
        gap: 0.75rem;
    }

    .info-item {
        padding: 0.75rem;
    }
}

/* Property Areas Table */
.property-areas-table {
    margin-bottom: 2rem;
}

    .property-areas-table h3 {
        margin-bottom: 1rem;
        color: var(--dark);
        font-size: 1.5rem;
    }

.areas-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

    .areas-table thead {
        background-color: var(--primary-color);
        color: var(--white);
    }

    .areas-table th {
        padding: 1rem;
        text-align: left;
        font-weight: 600;
        font-size: 1rem;
    }

        .areas-table th:last-child {
            text-align: right;
        }

    .areas-table tbody tr {
        border-bottom: 1px solid var(--light-gray);
        transition: background-color 0.3s ease;
    }

        .areas-table tbody tr:last-child {
            border-bottom: none;
        }

        .areas-table tbody tr:hover {
            background-color: var(--light);
        }

    .areas-table td {
        padding: 1rem;
        color: var(--dark);
    }

        .areas-table td:first-child {
            font-weight: 500;
        }

        .areas-table td:last-child {
            text-align: right;
            font-weight: 600;
            color: var(--primary-color);
        }

/* Responsive */
@media (max-width: 768px) {
    .areas-table th,
    .areas-table td {
        padding: 0.75rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .property-areas-table h3 {
        font-size: 1.3rem;
    }

    .areas-table th,
    .areas-table td {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .lightbox-content img {
        max-width: 100%;
        max-height: 85vh;
        object-fit: contain;
        border-radius: 8px;
        box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    }

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: var(--white);
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s ease;
    line-height: 1;
}

    .lightbox-close:hover {
        color: var(--secondary-color);
    }

.lightbox-counter {
    color: var(--white);
    font-size: 1.2rem;
    margin-top: 1rem;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
}

.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    padding: 20px;
    user-select: none;
    transition: all 0.3s ease;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .lightbox-prev:hover,
    .lightbox-next:hover {
        background-color: var(--primary-color);
        transform: translateY(-50%) scale(1.1);
    }

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Make main image clickable */
.property-gallery .main-image {
    cursor: zoom-in;
    position: relative;
}

    .property-gallery .main-image::after {
        content: '🔍';
        position: absolute;
        bottom: 20px;
        right: 20px;
        background-color: rgba(0, 0, 0, 0.6);
        color: var(--white);
        padding: 10px 15px;
        border-radius: 8px;
        font-size: 1.2rem;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .property-gallery .main-image:hover::after {
        opacity: 1;
    }

/* Responsive */
@media (max-width: 768px) {
    .lightbox-close {
        top: 10px;
        right: 20px;
        font-size: 40px;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 30px;
        width: 50px;
        height: 50px;
        padding: 15px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-counter {
        font-size: 1rem;
        padding: 0.4rem 1rem;
    }

    .lightbox-content img {
        max-height: 70vh;
    }
}

@media (max-width: 480px) {
    .lightbox-prev,
    .lightbox-next {
        font-size: 24px;
        width: 40px;
        height: 40px;
        padding: 10px;
    }

    .lightbox-close {
        font-size: 35px;
        top: 5px;
        right: 10px;
    }
}

/* Privacy Policy Page */
.privacy-content {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-intro {
    background-color: var(--light);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    border-left: 4px solid var(--primary-color);
}

    .privacy-intro p {
        font-size: 1.1rem;
        line-height: 1.8;
        margin-bottom: 1rem;
    }

.update-date {
    color: var(--gray);
    font-size: 0.95rem;
    margin-top: 1.5rem;
}

.privacy-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--light-gray);
}

    .privacy-section:last-of-type {
        border-bottom: none;
    }

    .privacy-section h2 {
        color: var(--primary-color);
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
        font-weight: 600;
    }

    .privacy-section p {
        font-size: 1.05rem;
        line-height: 1.8;
        color: var(--dark);
        margin-bottom: 1rem;
    }

    .privacy-section ul {
        margin-left: 2rem;
        margin-bottom: 1rem;
    }

        .privacy-section ul li {
            font-size: 1.05rem;
            line-height: 1.8;
            color: var(--dark);
            margin-bottom: 0.75rem;
        }

            .privacy-section ul li strong {
                color: var(--primary-color);
            }

.contact-info-privacy {
    background-color: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

    .contact-info-privacy p {
        margin-bottom: 0.5rem;
    }

    .contact-info-privacy a {
        color: var(--primary-color);
        text-decoration: none;
        font-weight: 600;
    }

        .contact-info-privacy a:hover {
            text-decoration: underline;
        }

.privacy-footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 3rem;
}

    .privacy-footer p {
        font-size: 1.1rem;
        margin: 0;
    }

/* Responsive */
@media (max-width: 768px) {
    .privacy-intro {
        padding: 1.5rem;
    }

    .privacy-section h2 {
        font-size: 1.5rem;
    }

    .privacy-section p,
    .privacy-section ul li {
        font-size: 1rem;
    }

    .privacy-section ul {
        margin-left: 1.5rem;
    }
}

.footer-links {
    margin-top: 0.5rem;
}

    .footer-links a {
        color: var(--accent-color);
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .footer-links a:hover {
            color: var(--white);
            text-decoration: underline;
        }

/* About Page - Enhanced Styles */
.about-intro {
    background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
    padding: 3rem;
    border-radius: 16px;
    margin-bottom: 4rem;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--primary-color);
}

    .about-intro h2 {
        color: var(--primary-color);
        font-size: 2.5rem;
        margin-bottom: 2rem;
        font-weight: 700;
    }

    .about-intro p {
        font-size: 1.1rem;
        line-height: 1.9;
        color: var(--dark);
        margin-bottom: 1.5rem;
    }

        .about-intro p:last-child {
            margin-bottom: 0;
        }

/* Mission and Vision Section */
.mission-vision-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.mission-box,
.vision-box {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .mission-box:hover,
    .vision-box:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }

.icon-box {
    text-align: center;
    margin-bottom: 1.5rem;
}

.box-icon {
    font-size: 4rem;
    display: block;
}

.mission-box h2,
.vision-box h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 700;
}

.mission-box p,
.vision-box p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--dark);
    text-align: center;
}

/* Values Section */
.values-section {
    margin-bottom: 4rem;
}

    .values-section h2 {
        text-align: center;
        font-size: 2.5rem;
        margin-bottom: 3rem;
        color: var(--dark);
        font-weight: 700;
    }

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

    .value-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
    }

.value-icon {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 1.5rem;
}

.value-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.value-card p {
    color: var(--gray);
    line-height: 1.7;
    font-size: 1rem;
}

/* CTA About */
.cta-about {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 4rem;
    border-radius: 16px;
    text-align: center;
    margin-top: 4rem;
}

    .cta-about h2 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        font-weight: 700;
    }

    .cta-about p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        opacity: 0.95;
    }

/* Responsive */
@media (max-width: 968px) {
    .mission-vision-section {
        grid-template-columns: 1fr;
    }

    .about-intro h2,
    .values-section h2,
    .cta-about h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .about-intro {
        padding: 2rem;
    }

        .about-intro h2 {
            font-size: 1.8rem;
        }

        .about-intro p {
            font-size: 1rem;
        }

    .mission-box,
    .vision-box {
        padding: 2rem;
    }

    .box-icon {
        font-size: 3rem;
    }

    .mission-box h2,
    .vision-box h2 {
        font-size: 1.6rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .cta-about {
        padding: 3rem 2rem;
    }

        .cta-about h2 {
            font-size: 1.8rem;
        }

        .cta-about p {
            font-size: 1rem;
        }
}

@media (max-width: 480px) {
    .about-intro {
        padding: 1.5rem;
    }

    .value-icon {
        font-size: 2.5rem;
    }

    .value-card h3 {
        font-size: 1.2rem;
    }
}

/* ============================================
   BLOG STYLES
   ============================================ */

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .blog-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
    }

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    background-color: var(--light);
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--gray);
}

.blog-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
    line-height: 1.3;
}

.blog-excerpt {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
}

.blog-card:hover .read-more {
    color: var(--secondary-color);
}

/* Blog Detail */
.blog-meta-header {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 1rem;
    font-size: 1rem;
    opacity: 0.9;
}

.blog-detail {
    max-width: 900px;
    margin: 0 auto;
}

.blog-detail-image {
    margin-bottom: 3rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

    .blog-detail-image img {
        width: 100%;
        height: auto;
        display: block;
    }

.blog-detail-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark);
}

    .blog-detail-content h2 {
        color: var(--primary-color);
        margin-top: 2rem;
        margin-bottom: 1rem;
        font-size: 2rem;
    }

    .blog-detail-content h3 {
        color: var(--primary-color);
        margin-top: 1.5rem;
        margin-bottom: 1rem;
        font-size: 1.5rem;
    }

    .blog-detail-content p {
        margin-bottom: 1.5rem;
    }

    .blog-detail-content ul,
    .blog-detail-content ol {
        margin-left: 2rem;
        margin-bottom: 1.5rem;
    }

    .blog-detail-content img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        margin: 2rem 0;
    }

.blog-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light-gray);
}

/* ============================================
   ADMIN STYLES
   ============================================ */

.admin-actions {
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
}

.admin-table {
    width: 100%;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

    .admin-table thead {
        background-color: var(--primary-color);
        color: var(--white);
    }

    .admin-table th,
    .admin-table td {
        padding: 1rem;
        text-align: left;
    }

    .admin-table tbody tr {
        border-bottom: 1px solid var(--light-gray);
    }

        .admin-table tbody tr:hover {
            background-color: var(--light);
        }

.table-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-small {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-info {
    background-color: #17a2b8;
    color: var(--white);
}

    .btn-info:hover {
        background-color: #138496;
    }

.btn-warning {
    background-color: #ffc107;
    color: var(--dark);
}

    .btn-warning:hover {
        background-color: #e0a800;
    }

.btn-danger {
    background-color: #dc3545;
    color: var(--white);
}

    .btn-danger:hover {
        background-color: #c82333;
    }

.badge-success {
    background-color: var(--secondary-color);
}

.badge-warning {
    background-color: #ffc107;
}

/* Admin Form */
.admin-form-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 600;
        color: var(--dark);
    }

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

    .form-control:focus {
        outline: none;
        border-color: var(--primary-color);
    }

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: var(--gray);
    font-size: 0.9rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

    .checkbox-group label {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        cursor: pointer;
    }

    .checkbox-group input[type="checkbox"] {
        width: 20px;
        height: 20px;
        cursor: pointer;
    }

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.text-danger {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 0.25rem;
    display: block;
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Upload Section */
.upload-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
}

    .upload-section h2 {
        margin-bottom: 1.5rem;
        color: var(--dark);
    }

.upload-form {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.file-input-wrapper {
    position: relative;
    flex: 1;
}

    .file-input-wrapper input[type="file"] {
        position: absolute;
        opacity: 0;
        width: 0;
        height: 0;
    }

.file-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--light-gray);
    border: 2px dashed var(--gray);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .file-label:hover {
        background-color: var(--light);
        border-color: var(--primary-color);
    }

.file-icon {
    font-size: 1.5rem;
}

.file-text {
    font-weight: 500;
}

.copied-url {
    margin-top: 1rem;
    padding: 1rem;
    background-color: var(--light);
    border-radius: 8px;
}

    .copied-url input {
        width: 70%;
        padding: 0.5rem;
        margin: 0.5rem 0.5rem 0 0;
        border: 1px solid var(--light-gray);
        border-radius: 4px;
    }

/* Gallery Section */
.gallery-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

    .gallery-section h2 {
        margin-bottom: 2rem;
        color: var(--dark);
    }

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

    .gallery-item:hover {
        box-shadow: var(--shadow);
    }

.gallery-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: var(--light);
}

.gallery-info {
    padding: 1rem;
}

.image-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    word-break: break-word;
}

.image-date,
.image-size {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 0.25rem;
}

.gallery-actions {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.url-input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
}

    .url-input:focus {
        outline: none;
        border-color: var(--primary-color);
    }

.no-content {
    text-align: center;
    padding: 3rem;
    color: var(--gray);
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-meta-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .admin-form-container {
        padding: 1.5rem;
    }

    .upload-form {
        flex-direction: column;
    }

    .image-gallery {
        grid-template-columns: 1fr;
    }

    .table-actions {
        flex-direction: column;
    }

    .admin-table {
        font-size: 0.9rem;
    }

        .admin-table th,
        .admin-table td {
            padding: 0.75rem 0.5rem;
        }
}