:root {
  color-scheme: only light;
}

/* Reset some basic styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Updated Body styling for a modern, premium feel */
body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; /* Smoother modern font stack */
    background-color: #1A1C2C; /* Midnight Navy background */
    color: #F4F4F9; /* Soft off-white for high legibility */
    line-height: 1.6;
    padding: 20px;
    padding-bottom: 80px; /* Slightly more room for the bottom nav */
    margin: 0;
    overflow-x: hidden; 
    -webkit-font-smoothing: antialiased; /* Makes text look crisp on mobile */
}

/* Header styling */
header {
    text-align: center;
}

header img {
    display: block;
    margin: 0 auto;
    max-width: 200px; /* Smaller logo width */
    height: auto;
}

/* Main section styling */
main {
    margin-top: 20px;
}

section {
    margin-bottom: 40px;
}

h2 {
    color: #1A1C2C;
}

/* ============================================================
   BUTTON & NAVIGATION STYLING - BURNIE 2026 REFRESH
   ============================================================ */

/* Container for the three top buttons (Venue, Program, Socials) */
.button-container {
    display: flex;
    justify-content: space-between;
    margin: 20px auto 0 auto;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    padding: 0 5px;
}

/* Ensures the three top buttons take up equal space */
.button-item {
    flex: 1;
    text-align: center;
}

/* Global Button Styling - Modern Burnie Palette */
button, 
.button-item button {
    background-color: #8E44AD !important; /* Burnie Purple */
    color: #F4F4F9 !important; /* Soft White */
    border: none !important; /* Removes gold/black outlines */
    font-size: 15px; /* Balanced size for mobile */
    font-weight: 600;
    cursor: pointer;
    border-radius: 12px;
    padding: 12px 10px;
    transition: all 0.3s ease;
    width: 100%;
    height: 55px; /* Improved touch target for phone users */
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* Hover & Active States */
button:hover, 
.button-item button:hover {
    background-color: #F4F4F9 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    color: #8E44AD !important;
    border: 2px solid #8E44AD !important;
}

button:active, 
.button-item button:active {
    transform: translateY(0px);
    border: 2px solid #8E44AD !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Registration Specific Buttons (Keeping the Pink highlight) */
.register-button {
    display: block;
    background-color: #25283D;
    color: #D980A9 !important;
    text-align: center;
    padding: 18px;
    border-radius: 15px;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #D980A9 !important;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(217, 128, 169, 0.2);
}

.register-button:hover {
    background-color: #D980A9 !important;
    color: #1A1C2C !important;
    transform: scale(1.02);
}

/* Register image adjustment */
.register-image {
    max-width: 100%; /* Ensure the image fits the container */
    height: auto; /* Maintain aspect ratio */
    display: block;
    margin: 0 auto; /* Center the image */
}

/* Registration button container */
.registration-buttons {
    display: flex;
    flex-direction: column; /* Stack the buttons vertically */
    gap: 15px; /* Space between buttons */
    margin-top: 20px;
}

/* Updated Register buttons - Modern & Inviting */
.register-button {
    display: block;
    background-color: #25283D; /* Deep charcoal/navy for a premium "card" look */
    color: #D980A9; /* Eucalyptus Pink from the logo flowers */
    text-align: center;
    padding: 18px; /* Slightly chunkier for better thumb-tapping */
    border-radius: 15px; /* Softer, modern curves */
    font-size: 22px; /* Slightly smaller than 25px to look more professional/balanced */
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #D980A9; /* Pink border to draw the eye */
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(217, 128, 169, 0.2); /* Soft pink glow */
}

.register-button:hover {
    background-color: #D980A9; /* Fills with pink on hover/tap */
    color: #1A1C2C; /* Contrast text against the pink */
    border-color: #D980A9;
    transform: scale(1.02); /* Subtle grow effect to show it's "alive" */
}

/* Style for the install banner */
#install-banner {
    display: none; /* Initially hidden */
    background-color: rgba(0, 0, 0, 0.7); /* Black with 70% opacity */
    color: white;
    padding: 10px;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000;
    left: 50%;
    transform: translateX(-50%); /* Center the banner horizontally */
}

/* Flexbox container for the buttons */
#install-banner p {
    margin-bottom: 10px; /* Space between the text and buttons */
}

#install-banner button {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    margin: 5px;
    border-radius: 5px;
}

/* Flexbox layout for aligning buttons */
#install-banner div {
    display: flex;
    justify-content: center; /* Align buttons horizontally */
    gap: 10px; /* Space between buttons */
}


