/* ==========================================================================
   GLOBAL VARIABLES & RESET
   ========================================================================== */
:root {
    --brand-orange: #d18b49; 
    --brand-dark: #222222; 
    --brand-red: #e74c3c;
    --bg-cream: #fdfbf9; 
    --white: #ffffff;
    --border: #eceae8;
    --gray-text: #666666;
    --transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

body { 
    font-family: 'Montserrat', sans-serif; 
    background-color: var(--white); 
    color: var(--brand-dark); 
    line-height: 1.7; 
    overflow-x: hidden; 
}

h1, h2, h3, h4 { 
    font-family: 'Cormorant Garamond', serif; 
    color: var(--brand-dark); 
    font-weight: 600; 
}

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

section { padding: 100px 5%; }

.accent-line { 
    width: 60px; 
    height: 3px; 
    background: var(--brand-orange); 
    margin-bottom: 25px; 
}

.section-intro { text-align: center; margin-bottom: 60px; }
.section-intro h2 { font-size: 3.5rem; margin-bottom: 10px; }
.section-intro p { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 3px; color: var(--gray-text); }

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
header {
    position: absolute;
    top: 0; left: 0; width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 5%;
    z-index: 1000;
    background: transparent;
}

.logo-link img { height: 70px; width: auto; transition: transform 0.3s ease; }
.site-logo {
    height: 70px; /* Adjusted for the specific proportions of the Rose Properties logo */
    width: auto;
    transition: transform 0.3s ease;
    filter: brightness(0) invert(1);
}
.logo-link:hover img { transform: scale(1.02); }

.nav-links a {
    text-decoration: none;
    color: var(--white);
    margin-left: 35px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-links a:hover { color: var(--brand-orange); }

/* ==========================================================================
   HERO SECTIONS (HOMEPAGE, ABOUT, CONTACT, LISTINGS)
   ========================================================================== */
.hero, .about-hero, .listings-hero, .contact-hero {
    height: 60vh;
    width: 100%;
    position: relative;
    background-size: cover;
    background-position: top center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}


/* Individual Listing Detail Hero */
.hero-left { height: 80vh; justify-content: flex-start; padding-left: 5%; }

/* Hero Text Effects */
.hero-text h1, .hero-content h1 { 
    font-size: 4.5rem; 
    color: var(--white); 
    text-shadow: 0 4px 15px rgba(0,0,0,0.4); 
    line-height: 1.1;
    margin-bottom: 10px;
}

.hero-location, .hero-content p { 
    text-transform: uppercase; 
    letter-spacing: 6px; 
    font-size: 1.1rem; 
    opacity: 0.95; 
    font-weight: 300; 
    display: block; 
}

/* FILTER BAR  */
.filter-bar {
    padding: 30px 5%;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    position: sticky;
    top: 0;
    z-index: 900;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.filter-select {
    padding: 10px 20px;
    border: 1px solid var(--border);
    background: transparent;
    font-family: 'Montserrat';
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    outline: none;
    cursor: pointer;
    transition: 0.3s;
}
.filter-select:hover { border-color: var(--brand-orange); }


/* ==========================================================================
   LISTING GRIDS & CARDS
   ========================================================================== */
.listings-container { padding: 80px 5%; }
.property-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }

.card { 
    background: var(--white); 
    border: 1px solid var(--border); 
    position: relative; 
    display: block; 
    color: inherit;
}

.card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.05); }

.card-img { width: 100%; height: 280px; object-fit: cover; display: block; }

