/**
 * Star Inn Suites & Retreat - Section-Specific Styles
 *
 * This file contains styles for specific page sections including
 * experiences, about/legacy, why choose us, and app sections.
 */

/* ===== Curated Experiences Section ===== */
.experiences-section {
    position: relative;
    min-height: 550px;
    overflow: hidden;
}

.experiences-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

@media (max-width: 768px) {
    .experiences-bg {
        background-attachment: scroll;
    }
}

.experiences-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 75, 142, 0.9) 0%, rgba(7, 13, 21, 0.85) 50%, rgba(224, 90, 109, 0.3) 100%);
}

.experiences-content {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    padding: 5rem 0;
}

.experiences-text {
    max-width: 600px;
}

.experiences-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(212, 169, 50, 0.3), rgba(212, 169, 50, 0.1));
    border: 1px solid rgba(212, 169, 50, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--gold-400);
    font-size: 1.25rem;
}

.feature-text h4 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.feature-text p {
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
}

/* ===== About/Legacy Section ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

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

.about-image-wrapper {
    position: relative;
}

.about-image {
    position: relative;
    z-index: 10;
}

.about-image img {
    border-radius: 1rem;
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}

.about-frame {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 100%;
    height: 100%;
    border: 3px solid var(--gold-500);
    border-radius: 1rem;
}

.about-badge {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: var(--gradient-gold);
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(212, 169, 50, 0.4);
    z-index: 20;
}

.about-badge-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy-950);
}

.about-badge-text {
    color: var(--navy-950);
    font-size: 0.875rem;
    letter-spacing: 0.1em;
}

.about-text {
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

.luxury-divider {
    height: 2px;
    background: var(--gradient-gold);
    border-radius: 1px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.about-feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 0.5rem;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-950);
    font-size: 0.875rem;
}

.about-feature span {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gold-500);
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: all 0.3s;
    position: relative;
}

.view-all-property {
    position: relative;
}

.view-all-link:hover {
    color: var(--gold-400);
    gap: 1rem;
}

/* ===== Why Choose Us Section ===== */
.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .why-choose-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.why-choose-content .section-label {
    color: var(--brand-blue);
}

.why-choose-content .section-label::before,
.why-choose-content .section-label::after {
    background: var(--brand-blue);
}

.why-choose-content .section-title {
    color: var(--navy-950);
}

.why-choose-intro {
    color: rgba(13, 25, 41, 0.7);
    margin-bottom: 2rem;
}

.why-feature {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.why-feature-img {
    width: 80px;
    height: 60px;
    border-radius: 0.5rem;
    object-fit: cover;
    flex-shrink: 0;
}

.why-feature-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--navy-950);
}

.why-feature-content p {
    font-size: 0.85rem;
    color: rgba(13, 25, 41, 0.7);
    line-height: 1.6;
}

.why-choose-image {
    position: relative;
}

.why-image-main {
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.why-image-badge {
    position: absolute;
    top: -1rem;
    right: -1rem;
    background: var(--brand-teal);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    font-style: italic;
    font-size: 1.2rem;
    transform: rotate(5deg);
}

.why-image-badge span {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    font-style: normal;
}

/* ===== Experience Types Grid ===== */
.experience-types {
    padding: 0;
}

/* ===== App Section ===== */
.app-section {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--navy-900) 50%, var(--brand-coral) 100%);
    position: relative;
    overflow: hidden;
}

.app-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .app-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.app-content {
    /* No specific styles needed, inherits from parent */
}

.app-features {
    margin: 2rem 0;
}

.app-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.app-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-400);
}

.app-feature span {
    font-size: 0.95rem;
}

.app-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: #000;
    color: #fff;
    border-radius: 0.5rem;
    transition: all 0.3s;
}

.app-btn:hover {
    background: #222;
    transform: translateY(-3px);
}

.app-btn i {
    font-size: 1.75rem;
}

.app-btn-text {
    text-align: left;
}

.app-btn-text small {
    display: block;
    font-size: 0.65rem;
    opacity: 0.8;
}

.app-btn-text span {
    font-size: 1rem;
    font-weight: 600;
}

.app-mockup {
    /* Container for app phone mockup */
}

.app-phone {
    max-width: 280px;
    margin: 0 auto;
    filter: drop-shadow(0 30px 50px rgba(0,0,0,0.4));
    animation: float 4s ease-in-out infinite;
    border-radius: 2rem;
}
