/* Placeholder for images */
.img-placeholder {
    background: repeating-linear-gradient(45deg, #ececec 0px, #ececec 16px, #f7f7f7 16px, #f7f7f7 32px);
    border-radius: 16px;
    width: 100%;
    height: 120px;
    display: block;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.shine-image .img-placeholder {
    width: 340px;
    height: 220px;
    margin-bottom: 0;
}
.features-image .img-placeholder {
    width: 320px;
    height: 220px;
    margin-bottom: 0;
}
@media (max-width: 900px) {
    .shine-image .img-placeholder,
    .features-image .img-placeholder {
        width: 100%;
        max-width: 340px;
    }
}
/* Perfil de Usuario */
.profile-section {
    max-width: 900px;
    margin: 40px auto 0 auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 40px 32px 32px 32px;
}
.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 32px;
}
.profile-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 3px solid #ff6b35;
    object-fit: cover;
    margin-bottom: 16px;
}
.profile-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #222;
}
.profile-roles {
    color: #ff6b35;
    font-weight: 500;
    margin-bottom: 4px;
}
.profile-joined {
    color: #888;
    font-size: 1rem;
    margin-bottom: 12px;
}
.edit-profile-btn {
    background: #f5f5f5;
    color: #ff6b35;
    border: none;
    border-radius: 20px;
    padding: 8px 28px;
    font-weight: 500;
    font-size: 1rem;
    margin-top: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: background 0.2s;
}
.edit-profile-btn:hover {
    background: #ffe3d5;
}
.profile-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 32px;
    border-bottom: 1.5px solid #eee;
}
.profile-tab {
    background: none;
    border: none;
    padding: 16px 32px;
    font-weight: 500;
    color: #888;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    font-size: 1.1rem;
    transition: color 0.2s, border 0.2s;
}
.profile-tab.active {
    color: #ff6b35;
    border-bottom: 3px solid #ff6b35;
}
.profile-tab-content {
    display: none;
    padding-top: 18px;
}
.profile-tab-content.active {
    display: block;
}
.dining-history {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 32px;
}
.last-visited {
    font-size: 1.1rem;
    color: #222;
}
.last-visited .muted {
    color: #888;
    font-size: 0.98em;
}
.history-img {
    width: 120px;
    height: 90px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.recent-reviews {
    margin-bottom: 32px;
}
.saved-restaurants {
    display: flex;
    gap: 24px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.saved-card {
    background: #fff8f5;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(255,107,53,0.07);
    padding: 12px 12px 8px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 160px;
    transition: box-shadow 0.2s, transform 0.2s;
}
.saved-card:hover {
    box-shadow: 0 6px 18px rgba(255,107,53,0.13);
    transform: translateY(-3px);
}
.saved-card img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 8px;
}

/* Featured restaurant card logo */
.featured-card .card-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
    padding: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-right: 12px;
    flex-shrink: 0;
}

.featured-card .featured-info {
    display: flex;
    flex-direction: column;
}
.saved-title {
    font-size: 1rem;
    color: #222;
    font-weight: 500;
    text-align: center;
}
@media (max-width: 700px) {
    .profile-section {
        padding: 18px 4vw 18px 4vw;
    }
    .dining-history {
        flex-direction: column;
        gap: 12px;
    }
    .saved-restaurants {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    .saved-card {
        width: 100%;
    }
}
/* Login Modal Styles */
.login-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.login-modal-content {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    padding: 40px 32px 28px 32px;
    min-width: 340px;
    max-width: 90vw;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.login-modal-content h2 {
    color: #ff6b35;
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 18px;
    text-align: center;
}

.login-modal-content label {
    color: #222;
    font-weight: 500;
    margin-top: 12px;
    margin-bottom: 4px;
    font-size: 1rem;
}

.login-modal-content input[type="text"],
.login-modal-content input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #ff6b35;
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 8px;
    background: #fff8f5;
    color: #222;
    transition: border 0.2s;
}
.login-modal-content input[type="text"]:focus,
.login-modal-content input[type="password"]:focus {
    border: 2px solid #e55a2b;
    outline: none;
}

.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #ff6b35;
    font-size: 1.1rem;
}

.remember-row {
    display: flex;
    align-items: center;
    margin: 8px 0 10px 0;
    gap: 7px;
}

.login-submit-btn {
    width: 100%;
    background: #ff6b35;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 0;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
}
.login-submit-btn:hover {
    background: #e55a2b;
    box-shadow: 0 4px 16px rgba(255,107,53,0.13);
}

.forgot-row {
    text-align: right;
    margin-top: 2px;
}
.forgot-link {
    color: #ff6b35;
    font-size: 0.95em;
    text-decoration: none;
    transition: color 0.2s;
}
.forgot-link:hover {
    color: #e55a2b;
}

