/* Accommodation Page Styles */
:root {
    --primary-color: #28AAE1; /* INREACH logo color - RGB: 40, 170, 225 - PMS: 298 C */
    --secondary-color: #0e6b94; /* Darker shade of primary for hover states and contrast */
    --accent-color: #1d87b3; /* Middle tone for accents */
    --primary-dark: #0e6b94; /* Darker version of primary for better text contrast */
    --text-color: #1f2937; /* Dark gray for main text - good contrast with white */
    --light-text: #4b5563; /* Medium gray for secondary text - improved contrast */
    --background-color: #ffffff; /* White background */
    --light-background: #f0f7fb; /* Very light blue tint for sections */
    --border-color: #d1e9f5; /* Light blue for borders */
    --spacing-unit: 1rem;
    --border-radius: 0.5rem;
    --card-shadow: 0 4px 6px rgba(40, 170, 225, 0.1), 0 1px 3px rgba(40, 170, 225, 0.05);
    --transition-speed: 0.3s;
}

/* Hero Section */
.accommodation-hero {
    background: linear-gradient(rgba(40, 170, 225, 0.1), rgba(40, 170, 225, 0.05));
    padding: 6rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.accommodation-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../photos/pattern-dots.svg');
    background-size: 20px;
    opacity: 0.15;
    pointer-events: none;
}

.accommodation-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.accommodation-hero h1 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-size: 2.8rem;
    line-height: 1.2;
}

.accommodation-hero p {
    font-size: 1.25rem;
    color: var(--light-text);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Hero Badges */
.hero-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    width: 100%;
}

.hero-badge {
    display: flex;
    align-items: center;
    background-color: white;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(40, 170, 225, 0.1);
}

.badge-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.badge-text {
    font-weight: 600;
    color: var(--text-color);
}

.hero-search {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

/* Introduction Section */
.accommodation-intro {
    padding: 4rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.accommodation-intro p {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    color: var(--light-text);
}

.feature-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.feature-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.feature-badge svg {
    color: var(--primary-color);
    width: 36px;
    height: 36px;
}

.feature-badge span {
    font-weight: 500;
    font-size: 1.1rem;
}

/* Property Listings */
.property-listings {
    padding: 4rem 1rem;
    background-color: var(--light-background);
    text-align: center;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.property-card {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(40, 170, 225, 0.15);
}

.property-image {
    position: relative;
    height: auto;
    aspect-ratio: 4/3;
    overflow: hidden;
    z-index: 0;
}

.property-image img,
.property-slideshow .slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
    border-radius: 12px;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.property-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    z-index: 100;
    pointer-events: none;
}

.property-badge.assisted {
    background-color: #10b981; /* Green for assisted living */
}

.property-content {
    padding: 1.5rem;
    text-align: center;
}

.property-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.property-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--light-text);
    margin-bottom: 1rem;
}

.property-location svg {
    color: var(--primary-color);
}

.property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    justify-content: center;
}

.feature {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 80px;
    align-items: center;
}

.feature-label {
    font-size: 0.75rem;
    color: var(--light-text);
    margin-bottom: 0.25rem;
}

.feature-value {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.875rem;
}

.property-description {
    margin-bottom: 1.5rem;
    color: var(--light-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

.view-property {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition-speed);
}

.view-property:hover {
    color: var(--secondary-color);
}

/* Christine Court slideshow styles */
.property-slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 12px;
  background: #f5f7fa;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.property-slideshow .slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  object-position: bottom;
  opacity: 0;
  transition: opacity 0.5s;
  z-index: 1;
  border-radius: 12px;
  pointer-events: none;
}
.property-slideshow .slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}
.property-slideshow .slideshow-prev,
.property-slideshow .slideshow-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 3;
  transition: background 0.2s;
}
.property-slideshow .slideshow-prev:hover,
.property-slideshow .slideshow-next:hover {
  background: rgba(0,0,0,0.7);
}
.property-slideshow .slideshow-prev { left: 12px; }
.property-slideshow .slideshow-next { right: 12px; }
.property-slideshow .slideshow-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 4;
}
.property-slideshow .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  outline: none;
}
.property-slideshow .dot.active,
.property-slideshow .dot:focus {
  background: #1976d2;
}
@media (max-width: 600px) {
  .property-slideshow,
  .property-image {
    aspect-ratio: 4/3;
  }
  .property-slideshow .slideshow-prev,
  .property-slideshow .slideshow-next {
    width: 28px;
    height: 28px;
    font-size: 1.1rem;
  }
  .property-slideshow .slideshow-dots {
    bottom: 6px;
  }
}

