/* --- WILD RIVERS RAFTING CUSTOM STYLES --- */

:root {
    --wrr-blue: #0056b3;       /* Main Brand Blue */
    --wrr-dark: #1a1a1a;       /* Dark Text */
    --wrr-accent: #b03c3e;     /* Action Orange (UD style) */
    --wrr-light: #f8f9fa;      /* Light Background */
    --wrr-white: #ffffff;
}
header {
  /*background-color: var(--cassiopeia-color-primary);
    background-image: linear-gradient(135deg, var(--cassiopeia-color-primary) 0%, var(--cassiopeia-color-hover) 100%);*/
}

header.header.container-header.full-width {
    background: white !important;
}

a.brand-logo img {
    width: 600px;
}

.grid-child.container-nav {
    background:#2d5886 !important;
  padding-left: 20px;
}

/* Layout Utilities */
.wrr-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.wrr-hero-overlay .wrr-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: absolute;
    background: rgba(0, 50, 66, .3);
    padding: 2rem 5rem;
    bottom: 1rem;
}
.wrr-section {
    padding: 60px 0;
}
.text-center { text-align: center; }
.wrr-bg-light { background-color: var(--wrr-light); }
.wrr-rounded { border-radius: 8px; }
.wrr-img-responsive { max-width: 100%; height: auto; }

/* Hero Section */
.wrr-hero-section {
    position: relative;
    /* REPLACE with your actual hero image URL */
    background-image: url('/images/Wild-Rivers-1941.jpg'); 
    background-size: cover;
    background-position: center;
    height: 80vh; /* Takes up 80% of screen height */
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--wrr-white);
}

.wrr-hero-overlay {
    background: none); /* Darkens image for text readability */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wrr-hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: var(--wrr-white);
}

.wrr-hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Grids */
.wrr-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.wrr-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.wrr-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

main {
    margin-top: 9px !important;
}

/* Cards */
.wrr-card {
    background: var(--wrr-white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}
.wrr-card:hover { transform: translateY(-5px); }

.wrr-card-header { position: relative; /*height: 200px*/; overflow: hidden; }
.wrr-card-img { width: 100%; height: 100%; object-fit: cover; }

.wrr-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--wrr-blue);
    color: #fff;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 4px;
    text-transform: uppercase;
}
.wrr-badge.new { background: var(--wrr-accent); }

.wrr-card-body { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.wrr-card-body h3 { margin-top: 0; color: var(--wrr-blue); }
.wrr-trip-specs { color: #666; font-style: italic; margin-bottom: 15px; }

.wrr-list { list-style: none; padding: 0; margin-bottom: 20px; text-align: left; }
.wrr-list li { margin-bottom: 8px; border-bottom: 1px solid #eee; padding-bottom: 5px; }

/* Buttons */
.wrr-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
}

.wrr-btn-primary {
    background-color: var(--wrr-accent);
    color: var(--wrr-white);
    border: 2px solid var(--wrr-accent);
}
.wrr-btn-primary:hover { background-color: #e55c00; border-color: #e55c00; color: #fff; }

.wrr-btn-outline {
    background-color: transparent;
    color: var(--wrr-white);
    border: 2px solid var(--wrr-white);
    margin-left: 10px;
}
.wrr-btn-outline:hover { background-color: var(--wrr-white); color: var(--wrr-blue); }

.wrr-btn-full {
    background-color: var(--wrr-blue);
    color: #fff;
    text-align: center;
    display: block;
    margin-top: auto; /* Pushes button to bottom of card */
}
.wrr-btn-full:hover { background-color: #004494; color: #fff; }

/* Feature Box */
.wrr-feature-box {
    padding: 20px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
}
.wrr-feature-box h3 { color: var(--wrr-accent); }

/* Mobile Responsive */
@media (max-width: 768px) {
    .wrr-hero-title { font-size: 2rem; }
    .wrr-grid-2, .wrr-grid-3 { grid-template-columns: 1fr; }
    .wrr-btn-outline { margin-left: 0; margin-top: 10px; display: block; text-align: center;}
    .wrr-btn { display: block; width: 100%; text-align: center; box-sizing: border-box; }
}

/* --- INNER PAGE STYLES --- */

/* Smaller Hero for Sub-pages */
.wrr-page-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 40vh; /* Smaller than home page */
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--wrr-white);
}

.about .wrr-page-hero, .contact .wrr-page-hero {
    background-position: bottom;
}

.white-water .wrr-page-hero {
    background-image: url('/images/Wild-Rivers-1941.jpg'); /* Change specific to page */
  }

.earthquake-rapid .wrr-page-hero {
    background-image: url('/images/WWR_DSC_6764.jpg'); /* Change specific to page */
  }

.about .wrr-page-hero {
    background-image: url('/images/2024-02-11.jpg'); /* Change specific to page */
  }

.contact .wrr-page-hero {
    background-image: url('/images/2024-02-11.jpg'); /* Change specific to page */
  }

.wrr-text-block {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.wrr-location-box {
    background: var(--wrr-light);
    border-left: 5px solid var(--wrr-accent);
    padding: 30px;
    margin-top: 30px;
}

.wrr-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* --- TRIP DETAIL STYLES --- */

/* Quick Stats Bar */
.wrr-stats-bar {
    background:#2d5886 !important;
    color: #fff;
    padding: 20px 0;
    margin-bottom: 40px;
}
.wrr-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.2);
}
.wrr-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.9rem;
}
.wrr-stat-item strong {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 5px;
    text-transform: uppercase;
}