.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #8E44AD; /* Gold background */
    padding: 10px 0;
    text-align: center;
}

.bottom-nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around; /* Space out the items */
}

.bottom-nav ul li {
    display: inline-block;
}

.bottom-nav ul li a {
    color: #F4F4F9; /* Black text */
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 15px;
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition */
    display: flex;
    align-items: center;
}

.bottom-nav ul li a i {
    margin-right: 8px; /* Space between icon and text */
}

.bottom-nav ul li a:hover {
    background-color: #8228e7; /* Slightly lighter gold for hover */
    color: white; /* Maintain black text */
    border-radius: 4px;
}

/* Responsive Design Adjustments */
@media (max-width: 600px) {
    .button-container {
        gap: 10px; /* Maintain space between buttons */
        justify-content: center; /* Center the buttons */
        width: 100%; /* Ensure container takes up full width */
    }

    button {
        width: 100%; /* Ensure button takes full width of container */
        max-width: 250px; /* Keep the max width for mobile */
        height: 50px; /* Maintain consistent height */
        font-size: 16px; /* Adjust font size for better fit */
    }

    .registration-buttons {
        gap: 10px; /* Adjust the gap between registration buttons */
    }

    .register-button {
        padding: 12px;
        font-size: 16px;
    }
}

/* Styling specific to the 'More' page buttons */
.more-button-container {
    display: grid; /* Use CSS Grid for layout */
    grid-template-columns: repeat(2, 1fr); /* Create 2 equal-width columns */
    gap: 10px; /* Reduced horizontal and vertical space between buttons */
    margin-top: 20px; /* Space above the button grid */
    justify-items: center; /* Center buttons horizontally */
    padding: 0 2px; /* Padding to avoid buttons touching edges */
    max-width: 100%; /* Limit the width of the container */
}

/* Styling for each button in the 'More' section */
.more-button-container button {
    background-color: black; /* Black background */
    color: #cbb643; /* Gold text color */
    border: 2px solid #cbb643; /* Gold border */
    font-size: 16px; /* Font size for readability */
    cursor: pointer; /* Pointer on hover */
    border-radius: 8px; /* Rounded corners */
    display: flex; /* Flexbox for centering text */
    align-items: center; /* Vertically center text */
    justify-content: center; /* Horizontally center text */
    box-sizing: border-box; /* Include padding and border in width */
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; /* Smooth transitions */
    text-align: center; /* Ensure text is centered */
    word-wrap: break-word; /* Prevent long words from overflowing */
    height: 60px; /* Fixed height */
    width: 100%; /* Buttons take the full grid cell width */
    text-decoration: none; /* Remove underline */
}

/* Hover effect for the 'More' buttons */
.more-button-container button:hover {
    background-color: #cbb643; /* Gold background on hover */
    color: black; /* Black text on hover */
    border-color: #cbb643; /* Maintain gold border */
}

/* Icon styling for buttons */
.more-button-container button i {
    margin-right: 8px; /* Space between icon and text */
}

/* Ensure 2x2 layout on all screen sizes */
@media (max-width: 780px) {
    .more-button-container {
        gap: 10px; /* Maintain small space between buttons */
        justify-content: center; /* Center the buttons */
    }
    .more-button-container button {
        width: 100%; /* Buttons take full width of the grid cell */
        height: 50px; /* Maintain consistent height */
        font-size: 16px; /* Adjust font size for better fit */
    }
}


/* Convention Information Section */
#convention_info-container {
    background-color: #fff;
    padding: 20px;
    margin: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.convention_info-content {
    font-size: 16px;
    color: #555;
}

.convention-title {
    font-weight: bold;
    color: #333;
    margin-top: 10px;
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Stack buttons vertically on smaller screens */
    .more-button-container {
        flex-direction: column;
        align-items: center;
    }

    .more-button-item {
        margin-bottom: 10px;
        width: 80%;
    }

    button {
        width: 100%;
    }

    #convention_info-container {
        margin: 10px;
        padding: 15px;
    }

    .convention-info-content {
        font-size: 14px;
    }
}

