/* Shared styles for subpages (Selling and Renting) */

/* General Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

.dark-bg {
    background-color: var(--darker-bg);
}

span {
    color: var(--primary-yellow);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: rgba(22, 26, 30, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-brand span {
    font-weight: 400;
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary-yellow);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-yellow);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 5%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.hero-selling {
    background: url('../images/IMG_6693.JPG.jpeg') center/cover no-repeat fixed;
}

.hero-renting {
    background: url('../images/hero-renting.png') center/cover no-repeat fixed;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.about-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-yellow);
    background: rgba(255, 170, 0, 0.1);
    border: 1px solid rgba(255, 170, 0, 0.3);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-text p {
    margin-bottom: 1.2rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    transition: transform 0.4s ease;
}

.about-image img:hover {
    transform: scale(1.02);
}

/* Why Choose Us Sub-section */
.why-choose-us {
    padding-top: 1rem;
}

.wcu-header {
    text-align: center;
    margin-bottom: 3rem;
}

.wcu-header h2 {
    font-size: 2.5rem;
    line-height: 1.2;
}

.wcu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
}

.wcu-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 3px solid var(--primary-yellow);
    border-radius: 12px;
    padding: 2.2rem 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.wcu-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 170, 0, 0.05);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 170, 0, 0.2);
}

.wcu-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 170, 0, 0.12);
    border: 1px solid rgba(255, 170, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.4rem;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.wcu-card:hover .wcu-icon {
    background: rgba(255, 170, 0, 0.22);
    box-shadow: 0 0 16px rgba(255, 170, 0, 0.3);
}

.wcu-icon svg {
    width: 26px;
    height: 26px;
    color: var(--primary-yellow);
}

.wcu-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #fff;
}

.wcu-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
}


/* Gallery Section */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-muted);
}

.price-note {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 170, 0, 0.1);
    border: 1px solid var(--primary-yellow);
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    margin-top: 1.5rem;
    color: var(--primary-yellow);
    font-size: 0.9rem;
    gap: 10px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.gallery-img-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Show full image without cropping for specific items */
.gallery-contain {
    background-color: #111;
}

.gallery-contain .gallery-img-container img {
    object-fit: contain;
    background-color: #111;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.btn-sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    align-self: flex-start;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: var(--darker-bg);
    padding: 4rem;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-top: 4px solid var(--primary-yellow);
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-list {
    list-style: none;
    margin-bottom: 2rem;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.1rem;
    font-size: 1rem;
    color: var(--text-muted);
}

.contact-list li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--primary-yellow);
}

.contact-list li a {
    color: var(--text-muted);
    transition: color 0.2s;
}

.contact-list li a:hover {
    color: var(--primary-yellow);
}

/* Social / Quick Contact Buttons */
.contact-socials {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 1.3rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    border: none;
    cursor: pointer;
}

.social-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.social-btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.12);
}

/* Call — green */
.social-call {
    background: #16a34a;
    color: #fff;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
}

.social-call:hover {
    box-shadow: 0 8px 22px rgba(22, 163, 74, 0.55);
}

/* WhatsApp — brand green */
.social-whatsapp {
    background: #25D366;
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.social-whatsapp:hover {
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.55);
}

/* Facebook — brand blue */
.social-facebook {
    background: #1877F2;
    color: #fff;
    box-shadow: 0 4px 14px rgba(24, 119, 242, 0.35);
}

.social-facebook:hover {
    box-shadow: 0 8px 22px rgba(24, 119, 242, 0.55);
}

/* Gmail — brand red */
.social-gmail {
    background: #EA4335;
    color: #fff;
    box-shadow: 0 4px 14px rgba(234, 67, 53, 0.35);
}

.social-gmail:hover {
    box-shadow: 0 8px 22px rgba(234, 67, 53, 0.55);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-yellow);
}

.form-group select {
    appearance: none;
    color: var(--text-muted);
}

.form-group select option {
    background: var(--darker-bg);
    color: #fff;
}

/* Footer */
footer {
    background: #0a0b0d;
    padding: 2rem 5%;
    text-align: center;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.branch-links a {
    color: var(--primary-yellow);
    transition: color 0.3s;
}

.branch-links a:hover {
    color: #fff;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media screen and (max-width: 992px) {

    .about-grid,
    .wcu-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        padding: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--dark-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: block;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
}