/* Mobile-First Wedding Website Styles */

:root {
    --primary-color: #008B8B;
    --secondary-color: #006060;
    --accent-color: #E0F7F7;
    --text-dark: #2c2c2c;
    --text-light: #6c757d;
    --white: #ffffff;
    --light-gray: #f8f9fa;

    /* Bootstrap overrides */
    --bs-primary: var(--primary-color);
    --bs-primary-rgb: 0, 139, 139;
    --bs-link-color: var(--primary-color);
    --bs-link-hover-color: var(--secondary-color);
}

/* Base Styles - Mobile First */
body {
    font-family: "Lato", sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    padding: 0;
    margin: 0;
    font-size: 16px;
}

/* Bootstrap Utility Overrides */
.text-primary,
a.text-primary,
.link-primary {
    color: var(--primary-color) !important;
    transition: color 0.3s ease;
}

.text-primary:hover,
a.text-primary:hover,
.link-primary:hover {
    color: var(--secondary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
    color: var(--white) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.badge {
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 0.35rem 0.85rem;
    font-size: 0.75rem;
}

.badge.bg-primary {
    background: linear-gradient(135deg, #009C9C 0%, #006C6C 100%) !important;
    color: var(--white) !important;
    box-shadow: 0 10px 20px rgba(0, 139, 139, 0.25);
}

.badge.bg-secondary {
    background: rgba(0, 96, 96, 0.95) !important;
    color: var(--white) !important;
    box-shadow: 0 8px 18px rgba(0, 96, 96, 0.3);
}

.badge.bg-info {
    background: rgba(0, 139, 139, 0.15) !important;
    color: var(--secondary-color) !important;
    border: 1px solid rgba(0, 139, 139, 0.25);
}

.badge.bg-success {
    background: linear-gradient(135deg, #00B7B7 0%, #008282 100%) !important;
    color: var(--white) !important;
    box-shadow: 0 6px 16px rgba(0, 130, 130, 0.25);
}

.badge.bg-warning {
    background: #FFE4B5 !important;
    color: var(--secondary-color) !important;
    border: 1px solid rgba(0, 139, 139, 0.2);
}

/* Alternating section backgrounds */
section:nth-child(odd) {
    background-color: var(--accent-color);
}

section:nth-child(even) {
    background-color: var(--light-gray);
}

/* Typography */
.wedding-names {
    font-family: "Lovely Script", "Playfair Display", serif;
    font-weight: 300;
    font-size: 3rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.wedding-date-text {
    font-family: "Playfair Display", serif;
    font-weight: 400;
    font-size: 1.8rem;
    color: var(--accent-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.section-title-small {
    font-family: "Playfair Display", serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    position: relative;
}

.section-title-small::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("/static/img/andrea_y_josillo_3.jpeg") center/cover no-repeat;
    opacity: 0.45;
    filter: brightness(0.9);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.45) 60%,
        rgba(0, 0, 0, 0.35) 100%
    );
    z-index: 2;
}

.hero-section .container {
    z-index: 3;
}

/* Couple Image Section */
.couple-image-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.couple-image-placeholder {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: var(--light-gray);
    border: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.couple-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Our Story Section */
.our-story {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 1rem;
}

.story-text {
    text-align: center;
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* Ceremony Section */
.ceremony-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ceremony-card-image {
    width: 100%;
    height: 200px;
    background-image: url("/static/img/finca.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.ceremony-card-content {
    padding: 2rem 1.5rem;
    background: var(--white);
    flex: 1;
}

.ceremony-icon {
    margin-bottom: 1rem;
}

.ceremony-info {
    text-align: center;
    max-width: 350px;
    margin: 0 auto;
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.info-item:last-child {
    border-bottom: none;
    justify-content: center;
}

.info-item i {
    width: 20px;
    text-align: center;
}

/* Location link styling */
.location-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.location-link:hover {
    color: var(--secondary-color);
    text-decoration: none;
    border-bottom: 1px solid var(--secondary-color);
}

.location-link i {
    font-size: 0.8em;
    opacity: 0.7;
}

/* Bus Information Styles */
.bus-info-section {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.bus-announcement {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.btn-link.bus-toggle {
    background: none;
    border: none;
    color: var(--primary-color);
    padding: 0.25rem 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-link.bus-toggle:hover {
    background-color: rgba(0, 139, 139, 0.1);
    transform: scale(1.1);
}

.btn-link.bus-toggle:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Hotel Styles */
.hotel-details-container {
    margin-top: 2rem;
}

.hotel-item {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 139, 139, 0.2);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.hotel-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.hotel-info h5 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

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

.hotel-features {
    margin-top: 0.75rem;
}

.hotel-feature {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--secondary-color);
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.25rem;
}

/* Hotel Tips Styling */
#hotels .alert {
    background-color: var(--white);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

#hotels .alert-info {
    border-left: 4px solid var(--primary-color);
    background-color: rgba(0, 139, 139, 0.05);
}

#hotels .alert-light {
    border-left: 4px solid var(--secondary-color);
    background-color: var(--white);
}

.bus-details {
    margin-top: 1rem;
    padding: 1rem;
    background-color: rgba(0, 139, 139, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.bus-route {
    padding: 0.75rem 0;
}

.bus-route:not(:last-child) {
    border-bottom: 1px solid rgba(0, 139, 139, 0.2);
}

.route-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.route-details {
    text-align: center;
    font-size: 0.9rem;
}

.route-details p {
    margin-bottom: 0.25rem;
}

.bus-note {
    text-align: center;
    padding: 0.75rem;
    background-color: rgba(0, 139, 139, 0.08);
    border-radius: 6px;
}

/* RSVP Section */
.rsvp-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
}

.rsvp-card-content {
    padding: 2rem 1.5rem;
}

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

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: block;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 139, 139, 0.25);
}

.form-check-container {
    text-align: center;
}

.form-check-container fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

.form-check-container legend {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: block;
    width: 100%;
    font-size: 1rem;
    border: none;
    padding: 0;
}

.form-check-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-check-input {
    margin: 0;
}

.form-check-label {
    margin: 0;
    font-weight: normal;
    color: var(--text-dark);
}

.rsvp-submit-btn {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.rsvp-submit-btn:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.rsvp-message .alert {
    border-radius: 10px;
    border: none;
    font-weight: 500;
}

/* Sections */
section {
    padding: 3rem 0;
}

.bg-light {
    background-color: var(--accent-color) !important;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    margin-top: 2rem;
    background: none;
    border: none;
    padding: 10px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

/* Override fade-in for scroll indicator to prevent position conflicts */
.scroll-indicator.fade-in {
    opacity: 0;
    transform: translateX(-50%) translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    animation: none; /* Disable bounce during fade-in */
}

.scroll-indicator.fade-in.animate-fade-in {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    animation: bounce 2s infinite; /* Re-enable bounce after fade-in */
}

.scroll-indicator:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(-50%) scale(1.1);
}

.scroll-indicator:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.animate-fade-in {
    opacity: 1;
    transform: translateY(0);
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Additional Content */
.additional-content {
    padding: 2rem 1rem;
    color: var(--text-light);
}

/* Footer */
footer {
    background-color: var(--text-dark) !important;
    font-size: 0.9rem;
}

/* Tablet Styles */
@media (min-width: 768px) {
    .wedding-names {
        font-size: 4rem;
    }

    .wedding-date-text {
        font-size: 2.2rem;
    }

    .couple-image-placeholder,
    .couple-image {
        width: 300px;
        height: 300px;
    }

    .ceremony-card {
        padding: 0;
    }

    .ceremony-card-image {
        height: 240px;
    }

    .ceremony-card-content {
        padding: 3rem 2rem;
    }

    .rsvp-card-content {
        padding: 3rem 2rem;
    }

    section {
        padding: 4rem 0;
    }
}

/* Desktop Styles */
@media (min-width: 992px) {
    .wedding-names {
        font-size: 5rem;
    }

    .wedding-date-text {
        font-size: 2.5rem;
    }

    .couple-image-placeholder,
    .couple-image {
        width: 350px;
        height: 350px;
    }

    .ceremony-card-image {
        height: 280px;
    }

    section {
        padding: 5rem 0;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Places Preview Section */
.places-preview-card {
    background: var(--white);
    border: 2px solid rgba(0, 139, 139, 0.2);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn-secondary {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.places-preview-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.preview-item {
    text-align: center;
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.preview-item:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-3px);
}

.preview-item h6 {
    color: #2c3e50;
    font-weight: 600;
    margin: 0.5rem 0 0.25rem 0;
}

.preview-item .text-muted {
    font-size: 0.85rem;
}

/* Places of Interest Section */
.place-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 139, 139, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.place-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.place-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    margin-bottom: 1rem;
}

.place-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.place-content {
    padding: 0 2rem 2rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.place-icon {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 0 2rem;
}

.place-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
    background: var(--accent-color);
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.place-card:hover .place-icon i {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.place-content h5 {
    font-family: "Playfair Display", serif;
    color: var(--secondary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.place-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.place-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: auto;
}

.place-tags .badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    font-weight: 500;
    border-radius: 20px;
}

.bg-purple {
    background-color: #6f42c1 !important;
}

/* Places of Interest Section - Accordion Style */
#places .accordion {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 139, 139, 0.2);
}

#places .accordion-item {
    border: none;
    background: transparent;
}

#places .accordion-button {
    background: var(--white);
    border: none;
    padding: 1.5rem 2rem;
    font-family: "Playfair Display", serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    box-shadow: none;
    transition: all 0.3s ease;
}

#places .accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: none;
}

#places .accordion-button:hover {
    background: var(--accent-color);
    color: var(--secondary-color);
}

#places .accordion-button:not(.collapsed):hover {
    background: var(--secondary-color);
    color: var(--white);
}

#places .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 139, 139, 0.25);
    border: none;
}

#places .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23008B8B'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
}

#places .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-180deg);
}

#places .accordion-body {
    padding: 2rem;
    background: var(--white);
    border-top: 1px solid rgba(0, 139, 139, 0.1);
}

/* Section titles for places */
#places h4 {
    font-family: "Playfair Display", serif;
    font-weight: 600;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

#places h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: currentColor;
}

/* Info alert styling */
#places .alert-info {
    background-color: rgba(0, 139, 139, 0.1);
    border-color: var(--primary-color);
    border-radius: 15px;
    padding: 1.5rem;
}

#places .alert-info .alert-heading {
    color: var(--secondary-color);
    font-family: "Playfair Display", serif;
}

