/* Homepage Valuation-First Styles */
/* Melbourne Business Advisors */

/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(135deg, #f4c430 0%, #e6b800 100%);
    color: #2c3e50;
    padding: 12px 20px;
    text-align: center;
    font-weight: 600;
    position: sticky;
    top: 60px;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.announcement-bar p {
    margin: 0;
    font-size: 0.95rem;
}

.announcement-bar a {
    color: #2c3e50;
    text-decoration: underline;
    font-weight: 700;
}

.announcement-bar a:hover {
    color: #1a252f;
}

/* Updated Header - Highlight Valuation */
.nav-menu .valuation-link {
    background: #f4c430;
    color: #2c3e50;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 700;
}

.nav-menu .valuation-link:hover {
    background: #e6b800;
}

/* Hero Section - Valuation Focus */
.valuation-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    padding: 100px 20px 80px;
}

.valuation-hero h1 {
    font-size: 3.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.valuation-hero .hero-subtitle {
    font-size: 1.8rem;
    color: #f4c430;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.valuation-hero .hero-description {
    font-size: 1.2rem;
    color: #ecf0f1;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

/* Hero Stats Inline */
.hero-stats-inline {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
}

.hero-stats-inline .stat {
    text-align: center;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(244, 196, 48, 0.3);
}

.hero-stats-inline .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: #f4c430;
    margin-bottom: 0.5rem;
}

.hero-stats-inline .stat-label {
    display: block;
    font-size: 0.95rem;
    color: #ecf0f1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

/* Value Proposition Section */
.value-prop {
    padding: 80px 20px;
    background: #f8f9fa;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.value-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid #f4c430;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.value-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.value-card h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
}

.value-card p {
    color: #7f8c8d;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.cta-center {
    text-align: center;
    margin-top: 3rem;
}

/* Services Grid - New Design */
.services-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.service-tier {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    border: 2px solid #ecf0f1;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.service-tier:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: #f4c430;
}

.service-tier.featured {
    border: 3px solid #f4c430;
    background: linear-gradient(135deg, #fffbf0 0%, #ffffff 100%);
}

.service-tier.featured::before {
    content: '⭐ MOST POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #f4c430;
    color: #2c3e50;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.tier-badge {
    display: inline-block;
    background: #2c3e50;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.service-tier.featured .tier-badge {
    background: #f4c430;
    color: #2c3e50;
}

.service-tier h3 {
    font-size: 1.6rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
}

.tier-price {
    font-size: 2.5rem;
    font-weight: 900;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.tier-price span {
    font-size: 1rem;
    font-weight: 400;
    color: #7f8c8d;
}

.tier-description {
    color: #7f8c8d;
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.tier-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.tier-features li {
    padding: 0.75rem 0;
    color: #2c3e50;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
}

.tier-features li::before {
    content: '✓';
    color: #27ae60;
    font-weight: 700;
    margin-right: 0.75rem;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.service-tier .btn {
    width: 100%;
    margin-top: 1.5rem;
}

/* Pricing Philosophy */
.pricing-philosophy {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    border-left: 5px solid #f4c430;
    margin-top: 3rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.pricing-philosophy h3 {
    color: #2c3e50;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.pricing-philosophy p {
    color: #7f8c8d;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.pricing-philosophy p:last-child {
    margin-bottom: 0;
}

.pricing-philosophy strong {
    color: #2c3e50;
}

/* Books Grid */
.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.book-card {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 5px solid #f4c430;
    transition: transform 0.3s, box-shadow 0.3s;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.book-card h3 {
    color: #f4c430;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.book-card h3 a {
    color: #f4c430;
    text-decoration: none;
}

.book-card h3 a:hover {
    text-decoration: underline;
}

.book-meta {
    color: #ecf0f1;
    font-style: italic;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.book-card p {
    color: #ecf0f1;
    margin: 0;
    line-height: 1.6;
}

/* Social Proof Section */
.social-proof {
    padding: 60px 20px;
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
}

.proof-stats {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.proof-stat {
    text-align: center;
    padding: 2rem;
}

.proof-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: #f4c430;
    margin-bottom: 0.5rem;
}

.proof-label {
    display: block;
    font-size: 1rem;
    color: #ecf0f1;
    max-width: 200px;
}

/* Contact Options */
.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.contact-option {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #ecf0f1;
    transition: transform 0.3s, border-color 0.3s;
}

.contact-option:hover {
    transform: translateY(-5px);
    border-color: #f4c430;
}

.contact-option h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.contact-option p {
    color: #7f8c8d;
    margin-bottom: 1.5rem;
}

.contact-form {
    max-width: 700px;
    margin: 3rem auto 0;
}

.contact-form h3 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .announcement-bar {
        font-size: 0.85rem;
        padding: 10px 15px;
    }

    .valuation-hero h1 {
        font-size: 2.5rem;
    }

    .valuation-hero .hero-subtitle {
        font-size: 1.4rem;
    }

    .hero-stats-inline {
        gap: 1.5rem;
    }

    .hero-stats-inline .stat {
        padding: 1rem 1.5rem;
    }

    .hero-stats-inline .stat-number {
        font-size: 2rem;
    }

    .value-grid {
        grid-template-columns: 1fr;
    }

    .services-grid-new {
        grid-template-columns: 1fr;
    }

    .service-tier.featured::before {
        font-size: 0.7rem;
        padding: 3px 12px;
    }

    .books-grid {
        grid-template-columns: 1fr;
    }

    .proof-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .valuation-hero {
        padding: 60px 15px 50px;
    }

    .valuation-hero h1 {
        font-size: 2rem;
    }

    .valuation-hero .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-stats-inline .stat-number {
        font-size: 1.8rem;
    }

    .tier-price {
        font-size: 2rem;
    }

    .proof-number {
        font-size: 2.5rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow-y: auto;
}

.modal-content {
    background-color: white;
    margin: 50px auto;
    padding: 3rem;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    border-bottom: 3px solid #f4c430;
    padding-bottom: 1rem;
}

.modal-content h3 {
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.modal-body p {
    color: #7f8c8d;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.modal-body ul {
    color: #7f8c8d;
    margin-left: 2rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.modal-body ul li {
    margin-bottom: 0.5rem;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2.5rem;
    font-weight: bold;
    color: #7f8c8d;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.modal-close:hover {
    color: #2c3e50;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 3px 0;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 0.5rem 0;
    }

    .nav-menu a {
        display: block;
        padding: 0.75rem 1rem;
    }
    
    .modal-content {
        margin: 20px auto;
        padding: 2rem;
        width: 95%;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
    }
    
    .modal-close {
        top: 1rem;
        right: 1rem;
        font-size: 2rem;
    }
}