.close-modal {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 1.5rem;
    color: #ff6b35;
    cursor: pointer;
    font-weight: 700;
    transition: color 0.2s;
}
.close-modal:hover {
    color: #e55a2b;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.highlight {
    color: #ff6b35;
    font-weight: 900;
}

body {
    line-height: 1.6;
    color: #222;
    background-color: #fafafa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation - Home Layout */
.navbar {
    background: #fff7f2;
    box-shadow: none;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1.5px solid #fbe6db;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 32px;
    height: 62px;
}

.logo {
    font-weight: 700;
    font-size: 1.4rem;
    color: #ff6b35;
    letter-spacing: 0.5px;
}
.logo a {
    text-decoration: none;
    color: inherit;
}

.logo-img {
    width: 64px;
    height: 48px;
    border-radius: 8px;
    object-fit: fill;
    margin-right: 8px;
    vertical-align: middle;
}
.logo-text { vertical-align: middle; font-weight:700; color:#ff6b35; }

.nav-location-category {
    display: flex;
    align-items: center;
    gap: 12px;
}
.nav-category {
    background: #ffecd9;
    color: #ff6b35;
    border-radius: 16px;
    padding: 4px 16px;
    font-size: 1rem;
    font-weight: 500;
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.signup-btn {
    background: #ff6b35;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 8px 22px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}
.signup-btn:hover {
    background: #e55a2b;
}
.login-btn {
    background: #fff;
    color: #ff6b35;
    border: none;
    border-radius: 20px;
    padding: 8px 22px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}
.login-btn:hover {
    background: #ffe3d5;
}

/* Hero Home Section */
.hero-home {
    background: #F88623;
    padding: 0 0 0 0;
    display: block;
    min-height: 420px;
}
.hero-home-content {
    text-align: center;
    color: #fff;
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 0 40px 0;
}
.hero-home-content h1 {
    font-size: 2.7rem;
    font-weight: 800;
    margin-bottom: 18px;
    line-height: 1.15;
}
.hero-home-content p {
    font-size: 1.15rem;
    margin-bottom: 32px;
    opacity: 0.95;
}
.hero-search-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 30px;
    padding: 8px 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    max-width: 400px;
    margin: 0 auto;
}
.hero-search-bar input {
    border: none;
    background: none;
    outline: none;
    font-size: 1rem;
    padding: 8px 12px;
    flex: 1;
}
.hero-search-btn {
    background: #ff6b35;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 8px 22px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    margin-left: 8px;
    transition: background 0.2s;
}
.hero-search-btn:hover {
    background: #e55a2b;
}

/* Shine Section */
.shine-section {
    background: #F1F2F2;
    padding: 48px 0 32px 0;
}

/* Hero split layout */
.hero-split .hero-split-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 48px;

}
.hero-left {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.hero-image {
    width: 520px;
    max-width: 100%;
    object-fit: cover;
}
.hero-right {
    flex: 1;
    color: #fff;
    /* layout children vertically and align to the right edge */
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}
.hero-right h1 {
    font-size: 3rem;
    line-height: 1.05;
    margin: 12px 0px 6px 0;
    font-weight: 800;
}
.hero-lead {
    color: rgba(255,255,255,0.9);
    font-size: 1.15rem;
    max-width: 520px;
    /* push the lead to the right edge so its right aligns with the h1 */
    margin: 0 0 8px auto;
    font-weight: 700;
}
.hero-sub {
    color: rgba(255,255,255,0.95);
    font-size: 1rem;
    margin-bottom: 18px;
}
.hero-cta-btn {
    background: #F77373;
    /* background: #ffecd9; */
    color: #fff;
    border: none;
    padding: 12px 26px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 980px) {
    .hero-split .hero-split-container {
        flex-direction: column-reverse;
        text-align: center;
        padding: 24px;
    }
    .hero-right {
        /* center content on small screens */
        text-align: center;
        align-items: center;
    }
    .hero-image {
        width: 340px;
    }
}
.shine-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
}
.shine-info {
    flex: 1;
    min-width: 260px;
}
.shine-info h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #222;
}
.shine-info p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 18px;
}
.shine-btn {
    background: #222;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 10px 28px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}
.shine-btn:hover {
    background: #ff6b35;
}
.shine-image {
    flex: 1;
    min-width: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.shine-img-real {
    width: 340px;
    max-width: 100%;
    border-radius: 18px;
    box-shadow: 0 6px 40px rgba(0,0,0,0.08);
}

/* Featured Restaurants Section */
.featured-restaurants {
    background: #fff;
    padding: 48px 0 24px 0;
    text-align: center;
}
.featured-restaurants h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 32px;
    color: #222;
}
.featured-grid {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.featured-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    width: 270px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* smaller padding so cards remain compact even with logo */
    padding: 12px 12px 12px 12px;
    transition: box-shadow 0.2s, transform 0.2s;
}
.featured-card:hover {
    box-shadow: 0 8px 24px rgba(255,107,53,0.13);
    transform: translateY(-3px);
}
.featured-card img {
    width: 100%;
    height: 98px; /* reduced to make card less tall */
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 8px;
}

/* make the image wrapper position relative so logo can overlay */
.featured-card .image-wrap {
    position: relative;
    width: 100%;
}

.featured-card .image-wrap {
    overflow: visible; /* allow logo to overflow outside the image area */
    padding-bottom: 20px; /* spacing so logo doesn't overlap text */
}

.featured-info-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 6px;
}