/* Trip Layout */
.wrr-trip-layout {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Content 66%, Sidebar 33% */
    gap: 40px;
}

/* Sidebar */
.wrr-sidebar-box {
    background: var(--wrr-light);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #eee;
    /*position: sticky; /* Keeps booking box visible while scrolling */*/
    top: 20px; 
}
.wrr-sidebar-box h3 { margin-top: 0; color: var(--wrr-blue); }
.wrr-price-tag {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--wrr-dark);
    margin: 10px 0;
}
.wrr-price-sub { font-size: 0.9rem; color: #666; }

/* What to Bring List */
.wrr-check-list {
    list-style: none;
    padding: 0;
}
.wrr-check-list li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 10px;
}
.wrr-check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--wrr-accent);
    font-weight: bold;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .wrr-stats-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .wrr-trip-layout { grid-template-columns: 1fr; }
    .wrr-sidebar-box { position: static; }
}

/* --- CONTACT PAGE STYLES --- */

.wrr-contact-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    height: 100%;
}

.wrr-contact-icon {
    color: var(--wrr-accent);
    font-size: 1.5rem;
    margin-right: 15px;
    width: 30px;
    text-align: center;
    display: inline-block;
}

.wrr-contact-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.wrr-map-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.wrr-map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- SOCIAL MEDIA & FOOTER STYLES --- */

.footer-container {
    text-align: center;
    padding: 20px 0;
    color: #fff; /* Assumes dark footer background */
}

/* Remove bullet points and align horizontally */
ul.social-media-links {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    justify-content: center; /* Centers them */
    gap: 20px; /* Space between icons */
}

/* SVG Styling */
.social-media-link svg {
    fill: #ffffff; /* Default icon color (white) */
    transition: all 0.3s ease;
    width: 32px; /* Enforced size */
    height: 32px;
}

/* Hover Effects - specific brand colors */
.social-media-link a:hover .icon-facebook { fill: #1877F2; transform: scale(1.1); }
.social-media-link a:hover .icon-tripadvisor { fill: #34E0A1; transform: scale(1.1); }

/* Footer Text */
.footer-legal {
    font-size: 0.85rem;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-legal a {
    color: #fff;
    text-decoration: underline;
}

/* Contact information styling */
.enquire main .contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 30px;
}

.enquire main .contact-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 15px 20px;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
  border-left: 4px solid #667eea;
}

.enquire main .contact-form:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
  background: rgba(102, 126, 234, 0.15);
}

.enquire main .contact-form:nth-child(2) {
  border-left-color: #764ba2;
}

.enquire main .contact-form:nth-child(3) {
  border-left-color: #f093fb;
}

.enquire main .contact-form:last-child {
  border-left-color: #f5576c;
}

/* Icon styling */
.enquire main .icon {
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

.enquire main .icon-phone {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23667eea' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
}

.enquire main .icon-email {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23764ba2' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.89 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}

.enquire main .icon-location {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23f093fb' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E");
}

/* Contact text styling */
.enquire main .contact-text {
  font-size: 1.1rem;
  font-weight: 500;
  color: #2c3e50;
}

.enquire main .contact-text a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.enquire main .contact-text a:hover {
  color: #667eea;
}

@media (min-width: 768px) {
    .col-sm-12 {
        width: 100%;
    }
}

#cf-items {
    width: 50% !important;
}