#places .alert-info i {
    color: var(--primary-color);
}

/* Wardrobe Tips Section */
.wardrobe-tips-card {
    background: linear-gradient(135deg, rgba(0, 96, 96, 0.95), rgba(0, 139, 139, 0.92));
    border-radius: 24px;
    padding: 2rem;
    color: var(--white);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.wardrobe-tips-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.25), transparent 55%);
    opacity: 0.6;
    pointer-events: none;
}

.wardrobe-tips-card > * {
    position: relative;
    z-index: 1;
}

.tips-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.tips-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.18);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
}

.tips-title {
    color: var(--white);
    font-weight: 700;
}

.tips-subtitle {
    color: rgba(255, 255, 255, 0.9);
    max-width: 520px;
    margin: 0 auto;
}

.tips-header-icon {
    width: 80px;
    height: 80px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.tips-items {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.tip-item {
    background: var(--white);
    border-radius: 18px;
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.tip-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(0, 139, 139, 0.08);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.tip-item h6 {
    margin-bottom: 0.35rem;
    color: var(--secondary-color);
}

.tip-item p {
    font-size: 0.92rem;
    color: var(--text-dark);
}

.tips-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .tips-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .wardrobe-tips-card {
        padding: 1.5rem;
    }

    .tip-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .tips-header {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .tips-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Responsive adjustments for places section */
@media (max-width: 768px) {
    .place-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .place-icon i {
        font-size: 2rem;
        width: 60px;
        height: 60px;
    }

    .place-content h5 {
        font-size: 1.2rem;
    }

    .place-tags {
        justify-content: center;
    }

    #places .alert-info {
        padding: 1rem;
    }

    #places .alert-info .fa-2x {
        font-size: 1.5rem !important;
    }

    /* Accordion responsive adjustments */
    #places .accordion-button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    #places .accordion-body {
        padding: 1.5rem;
    }
}

/* Places Page Specific Styles */
.places-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
}