.card-info { padding: 30px; }
.card-info .price { font-size: 1.4rem; font-weight: 600; color: var(--brand-dark); margin-bottom: 5px; }
.card-info .address { font-size: 0.85rem; color: var(--gray-text); margin-bottom: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Sold Badge Styling */
.sold-badge {
    position: absolute;
    top: 15px; left: 15px;
    background: var(--brand-red);
    color: white;
    padding: 8px 18px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.sold-card .card-img { filter: grayscale(100%); transition: filter 0.5s; }
.sold-card:hover .card-img { filter: grayscale(0%); }

/* Grid Specs Bar */
.specs-bar { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); padding-top: 15px; text-align: center; }
.spec-value { display: block; font-weight: 600; font-size: 0.9rem; color: var(--brand-orange); }
.spec-label { display: block; font-size: 0.6rem; text-transform: uppercase; color: var(--gray-text); }

/* ==========================================================================
   LISTING DETAIL PAGE SPECIFICS
   ========================================================================== */
/* HERO SLIDER */
/* STATIC HERO SECTION */
.hero-static {
    height: 80vh;
    width: 100%;
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.4)), 
                url('https://rosepropertiesaustin.com/wp-content/uploads/2026/01/vista1.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 5%;
    color: var(--white);
}
.hero-text h1 { font-size: 4.8rem; color: var(--white); text-shadow: 0 4px 15px rgba(0,0,0,0.4); line-height: 1.1; margin: 0; }
.hero-location { text-transform: uppercase; letter-spacing: 6px; font-size: 1.1rem; opacity: 0.95; font-weight: 300; margin-top: 10px; display: block; }

/* QUICK SPECS BAR */
.spec-bar {
    background: var(--white);
    padding: 45px 5%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-bottom: 1px solid var(--border);
    text-align: center;
}
.spec-item .label { display: block; font-size: 0.65rem; text-transform: uppercase; color: var(--brand-orange); letter-spacing: 2.5px; margin-bottom: 10px; font-weight: 600; }
.spec-item .value { font-size: 1.5rem; font-family: 'Cormorant Garamond', serif; font-weight: 600; }
.listing-container { display: grid; grid-template-columns: 2fr 1fr; gap: 80px; padding: 80px 5% 100px; }

/* Large Horizontal Spec Bar */
.detail-spec-bar {
    background: var(--white);
    padding: 45px 5%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.highlight-quote { 
    font-family: 'Cormorant Garamond', serif; 
    font-size: 2rem; 
    font-style: italic; 
    color: var(--brand-orange); 
    margin-bottom: 50px; 
    line-height: 1.4; 
    border-left: 2px solid var(--brand-orange); 
    padding-left: 30px; 
}

/* Masonry Gallery */
.mosaic-gallery { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 300px; gap: 20px; margin: 60px 0; }
.mosaic-item { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; cursor: pointer; transition: transform 0.4s; }
.mosaic-item:hover { transform: scale(1.02); filter: brightness(1.1); }
.mosaic-featured { grid-column: span 2; grid-row: span 2; height: 620px; }

/* Lightbox Modal */
.lightbox {
    display: none; position: fixed; z-index: 2000; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95); justify-content: center; align-items: center;
}
.lightbox-img { max-width: 90%; max-height: 85vh; box-shadow: 0 0 50px rgba(0,0,0,0.5); }
.lightbox-close { position: absolute; top: 30px; right: 40px; color: white; cursor: pointer; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 2px; }
.nav-btn { color: white; font-size: 3rem; cursor: pointer; padding: 20px; transition: 0.3s; }
.nav-btn:hover { color: var(--brand-orange); }