/* agregado */
.card-logo{
    position: absolute;
    left: 0;
}

/* center the title while allowing the logo to sit at the left */
/* .center-title .featured-info-header {
    justify-content: center;
    position: relative;
} 

.center-title .featured-info-header .card-logo {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.center-title .featured-info-header h3 {
    margin: 0;
    text-align: center;
}*/

.featured-card .card-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    padding: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    flex-shrink: 0;
}

@media (max-width: 700px) {
    .featured-card {
        padding: 12px 12px 12px 12px;
    }
    .featured-card .card-logo {
        width: 40px;
        height: 40px;
        padding: 4px;
    }
    .featured-card img {
        height: 90px;
    }
}
.featured-info h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 4px;
}
.featured-type {
    color: #ff6b35;
    font-size: 0.98em;
    font-weight: 500;
    margin-bottom: 2px;
    display: block;
}
.featured-rating {
    color: #222;
    font-size: 0.97em;
    margin-bottom: 6px;
}
.featured-info p {
    color: #666;
    font-size: 0.98em;
    margin-bottom: 0;
    /* clamp description to 3 lines to avoid very tall cards */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.featured-more {
    margin-top: 8px;
}
.featured-more-btn {
    background: #ff6b35;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 8px 28px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}
.featured-more-btn:hover {
    background: #e55a2b;
}

/* Features Section */
.features-section {
    background: #fff;
    padding: 48px 0 32px 0;
}
.features-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}
.features-image {
    flex: 1;
    min-width: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.features-img-real {
    width: 320px;
    max-width: 100%;
    border-radius: 18px;
    box-shadow: 0 6px 40px rgba(0,0,0,0.08);
}
.features-list {
    flex: 1;
    min-width: 260px;
}
.features-list h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: #222;
}
.features-list ul {
    list-style: none;
    padding: 0;
}
.features-list li {
    font-size: 1.08rem;
    color: #222;
    margin-bottom: 18px;
    background: #fff;
    border-radius: 12px;
    padding: 14px 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.features-list strong {
    color: #ff6b35;
}

/* Testimonials Section */
.testimonials-section {
    background: #F1F2F2;
    padding: 48px 0 32px 0;
    text-align: center;
}
.testimonials-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 32px;
    color: #222;
}
.testimonials-grid {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}
.testimonial-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    width: 320px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 18px 16px 18px;
    transition: box-shadow 0.2s, transform 0.2s;
    margin-bottom: 12px;
}
.testimonial-card:hover {
    box-shadow: 0 8px 24px rgba(255,107,53,0.13);
    transform: translateY(-3px);
}
.testimonial-user {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.testimonial-name {
    font-weight: 700;
    color: #222;
    font-size: 1.05rem;
}
.testimonial-stars {
    color: #ff6b35;
    font-size: 1.1rem;
    font-weight: 700;
}
.testimonial-card p {
    color: #222;
    font-size: 1rem;
    margin-bottom: 8px;
}
.testimonial-role {
    color: #888;
    font-size: 0.95em;
}

/* Footer */
.footer {
    background: #222;
    color: #fff;
    padding: 40px 0 20px;
    text-align: center;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: #ff6b35;
}
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}
.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #222;
    transition: background 0.3s;
}
.social-links a:hover {
    background: #ff6b35;
    color: #fff;
}
.copyright {
    color: #fff;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 900px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
        gap: 10px;
    }
    .shine-container, .features-container {
        flex-direction: column;
        gap: 24px;
        align-items: stretch;
    }
    .featured-grid, .testimonials-grid {
        flex-direction: column;
        gap: 18px;
        align-items: stretch;
    }
    .featured-card, .testimonial-card {
        width: 100%;
    }
    .shine-image img, .features-image img {
        width: 100%;
        max-width: 340px;
    }
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}
.featured-link {
    color: inherit;
    text-decoration: none;
    display: block;
}
.featured-link .featured-info {
    padding-top: 8px;
}