.places-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.places-header .container {
    position: relative;
    z-index: 2;
}

.place-distance {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 0.5rem;
    margin-top: auto;
}

/* Animation for place cards */
.animate-fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Game Section Styles */
#game-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.game-card {
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 139, 139, 0.2) !important;
}

.game-card .btn {
    margin-top: auto;
}

.game-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1rem;
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    border: 1px dashed rgba(0, 139, 139, 0.4);
    background: rgba(0, 139, 139, 0.08);
}

.game-meta {
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.game-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 160px;
    margin: 0 auto 1.5rem auto;
    border-radius: 50%;
}

.game-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 139, 139, 0.35), transparent 65%);
    filter: blur(4px);
    animation: pulseGlow 5s ease-in-out infinite;
}

.game-icon::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    opacity: 0.6;
    animation: orbit 8s linear infinite;
}

.game-illustration-frame {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border-radius: 32px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 25px 45px rgba(12, 25, 42, 0.35);
    overflow: hidden;
}

.game-illustration-frame::before {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(14, 17, 22, 0.9), rgba(73, 176, 204, 0.5));
    filter: blur(18px);
    opacity: 0.7;
    z-index: 0;
}

.game-illustration-frame::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 24px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.game-illustration-glow {
    position: absolute;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(255, 211, 107, 0.4), transparent 65%);
    filter: blur(30px);
    animation: pulseGlow 6s ease-in-out infinite;
    z-index: 0;
}

.game-illustration-img {
    position: relative;
    width: 100%;
    max-width: 260px;
    z-index: 1;
    border-radius: 24px;
    box-shadow: 0 25px 40px rgba(5, 6, 8, 0.45);
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.4;
        transform: scale(0.95);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.05);
    }
}

@keyframes orbit {
    0% {
        transform: rotate(0deg) translateX(0);
        opacity: 0.2;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        transform: rotate(360deg) translateX(0);
        opacity: 0.2;
    }
}

.game-features {
    background: rgba(0, 139, 139, 0.1);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: 1px solid transparent;
    color: var(--white);
    transition: all 0.3s ease;
    box-shadow: 0 12px 30px rgba(0, 139, 139, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(0, 139, 139, 0.35);
}

.btn-primary:focus,
.btn-primary:focus-visible {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(0, 139, 139, 0.35);
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid rgba(0, 139, 139, 0.4);
    background: transparent;
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: rgba(0, 139, 139, 0.1);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:focus,
.btn-outline-primary:focus-visible {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(0, 139, 139, 0.25);
}

/* Responsive adjustments for game section */
@media (max-width: 768px) {
    .game-icon {
        font-size: 2.5rem;
    }
    
    .game-card {
        margin: 0 1rem;
    }
}