.google-map-container { width: 100%; height: 480px; background: #eee; border-radius: 4px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }

/* ==========================================================================
   SIDEBAR & CONTACT FORM
   ========================================================================== */
.sidebar-card, .info-sidebar { background: var(--bg-cream); padding: 45px; position: sticky; top: 40px; height: fit-content; border-radius: 4px; text-align: center; }
.agent-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 20px; border: 3px solid var(--white); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

.cta-button { 
    display: block; width: 100%; padding: 20px; 
    background: var(--brand-dark); color: var(--white); 
    text-align: center; font-size: 0.85rem; font-weight: 600; 
    text-transform: uppercase; letter-spacing: 2px; margin-bottom: 15px; 
}
.cta-button:hover { background: var(--brand-orange); transform: translateY(-2px); }

/* Form Elements */
.form-group { margin-bottom: 30px; text-align: left; }
.form-input { 
    width: 100%; padding: 15px 0; border: none; border-bottom: 1px solid var(--border); 
    font-family: 'Montserrat'; font-size: 0.95rem; outline: none; transition: 0.3s; 
}
.form-input:focus { border-bottom-color: var(--brand-orange); }

/* SEAN ROSE BIO */
.leadership-section {
    background-color: var(--bg-cream);
    padding: 100px 5%;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}
.sean-img { width: 100%; height: 650px; object-fit: cover; border-radius: 2px; box-shadow: 20px 20px 0px var(--brand-orange); }
.sean-text h3 { font-size: 3rem; margin-bottom: 5px; }
.sean-title { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; color: var(--brand-orange); font-weight: 600; margin-bottom: 30px; display: block; }
.sean-text p { font-size: 1.1rem; color: #444; margin-bottom: 25px; }



/* ==========================================================================
   ABOUTUS, TEAM & TESTIMONIALS
   ========================================================================== */
/* SECTION: ABOUT ROSE PROPERTIES */
.story-section {
    padding: 100px 15%;
    text-align: center;
    background-color: var(--white);
}
.story-section h2 { font-size: 3.5rem; margin-bottom: 30px; }
.story-section p { font-size: 1.2rem; color: var(--gray-text); line-height: 1.9; max-width: 900px; margin: 0 auto; font-weight: 300; }
.accent-line { width: 60px; height: 2px; background: var(--brand-orange); margin: 40px auto; }
/* TEAM GRID */
.team-section { padding: 120px 5%; background: var(--white); }
.team-header { text-align: center; margin-bottom: 80px; }
.team-header h2 { font-size: 3.2rem; }

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}
.team-card { text-align: center; transition: 0.4s; }
.team-card:hover { transform: translateY(-10px); }
.member-photo {
    width: 100%;
    height: 350px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 2px;
    background-color: #f2f2f2;
}
.team-card h4 { font-size: 1.4rem; margin-bottom: 5px; color: var(--brand-dark); }
.member-title { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px; color: var(--brand-orange); font-weight: 600; }


@media (max-width: 1200px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 992px) { 
    .team-grid { grid-template-columns: repeat(2, 1fr); } 
    .leadership-section, .footer-top-row, .footer-bottom-row { grid-template-columns: 1fr; }
    .about-hero h1 { font-size: 3rem; }
    .nav-links { display: none; }
}
@media (max-width: 600px) { .team-grid { grid-template-columns: 1fr; } }

/*===================================*/
/* TESTIMONIALS SECTION STYLING */
/*====================================*/
.testimonials-section {
    background-color: var(--bg-cream);
    padding: 120px 5%;
    border-top: 1px solid var(--border);
}

.testimonials-header {
    text-align: center;
    margin-bottom: 80px;
}

.testimonials-header h2 {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.testimonials-header p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gray-text);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--white);
    padding: 50px;
    border: 1px solid var(--border);
    position: relative;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

/* Decorative Quotation Mark */
.testimonial-card::before {
    content: "“";
    position: absolute;
    top: 20px;
    left: 30px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;
    color: var(--brand-orange);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    line-height: 1.6;
    font-style: italic;
    color: var(--brand-dark);
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--border);
    padding-top: 25px;
}

.author-info h5 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--brand-dark);
    margin: 0;
}

.author-info span {
    font-size: 0.75rem;
    color: var(--brand-orange);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 1100px) {
    .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .testimonial-grid { grid-template-columns: 1fr; }
    .testimonials-header h2 { font-size: 2.8rem; }
    .testimonial-card { padding: 40px 30px; }
}