/* Accommodation Features Section */
.accommodation-features {
    padding: 5rem 1rem;
    text-align: center;
}

.features-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin: 0 auto;
    max-width: 1200px;
    justify-content: center;
}

.features-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-icon {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.features-column h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.features-column p {
    margin-bottom: 1.5rem;
    color: var(--light-text);
    font-size: 1rem;
    line-height: 1.6;
}

.feature-list {
    list-style-type: none;
    padding: 0;
    margin: 0 auto;
    max-width: 300px;
    text-align: left;
}

.feature-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background-color: var(--primary-color);
}

/* Enquiry Section */
.enquiry-section {
    padding: 5rem 1rem;
    background-color: var(--light-background);
    text-align: center;
}

.enquiry-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.enquiry-column {
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 4px 10px rgba(40, 170, 225, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.enquiry-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(40, 170, 225, 0.15);
}

.enquiry-column h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.contact-list {
    list-style-type: none;
    padding: 0;
    margin: 1.5rem auto;
    text-align: left;
}

.contact-list li {
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.contact-list a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-list a:hover {
    text-decoration: underline;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: background-color var(--transition-speed);
    margin-top: 1rem;
    border: none;
}

.cta-button:hover {
    background-color: var(--secondary-color);
}

/* FAQ Section */
.faq-section {
    padding: 5rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
    text-align: left;
    width: 100%;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1rem;
    width: 100%;
}

.faq-question {
    font-size: 1.25rem;
    font-weight: 600;
    padding: 1.5rem 0;
    cursor: pointer;
    position: relative;
    color: var(--text-color);
    margin: 0;
    transition: color var(--transition-speed);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    line-height: 1;
    color: var(--primary-color);
}

.faq-question.active::after {
    content: '−';
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-speed);
}

.faq-answer p, .faq-answer ul {
    padding-bottom: 1.5rem;
    color: var(--light-text);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.faq-answer ul {
    padding-left: 1.5rem;
}

.faq-answer li {
    margin-bottom: 0.75rem;
}

/* Section Headers */
section h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    text-align: center;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.property-card, .features-column, .enquiry-column, .faq-item {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Media Queries */
@media (max-width: 992px) {
    .properties-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
    
    .enquiry-columns {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .feature-badges {
        gap: 1.5rem;
    }
    
    section h2 {
        font-size: 1.75rem;
    }
    
    .faq-question {
        font-size: 1.1rem;
        padding: 1rem 0;
    }
    
    .property-card {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .accommodation-hero {
        padding: 4rem 1rem;
    }
    
    .accommodation-hero h1 {
        font-size: 2rem;
    }
    
    .accommodation-hero p {
        font-size: 1.1rem;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-badges {
        gap: 1.5rem;
    }
    
    section h2 {
        font-size: 1.75rem;
    }
    
    .faq-question {
        font-size: 1.1rem;
        padding: 1rem 0;
    }
    
    .property-card {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 600px) {
    .hero-badges {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-badge {
        width: 80%;
        justify-content: center;
    }
    
    .feature-badges {
        flex-direction: column;
        align-items: center;
    }
}

/* Skip Navigation Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Update container for better centering */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
} 