/* ============================================================
   INTERNET RESOURCES PAGE STYLES
   Riverside Home Designs
   ============================================================ */

/* ========== HERO SECTION ========== */
.page-hero {
    background: linear-gradient(135deg, #1464d1 0%, #0d4a9e 100%);
    
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 30px;
}

.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.95;
    margin: 0;
}

/* ========== HERO BANNER IMAGE ========== */
.hero-banner {
    margin-top: 15px;
    text-align: center;
}

.hero-banner-img {
    max-width: 280px;
    width: 100%;
    height: auto;
    opacity: 0.95;
}

/* ========== MAIN CONTENT CONTAINER ========== */
.page-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 40px 20px;
}

.page-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 30px;
}

/* ========== SEARCH SECTION ========== */
.search-section {
    margin-bottom: 30px;
    text-align: center;
}

.search-title {
    color: #1464d1;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.search-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.search-input {
    padding: 12px 15px;
    border: 2px solid #1464d1;
    border-radius: 5px;
    font-size: 1rem;
    width: 300px;
    max-width: 100%;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #0d4a9e;
}

.search-submit-img {
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s ease;
    height: 50px;
    width: auto;
}

.search-submit-img:hover {
    transform: scale(1.05);
}

.search-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 0.95rem;
    margin-left: -60px;
}

.search-options label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.search-options input[type="radio"] {
    cursor: pointer;
}

/* ========== LINKS SECTION ========== */
.links-section {
    margin-top: 30px;
}

.section-title {
    color: #1464d1;
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.intro-text {
    text-align: center;
    color: #555;
    font-size: 1rem;
    margin-bottom: 25px;
}

/* ========== LINK ITEMS ========== */
.link-item {
    margin-bottom: 18px;
    padding: 18px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #17a2b8;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.link-item:hover {
    transform: translateX(5px);
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.link-item h3 {
    margin: 0 0 10px 0;
}

.link-item h3 a {
    color: #1464d1;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.link-item h3 a:hover {
    color: #0d4a9e;
    text-decoration: underline;
}

.link-item p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* ========== DIVIDERS ========== */
.page-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, #1464d1, transparent);
    margin: 30px 0;
    border-radius: 2px;
}

.page-splits {
    height: 2px;
    background: linear-gradient(to right, transparent, #1464d1, transparent);
    margin: 20px 0;
    border-radius: 2px;
}

/* ========== CONTACT/CTA BOX ========== */
.page-contact {
    margin-top: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
    border: 2px solid #1464d1;
}

.page-contact h3 {
    color: #1464d1;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.page-contact p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 12px 0;
}

.page-contact p:last-child {
    margin-bottom: 0;
}

.contact-cta {
    margin: 18px 0 !important;
}

/* REMOVED: .phone-link button styling - using site-wide default instead */
/*
.phone-link {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: #1464d1;
    text-decoration: none;
    border: 2px solid #1464d1;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.phone-link:hover {
    color: white !important;
    background-color: #1464d1;
    
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(20, 100, 209, 0.3);
}
*/

.contact-hours {
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
}

/* ========== BREADCRUMB (HIDDEN BUT SEO-FRIENDLY) ========== */
.breadcrumb-nav {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ========== RESPONSIVE - TABLET ========== */
@media (max-width: 768px) {
    .page-hero {
        padding: 30px 15px;
    }
    
    .page-hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-banner-img {
        max-width: 230px;
    }
    
    .page-container {
        padding: 20px;
    }
    
    .search-title {
        font-size: 1.2rem;
    }
    
    .search-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-input {
        width: 100%;
        max-width: 350px;
    }
    
    .search-submit-img {
        height: 45px;
    }
    
    .search-options {
        flex-direction: column;
        gap: 10px;
        margin-left: 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .link-item {
        padding: 15px;
    }
    
    .link-item h3 a {
        font-size: 1.1rem;
    }
    
    .link-item p {
        font-size: 0.95rem;
    }
    
    .page-contact {
        padding: 20px;
    }
    
    .page-contact h3 {
        font-size: 1.2rem;
    }
    
    .phone-link {
        font-size: 1rem;
        padding: 10px 25px;
    }
}

/* ========== RESPONSIVE - MOBILE ========== */
@media (max-width: 480px) {
    .page-hero {
        padding: 25px 15px;
    }
    
    .page-hero h1 {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-banner-img {
        max-width: 180px;
    }
    
    .page-container {
        padding: 15px;
    }
    
    .search-title {
        font-size: 1.1rem;
    }
    
    .search-box {
        flex-direction: column;
        width: 100%;
    }
    
    .search-input {
        width: 100%;
    }
    
    .search-submit-img {
        height: 40px;
    }
    
    .search-options {
        margin-left: 0;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .link-item {
        padding: 12px;
        border-left-width: 3px;
    }
    
    .link-item h3 a {
        font-size: 1rem;
    }
    
    .link-item p {
        font-size: 0.9rem;
    }
    
    .page-contact {
        padding: 18px 12px;
    }
    
    .page-contact h3 {
        font-size: 1.1rem;
    }
    
    .page-contact p {
        font-size: 0.95rem;
    }
    
    .phone-link {
        font-size: 0.95rem;
        padding: 10px 20px;
        display: block;
        margin: 0 auto;
        max-width: 280px;
    }
    
    .contact-hours {
        font-size: 0.85rem;
    }
}

/* ========== PRINT STYLES ========== */
@media print {
    .page-hero {
        background: #1464d1 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        page-break-after: avoid;
    }
    
    .page-container {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .search-section {
        display: none;
    }
    
    .link-item {
        page-break-inside: avoid;
        border: 1px solid #ddd;
        box-shadow: none;
    }
    
    .link-item h3 a {
        color: #1464d1 !important;
        text-decoration: underline;
    }
    
    .link-item h3 a::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }
    
    .page-contact {
        border: 2px solid #1464d1;
        page-break-inside: avoid;
    }
    
    .phone-link {
        border: 2px solid #1464d1;
        color: #1464d1 !important;
    }
}
