/* ==========================================
   ForTenants Page Styles
   ========================================== */

/* Hero Section */
.tenants-hero {
    background-color: #F4971E;
    background-image: url('https://cdn.rentyournest.com/images/tenants/ryn-for-tenants-1.svg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 6rem 2rem 4rem;
    min-height: 500px;
}

.tenants-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    max-width: 580px;
}

.hero-kicker {
    display: inline-block;
    background: rgba(255, 255, 255, 0.85);
    color: #485263;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.tenants-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.tenants-hero-trust li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.85);
    color: #485263;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.tenants-hero-trust li::before {
    content: "\2713";
    font-weight: 700;
    color: #F4971E;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.hero-title br {
    display: block;
}

.hero-title .light {
    font-weight: 400;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    color: #485263;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    max-height: 450px;
}

/* Explore Section */
.tenants-explore {
    background: #ffffff;
    padding: 4rem 2rem;
    text-align: center;
}

.explore-content {
    max-width: 800px;
    margin: 0 auto;
}

.explore-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #F4971E;
    margin-bottom: 1.5rem;
}

.explore-content p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #485263;
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-block;
    background: #F4971E;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #1a1a1a;
    color: #fff;
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: #485263;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 1px solid #d0d4da;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: #485263;
    color: #1a1a1a;
}

.explore-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Main Content with Side Navigation */
.tenants-main {
    padding: 4rem 2rem;
    background: #FFF9F2;
}

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 4rem;
}

/* Side Navigation */
.side-nav {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.side-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-nav li {
    margin-bottom: 1rem;
}

.side-nav a {
    display: block;
    padding: 0.75rem 1rem;
    color: #485263;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border-left: 3px solid rgba(244, 151, 30, 0.3);
    transition: all 0.3s ease;
}

.side-nav a:hover,
.side-nav a.active {
    color: #F4971E;
    border-left-color: #F4971E;
    background: transparent;
}

/* Content Sections */
.main-content {
    max-width: 900px;
}

.content-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 3rem 0;
}

.content-section.reverse {
    direction: rtl;
}

.content-section.reverse > * {
    direction: ltr;
}

.section-text h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.section-text .accent {
    color: #F4971E;
}

.badge-coming {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 4px 12px;
    background: rgba(244, 151, 30, 0.92);
    color: #ffffff;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.section-text .sign-note {
    font-size: 0.875rem;
    color: #8a8f99;
    font-style: italic;
    margin-top: -0.5rem;
}

.section-text h5 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #F4971E;
    margin-bottom: 1rem;
}

.section-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 1.5rem;
}

.section-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.section-image img {
    width: 100%;
    height: auto;
    display: block;
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
    margin: 2rem 0;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: #FFF8F0;
    border: 1px solid #F4971E;
    border-radius: 50px;
    color: #1a1a1a;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: default;
    pointer-events: none;
}

.action-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Start Section */
.tenants-start {
    background: linear-gradient(180deg, #1a1a1a 0%, #333 100%);
    padding: 5rem 2rem;
    text-align: center;
}

.start-content {
    max-width: 700px;
    margin: 0 auto;
}

.start-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.start-content p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.start-content .btn-primary {
    background: #F4971E;
    color: #fff;
}

.start-content .btn-primary:hover {
    background: #fff;
    color: #F4971E;
}

/* Why Section Header */
.tenants-why-header {
    background: #FFF8F0;
    padding: 4rem 2rem 2rem;
    text-align: center;
}

.why-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.why-header-content h3 {
    font-size: 1.5rem;
    font-weight: 400;
    color: #666;
    margin-bottom: 0.5rem;
}

.why-header-content h5 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #F4971E;
}

/* Why Cards Section */
.tenants-why-cards {
    background: #FFF8F0;
    padding: 2rem 2rem 5rem;
}

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

.why-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: #FFF4E6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon img {
    width: 32px;
    height: 32px;
}

.why-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.why-card h6 {
    font-size: 1rem;
    font-weight: 600;
    color: #F4971E;
    margin-bottom: 1rem;
}

.why-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #666;
}

.why-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

.why-card ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
    color: #666;
}

.why-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #F4971E;
    font-weight: 700;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .main-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .side-nav {
        display: none;
    }

    .content-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .content-section.reverse {
        direction: ltr;
    }

    .section-image {
        order: -1;
    }

    .why-cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .tenants-hero {
        padding: 4rem 1.5rem 3rem;
    }

    .tenants-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-kicker {
        font-size: 0.75rem;
    }

    .tenants-hero-trust {
        justify-content: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-image img {
        max-height: 300px;
    }

    .tenants-explore {
        padding: 3rem 1.5rem;
    }

    .explore-content h2 {
        font-size: 1.75rem;
    }

    .tenants-main {
        padding: 2rem 1.5rem;
    }

    .section-text h3 {
        font-size: 1.5rem;
    }

    .action-buttons {
        flex-direction: column;
    }

    .action-btn {
        width: 100%;
        justify-content: center;
    }

    .tenants-start {
        padding: 3rem 1.5rem;
    }

    .start-content h2 {
        font-size: 1.75rem;
    }

    .tenants-why-header {
        padding: 3rem 1.5rem 1.5rem;
    }

    .tenants-why-cards {
        padding: 1.5rem 1.5rem 4rem;
    }

    .why-card {
        padding: 1.5rem;
    }

    .sticky-bar-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .sticky-text {
        display: block;
    }

    .sticky-text h3 {
        font-size: 1rem;
    }

    .sticky-text p {
        display: none;
    }
}

/* Sticky Bottom Bar - Fixed at bottom, stops before footer */
.tenants-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 2rem;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.tenants-sticky-bar.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sticky-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.sticky-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #F4971E;
    margin-bottom: 0.25rem;
}

.sticky-text p {
    font-size: 0.875rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.sticky-bar-content .btn-primary {
    background: #F4971E;
    color: #fff;
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.875rem 1.5rem;
}

.sticky-bar-content .btn-primary:hover {
    background: #1a1a1a;
}

@media (max-width: 1024px) {
    .sticky-text p {
        display: none;
    }
}

@media (max-width: 768px) {
    .tenants-sticky-bar {
        padding: 1rem;
    }

    .sticky-bar-content {
        gap: 1rem;
    }

    .sticky-text h3 {
        font-size: 1rem;
    }
}
