/* Royal Rose Realty - Combined Responsive Stylesheet */
/* Modern CSS with HTML5/CSS3 best practices */

/* ===== CSS Custom Properties (Variables) ===== */
:root {
    --primary-color: #8B0000;
    --primary-dark: #5C0000;
    --primary-light: #B22222;
    --accent-color: #D4AF37;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #FFFFFF;
    --bg-light: #F5F5F5;
    --bg-gray: #CCCCCC;
	--bg-gold: #FFD700;
    --border-color: #DDDDDD;
    --link-color: #666666;
    --font-primary: 'Trebuchet MS', 'Lucida Grande', 'Lucida Sans Unicode', 'Lucida Sans', Tahoma, sans-serif;
    --font-heading: Georgia, 'Times New Roman', serif;
    --max-width: 1200px;
    --header-height: 80px;
    --transition: all 0.3s ease;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* ===== CSS Reset & Base Styles ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background patterns for specific pages */
body.page-home {
    /*background: url('imgs/ggr23.jpg') center center no-repeat fixed;*/
	background: url('../imgs/rose.png') 0% 20% no-repeat fixed;
	background-size: 10% auto;
	/*background-color:#FFFFFF;*/
    /*background-size: cover;*/
}

body.page-local {
    /*background: url('../imgs/local.png') center center no-repeat fixed;
    background-size: cover;*/
	background: url('../imgs/rose.png') 0% 20% no-repeat fixed;
	background-size: 10% auto;
}
8
body.page-schools,
body.page-interest {
    /*background: url('../imgs/grc.jpg') center center no-repeat fixed;
    background-size: cover;*/
	background: url('../imgs/rose.png') 0% 20% no-repeat fixed;
	background-size: 10% auto;
}

body.page-default {
    /*background: url('../imgs/gwtns.jpg') center center no-repeat fixed;
    background-size: cover;*/
	background: url('../imgs/rose.png') 0% 20% no-repeat fixed;
	background-size: 10% auto;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

a:hover {
    color: var(--primary-color);
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-color);
}

h1 {
    font-size: 2.5rem;
    font-style: italic;
	background: var(--bg-gold);
	
}

h2 {
    font-size: 2rem;
    font-style: italic;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

/* ===== Layout Container ===== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.main-wrapper {
    flex: 1;
    padding: 2rem 0;
    width: 80%;
    margin: 0 auto;
	background-color: rgba(255,100,100,.30);
}

/* ===== Header & Navigation ===== */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.site-logo img {
    height: 60px;
    width: auto;
}

/* Main Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    list-style: none;
}

.nav-menu li a {
    display: block;
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-color);
    border-radius: 4px;
    transition: var(--transition);
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background: var(--primary-color);
    color: var(--bg-color);
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1002;
    position: relative;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--text-color);
    margin: 6px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation Overlay */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.nav-overlay.active {
    display: block;
}

/* ===== Alert Banner ===== */
.alert-banner {
    background: var(--primary-color);
    color: var(--bg-color);
    padding: 0.75rem 1rem;
    text-align: center;
    font-size: 0.9rem;
}

.alert-banner a {
    color: var(--accent-color);
    text-decoration: underline;
}

.alert-banner a:hover {
    color: var(--bg-color);
}

/* ===== Hero Section ===== */
.hero {
    text-align: center;
    margin-bottom: 2rem;
}

.hero-image {
    margin: 0 auto 2rem;
    max-width: 960px;
    border: 5px solid var(--bg-gray);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hero-image img {
    width: 100%;
    height: auto;
}

.hero-content {
    padding: 1rem;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

/* ===== Content Sections ===== */
.content-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.section-title {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

/* ===== Cards Grid ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: var(--bg-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* ===== Two Column Layout ===== */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.column-header {
    background: var(--bg-gold);
    padding: 1rem;
    text-align: center;
    font-size: 1.5rem;
    font-style: italic;
    font-weight: bold;
}

/* ===== Agent Profiles ===== */
.agent-profile {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.agent-photo {
    flex-shrink: 0;
}

.agent-photo img {
    width: 105px;
    height: 131px;
    object-fit: cover;
    border: 5px solid var(--bg-gray);
    border-radius: 4px;
}

.agent-info {
    flex: 1;
}

.agent-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.agent-contact {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.agent-bio {
    line-height: 1.6;
}

/* Broker Profile (larger) */
.broker-profile .agent-photo img {
    width: 200px;
    height: 250px;
}

.broker-profile .agent-name {
    font-size: 2rem;
}

/* ===== Testimonials ===== */
.testimonial {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid var(--primary-color);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: bold;
    text-align: right;
}

/* ===== Tables ===== */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.data-table th,
.data-table td {
    padding: 0.75rem;
    text-align: left;
    border: 1px solid var(--border-color);
}

.data-table th {
    background: var(--bg-gray);
    font-weight: bold;
}

.data-table tr:nth-child(even) {
    background: var(--bg-light);
}

.data-table tr:hover {
    background: #E5E5E5;
}

/* School District Header */
.district-header {
    background: var(--bg-color);
    padding: 1rem;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    text-align: center;
    font-size: 1.25rem;
    font-weight: bold;
}

.district-header a {
    color: var(--primary-color);
}

/* ===== Forms ===== */
.contact-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--primary-color);
    color: var(--bg-color);
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background: var(--primary-dark);
    color: var(--bg-color);
}

.btn-accent {
    background: var(--accent-color);
    color: var(--text-color);
}

.btn-accent:hover {
    background: #C4A030;
}

/* ===== Contact Info ===== */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.contact-location {
    padding: 1rem;
}


.contact-location h3 {
    margin-bottom: 0.5rem;
}

.contact-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* ===== Image Gallery Grid ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    text-align: center;
}

.gallery-item img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border: 5px solid var(--bg-gray);
    border-radius: 4px;
    margin: 0 auto 1rem;
    transition: var(--transition);
}

.gallery-item img:hover {
    border-color: var(--primary-color);
}

.gallery-item a {
    font-weight: bold;
}

/* ===== Local Info Grid ===== */
.local-info-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.local-info-item {
    text-align: center;
}

.local-info-item img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border: 3px solid var(--bg-gray);
    margin: 0 auto 0.5rem;
}

/* ===== Lists ===== */
.styled-list {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.styled-list li {
    margin-bottom: 0.5rem;
}

/* ===== 60 Day Section ===== */
.property-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.property-item img {
    width: 150px;
    height: 95px;
    object-fit: cover;
    border: 5px solid var(--bg-gray);
    margin-bottom: 0.5rem;
}

.highlight-red {
    color: var(--primary-color);
}

/* ===== iFrame Container ===== */
.iframe-container {
    width: 100%;
    margin-bottom: 2rem;
}

.iframe-container iframe {
    width: 100%;
    border: none;
}

/* ===== Footer ===== */
.site-footer {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem 0;
    margin-top: auto;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    align-items: center;
    text-align: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-link {
    font-weight: 600;
}

.footer-copyright {
    font-weight: 600;
}

/* ===== Utility Classes ===== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.img-responsive {
    max-width: 100%;
    height: auto;
}

.img-border {
    border: 5px solid var(--bg-gray);
    border-radius: 4px;
}

.float-right {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.float-left {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.hidden {
    display: none !important;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== Responsive Breakpoints ===== */

/* Tablet and below */
@media (max-width: 992px) {
    .two-column {
        grid-template-columns: 1fr;
    }
    
    .local-info-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .property-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Mobile Navigation - 950px breakpoint */
@media (max-width: 950px) {
    .nav-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -320px;
        width: 300px;
        height: 100vh;
        height: 100dvh;
        background: #FFFFFF;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 20px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        transition: right 0.3s ease;
        z-index: 1001;
        overflow-y: auto;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .nav-menu {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0;
        padding: 0;
        margin: 0;
    }
    
    .nav-menu li {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-menu li:first-child {
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu li a {
        display: block;
        width: 100%;
        padding: 15px 20px;
        border-radius: 0;
        font-size: 16px;
        font-weight: 600;
        color: #333333;
        background: #FFFFFF;
        text-decoration: none;
    }
    
    .nav-menu li a:hover,
    .nav-menu li a.active {
        background: #8B0000;
        color: #FFFFFF;
    }
    
    /* Body scroll lock when nav is open */
    body.nav-open {
        overflow: hidden;
    }
}

/* Smaller screens */
@media (max-width: 767px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .agent-profile {
        flex-direction: column;
        text-align: center;
    }
    
    .broker-profile .agent-photo img {
        margin: 0 auto;
    }
    
    .float-right,
    .float-left {
        float: none;
        margin: 0 auto 1rem;
        display: block;
    }
    
    .local-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .property-showcase {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}

/* Small Mobile (480px and down) */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .local-info-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .data-table {
        font-size: 0.8rem;
    }
    
    .data-table th,
    .data-table td {
        padding: 0.5rem;
    }
    
    .site-logo img {
        height: 45px;
    }
    
    .main-nav {
        width: 280px;
        right: -290px;
    }
}

/* ===== Print Styles ===== */
@media print {
    .site-header,
    .nav-toggle,
    .alert-banner,
    .site-footer {
        display: none;
    }
    
    body {
        background: none !important;
    }
    
    .content-section {
        box-shadow: none;
        background: none;
    }
    
    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8rem;
    }
}