/* Accommodation Page Specific Styles */
.accommodation-section {
    margin-bottom: 40px; /* Matches other sections */
    background-color: #fff; /* White background for accommodation */
    padding: 20px;
    border-radius: 8px; /* Rounded corners for a polished look */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.accommodation-title {
    font-weight: bold;
    color: black;
    font-size: 18px; /* Slightly larger title size */
    margin-bottom: 10px;
}

.accommodation-content {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.accommodation-details {
    margin-top: 10px;
    font-style: italic;
}

.accommodation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid layout */
    gap: 20px;
    margin-top: 20px;
}

.accommodation-card {
    background-color: #f9f9f9; /* Light background for cards */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.accommodation-card:hover {
    transform: translateY(-5px); /* Subtle lift effect on hover */
}

.accommodation-card img {
    width: 100%;
    height: auto;
}

.accommodation-card-content {
    padding: 15px;
}

.accommodation-card-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.accommodation-card-text {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

.accommodation-card-price {
    font-size: 16px;
    font-weight: bold;
    color: #cbb643; /* Highlight pricing in gold */
}

/* Button styling reused */
.accommodation-button {
    margin-top: 10px;
    width: 100%; /* Full width of card */
    font-size: 14px;
    padding: 10px 15px;
    background-color: black;
    color: #cbb643;
    border: 2px solid #cbb643;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.accommodation-button:hover {
    background-color: #cbb643;
    color: black;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .accommodation-grid {
        grid-template-columns: 1fr; /* Single column for smaller screens */
    }

    .accommodation-card-title {
        font-size: 14px; /* Adjust font size for smaller screens */
    }

    .accommodation-card-text {
        font-size: 13px;
    }

    .accommodation-button {
        font-size: 12px;
        padding: 8px 12px;
    }
}


/* Timetable day styling */
.timetable-day {
    display: none; /* Hide all days by default */
    margin-top: 20px;
}

.timetable-day h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table td {
    padding: 10px;
    border: 1px solid #ddd;
}

table td:nth-child(1) {
    width: 110px;
    font-weight: bold;
}

table td:nth-child(2) {
    font-style: italic;
}

button {
    background-color: black;
    color: #cbb643;
    border: 2px solid #cbb643;
    font-size: 16px;
    cursor: pointer;
    border-radius: 8px;
    padding: 12px 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
    width: 100%;
    height: 70px;
}

button:hover {
    background-color: #cbb643;
    color: black;
}

.button-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    margin: 20px 0;
}

/* Style for the X icon button */
.remove-btn {
    background: none;
    border: none;
    color: #ff4d4d; /* Red color */
    font-size: 1rem;
    cursor: pointer;
    padding: 5px;
}

.remove-btn:hover {
    color: #ff1a1a; /* Darker red on hover */
}

.remove-btn i {
    font-size: 1rem; /* Icon size */
}

/* Things to Do Page Styling */
.things-to-do-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
}

.things-to-do-container h2 {
    font-size: 24px;
    color: black;
}

.things-to-do-item {
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.things-to-do-item h3 {
    font-size: 18px;
    color: #333;
}

.things-to-do-item p {
    font-size: 14px;
    color: #555;
}

/* Action Buttons Container for Manual Install & Enable Notifications */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px auto;
    max-width: 600px;
  }
  
  /* Styling for the action buttons */
  .action-buttons button {
    background-color: black;
    color: #cbb643;
    border: 2px solid #cbb643;
    font-size: 16px;
    cursor: pointer;
    border-radius: 8px;
    padding: 12px 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
    flex: 1;
  }
  
  .action-buttons button:hover {
    background-color: #cbb643;
    color: black;
  }
  
  /* Ensure the main content has extra margin-bottom so that the bottom nav doesn't overlap */
  main {
    margin-bottom: 80px;
  }
  
  /* Style for the instructions above the action buttons */
#action-instructions {
    text-align: center;
    font-size: 14px; /* Slightly smaller for a cleaner app look */
    color: #F4F4F9; /* Soft White - Now you can see it! */
    margin: 20px auto;
    max-width: 600px;
    padding: 15px;
    line-height: 1.5;
    background-color: rgba(255, 255, 255, 0.05); /* Subtle 'glass' box */
    border-radius: 12px;
    opacity: 0.9;
}
  
  /* (Existing .action-buttons styling remains unchanged) */
  .action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px auto;
    max-width: 600px;
  }
  
  .guest-instructors p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
  }
  .guest-instructors a {
    color: #007BFF;
    text-decoration: underline;
  }
  
  .section-break {
    margin: 30px 0; /* Adjust spacing as needed */
  }

  .news-badge {
    background-color: red;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 6px;
    margin-left: 8px;
    border-radius: 12px;
    vertical-align: middle;
    animation: pulse 1s infinite alternate;
  }
  
  @keyframes pulse {
    from { opacity: 1; }
    to { opacity: 0.5; }
  }
  
  .news-item {
    background-color: #fff;
    padding: 1em;
    margin: 1em;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  }
  .news-item h3 {
    margin: 0 0 0.5em;
  }
  .news-item small {
    color: #888;
    font-size: 0.85em;
  }
  .routine-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1em;
}