/*================================*/
/* CONTACT HERO SECTION */
/*================================*/
.contact-hero {
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.2)), 
                url('https://images.unsplash.com/photo-1602343168117-bb8ffe3e2e9f?q=80&w=1920'); /* Cinematic Austin/Office feel */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}
.contact-hero h1 { font-size: 4.5rem; color: var(--white); text-shadow: 0 2px 15px rgba(0,0,0,0.3); margin-bottom: 10px; }
.contact-hero p { text-transform: uppercase; letter-spacing: 6px; font-size: 1.1rem; font-weight: 300; }

/* CONTACT CONTENT AREA */
.contact-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 100px;
    padding: 100px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-intro h2 { font-size: 3rem; margin-bottom: 25px; line-height: 1.2; }
.contact-intro p { font-size: 1.1rem; color: var(--gray-text); margin-bottom: 50px; font-weight: 300; }

/* FORM STYLING */
.form-group { margin-bottom: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-label { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 10px; font-weight: 600; color: var(--brand-orange); }
.form-input {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid var(--border);
    font-family: 'Montserrat';
    font-size: 0.95rem;
    outline: none;
    transition: 0.3s;
}
.form-input:focus { border-bottom-color: var(--brand-orange); }
textarea.form-input { height: 120px; resize: none; }

.submit-btn {
    background: var(--brand-dark);
    color: var(--white);
    border: none;
    padding: 20px 60px;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 20px;
}
.submit-btn:hover { background: var(--brand-orange); transform: translateY(-3px); }

/* SIDEBAR INFO */
.info-sidebar {
    background-color: var(--bg-cream);
    padding: 60px;
    height: fit-content;
    border-radius: 2px;
}
.info-block { margin-bottom: 45px; }
.info-block h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; color: var(--brand-orange); margin-bottom: 15px; }
.info-block p { font-size: 1rem; color: var(--brand-dark); line-height: 1.6; }
.info-block a { color: inherit; text-decoration: none; transition: 0.3s; }
.info-block a:hover { color: var(--brand-orange); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background-color: var(--brand-dark); color: var(--white); padding: 80px 5% 40px; }
.footer-top-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 60px; margin-bottom: 60px; }
footer a { color: var(--white); text-decoration: underline;}
.video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 4px; }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
footer h1, footer h2, footer h3 { color: var(--brand-orange); }
.footer-about h3 { font-size: 1.8rem; }
.footer-bottom-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
.footer-heading { color: var(--brand-orange); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 25px; font-weight: 600; }
.footer-nav ul { list-style: none; }
.footer-nav ul li { margin-bottom: 12px; }
.footer-nav ul li a { color: var(--white); opacity: 0.7; font-size: 0.85rem; text-decoration: none;}
.footer-nav ul li a:hover { color: var(--brand-orange); opacity: 1; }
/* SOCIAL ICONS STYLING */
.footer-socials {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background-color: var(--brand-orange);
    border-color: var(--brand-orange);
    color: var(--white);
    transform: translateY(-3px);
}

/* Specific FontAwesome sizing tweak */
.social-icon i {
    line-height: 0;
}

footer .trec-links { margin-bottom: 1rem; }
footer .trec-links a { display: block; font-size: .8rem; }

.compliance-icons img { height: 28px; width: auto; margin-right: 15px; }

.legal-bar { margin-top: 60px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.1); text-align: center; }

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1100px) {
    .property-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .listing-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    header { padding: 20px; flex-direction: column; gap: 20px; }
    .nav-links { display: none; } /* Standard mobile menu toggle recommended */
    .hero-text h1, .hero-content h1 { font-size: 2.8rem; }
    .property-grid, .team-grid, .footer-top-row, .footer-bottom-row, .detail-spec-bar { grid-template-columns: 1fr; }
    .detail-spec-bar { gap: 20px; }
    .mosaic-gallery { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .mosaic-featured { height: 400px; grid-row: span 1; grid-column: span 1; }
    section { padding: 60px 5%; }
}