.routine-table th, .routine-table td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: left;
}

.routine-table th {
    background-color: #f4f4f4;
    font-weight: bold;
}

/* Styling for all links in the Venue details (Maps and PDF) */
#venue-details p a {
    color: #D980A9; /* Burnie Pink */
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(217, 128, 169, 0.3); /* Subtle underline */
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 5px;
}

#venue-details p a:hover {
    color: #F4F4F9; /* Soft White on hover */
    border-bottom-color: #F4F4F9;
    transform: translateY(-1px); /* Tiny lift effect */
}

/* Styling for Hotel URLs in the Accommodation list */
.hotel-list .hotel a {
    color: #D980A9; /* Burnie Pink */
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(217, 128, 169, 0.3);
    transition: all 0.3s ease;
    word-break: break-all; /* Prevents long URLs from breaking the layout on small screens */
}

.hotel-list .hotel a:hover {
    color: #F4F4F9; /* Soft White */
    border-bottom-color: #F4F4F9;
    transform: translateX(5px); /* Subtle slide effect when hovered */
}

/* Optional: Make the Hotel Names (h3) pop against the dark background */
.hotel-list .hotel h3 {
    color: #F4F4F9;
    margin-top: 10px;
}

/* Guest Instructor Profile Styling */
.guest-profile-card {
    background-color: #25283D; /* Match your premium button dark navy */
    padding: 25px;
    border-radius: 20px;
    border: 1px solid rgba(217, 128, 169, 0.2); /* Subtle pink border */
    margin-top: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.guest-photo-container {
    text-align: center;
    margin-bottom: 25px;
}

.guest-photo {
    width: 100%;
    max-width: 100%; /* Try 200px for a more balanced "profile" look */
    height: auto;
    border-radius: 15px;
    border: 3px solid #D980A9;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    display: block;    /* Helps with centering */
    margin: 0 auto;    /* Centers the photo horizontally */
}

.guest-instructors h2 {
    color: #D980A9; /* Pink for the name */
    font-size: 28px;
    margin-bottom: 5px;
    text-align: center;
}

.instructor-subtitle {
    display: block;
    text-align: center;
    color: #ffffff; /* Swapped to pure white */
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.1rem;
    /* Removed opacity: 0.9 - this makes it look grey on mobile! */
}

.guest-instructors p {
    color: #ffffff; /* Swapped to pure white */
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 16px;
    -webkit-font-smoothing: antialiased; /* Keeps it sharp on iPhone */
}

.highlight-box {
    background: rgba(142, 68, 173, 0.25); /* Slightly higher visibility */
    border-left: 4px solid #8E44AD;
    padding: 15px;
    margin: 20px 0;
    border-radius: 0 10px 10px 0;
    color: #ffffff; /* Ensures text inside the box is also bright */
}

/* Container styling */
.news-section {
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
  font-family: sans-serif;
}

/* The Card */
.news-card {
  background: #ffffff;
  border-radius: 15px;
  padding: 25px;
  margin-top: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  color: #333; /* Dark text for readability on white card */
}

.news-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.icon-circle {
  background: #6a1b9a; /* Nice purple to match the logo */
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.news-header h2 {
  margin: 0;
  font-size: 1.3rem;
  color: #1a1a1a;
}

.date {
  font-size: 0.85rem;
  color: #666;
  margin: 4px 0 0 0;
}

.news-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 20px;
}

/* Buttons and Links */
.card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}

.download-btn {
  background: #0056b3;
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s;
}

.download-btn:hover {
  transform: translateY(-2px);
  background: #004494;
}

.external-link {
  color: #0056b3;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.external-link:hover {
  text-decoration: underline;
}

/* Container for the grid of cards */
.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Individual Location Card */
.location-card {
    background-color: #25283D; /* Match your dark navy */
    border-radius: 15px;
    border: 1px solid rgba(217, 128, 169, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.2s ease;
}

.location-card:active {
    transform: scale(0.98); /* Slight squish when tapped on mobile */
}

.location-card-content {
    padding: 20px;
    flex-grow: 1;
}

.location-card h3 {
    color: #D980A9; /* Burnie Pink */
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.location-card p {
    color: #ffffff !important;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.location-tag {
    display: inline-block;
    background: rgba(142, 68, 173, 0.3);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}