/* Real Hey I - Main Stylesheet */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #3E3E3E;
    background-color: #F6F5F0;
}

/* Color Variables */
:root {
    --primary-teal: #2A7B6F;
    --forest-green: #1E4D44;
    --sage: #B7D1C5;
    --earth-brown: #9B7E57;
    --off-white: #F6F5F0;
    --charcoal: #3E3E3E;
    --gold: #D8B75C;
    --terracotta: #C66B4E;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--primary-teal);
    color: white;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--gold);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.75rem;
    z-index: 1001;
    position: relative;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.hamburger:active {
    transform: scale(0.95);
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: white;
    margin: 4px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hamburger.active {
    background: rgba(0, 0, 0, 0.4);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .hamburger {
        background: rgba(255, 255, 255, 0.15);
        border-color: rgba(255, 255, 255, 0.4);
    }

    .hamburger:hover {
        background: rgba(255, 255, 255, 0.25);
        border-color: rgba(255, 255, 255, 0.6);
    }

    .hamburger.active {
        background: rgba(255, 255, 255, 0.3);
    }
}

.mobile-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.phone {
    background: var(--gold);
    color: var(--charcoal);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.phone:hover {
    background: #E5C566;
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    background:
        linear-gradient(135deg, rgba(30, 77, 68, 0.85) 0%, rgba(42, 123, 111, 0.85) 100%),
        url('../images/pexels-mark-stebnicki-2886937.webp') center/cover no-repeat;
    color: white;
    padding: 120px 0 60px;
    text-align: center;
    margin-top: 60px;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    font-weight: bold;
    line-height: 1.2;
}

.hero .subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--gold);
    color: var(--charcoal);
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background: #E5C566;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-teal);
}

/* Stats Section */
.stats {
    background: white;
    padding: 3rem 0;
    border-top: 4px solid var(--gold);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-teal);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    color: var(--charcoal);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--forest-green);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--charcoal);
    max-width: 600px;
    margin: 0 auto;
}

/* Problem Section */
.problem {
    background: var(--sage);
    padding: 4rem 0;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.problem-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.problem-icon {
    width: 60px;
    height: 60px;
    background: var(--terracotta);
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.problem-card h3 {
    color: var(--forest-green);
    margin-bottom: 1rem;
}

/* Features Section */
.features-preview,
.solution {
    background: white;
    padding: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gold);
    color: var(--charcoal);
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

/* Testimonial */
.testimonial-section {
    background: var(--sage);
    padding: 4rem 0;
}

.testimonial-card-featured {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-card-featured img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    object-fit: cover;
}

.testimonial-card-featured blockquote p {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--charcoal);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-card-featured cite {
    color: var(--primary-teal);
    font-weight: bold;
    font-style: normal;
}

/* CTA Section */
.final-cta {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--forest-green) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.final-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
footer {
    background: var(--charcoal);
    color: white;
    padding: 2rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--gold);
    margin-bottom: 1rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #555;
}

/* Mobile Menu */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    display: none;
}

.mobile-overlay.active {
    display: block;
}

.nav-menu.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 280px;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--forest-green) 100%);
    display: flex;
    flex-direction: column;
    padding-top: 6rem;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    z-index: 1000;
}

.nav-menu.mobile-menu.active {
    right: 0;
}

.nav-menu.mobile-menu a {
    padding: 1rem 2rem;
    margin: 0.5rem 1rem;
    text-align: center;
    border-radius: 25px;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (min-width: 769px) {
    .nav-menu:not(.mobile-menu) {
        display: flex !important;
    }
    
    .hamburger {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .nav-menu:not(.mobile-menu) {
        display: none !important;
    }

    .hamburger {
        display: flex !important;
    }

    .hero {
        padding: 100px 20px 50px;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero .subtitle {
        font-size: 1.1rem;
        padding: 0 10px;
    }

    .section-header h2 {
        font-size: 2rem;
        padding: 0 15px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .problem-card,
    .feature-card,
    .pricing-card {
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 90px 15px 40px;
    }

    .hero h1 {
        font-size: 1.6rem;
        line-height: 1.4;
    }

    .hero .subtitle {
        font-size: 0.95rem;
        padding: 0 5px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0 10px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .problem-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .mobile-controls .phone {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
        white-space: nowrap;
    }
}

/* Case Study Section */
.case-study {
    background: white;
    padding: 4rem 0;
}

.case-study-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.case-study-text h2 {
    font-size: 2.5rem;
    color: var(--forest-green);
    margin-bottom: 1rem;
}

.case-study-highlight {
    background: var(--sage);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid var(--primary-teal);
}

.savings {
    font-size: 2rem;
    color: var(--primary-teal);
    font-weight: bold;
    margin: 1rem 0;
}

.case-study-points {
    list-style: none;
    margin-top: 1.5rem;
}

.case-study-points li {
    margin: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
}

.case-study-points li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-teal);
    font-weight: bold;
}

/* Solution Section with Dark Background */
.solution {
    background: var(--forest-green);
    color: white;
    padding: 4rem 0;
}

.solution h2 {
    color: white;
}

.solution .section-header h2 {
    color: white;
}

.solution .section-header p {
    color: white;
    opacity: 0.9;
}

.solution .feature-card {
    background: rgba(255,255,255,0.1);
}

.solution .feature-card h3 {
    color: white;
}

.solution .feature-card p {
    color: white;
}

/* Pricing Section */
.pricing {
    background: white;
    padding: 4rem 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-card {
    background: var(--off-white);
    border: 2px solid var(--sage);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.pricing-card.popular {
    border-color: var(--primary-teal);
    background: white;
    box-shadow: 0 10px 30px rgba(42, 123, 111, 0.2);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    background: var(--gold);
    color: var(--charcoal);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: bold;
}

.price {
    font-size: 2.5rem;
    color: var(--primary-teal);
    font-weight: bold;
    margin: 1rem 0;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.pricing-features li {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-teal);
    font-weight: bold;
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.video-grid video {
    width: 100%;
    height: auto;
    max-height: 600px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.video-grid h3 {
    color: var(--primary-teal);
    margin-bottom: 1rem;
}

/* Testimonial Grid */
.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    object-fit: cover;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--charcoal);
}

.testimonial-card h4 {
    color: var(--primary-teal);
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.about-text h3 {
    color: var(--primary-teal);
    margin-bottom: 1rem;
}

.about-image {
    text-align: center;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Mission Section */
.mission-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.mission-text {
    /* Text content */
}

.mission-image {
    text-align: center;
}

/* Social Media Links */
.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary-teal);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--forest-green);
    transform: translateY(-3px);
}

/* Additional Responsive Breakpoints */
@media (max-width: 768px) {
    .case-study-content,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Mission Section - Stack vertically on mobile */
    .mission-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .mission-text {
        width: 100%;
        padding: 0;
    }

    .mission-image {
        width: 100%;
        order: 2; /* Image appears below text */
    }

    .mission-image img {
        max-width: 100%;
        width: 100%;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .video-grid video {
        max-height: 300px;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 140px 0 40px;
    }
    
    .phone {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    .logo img {
        height: 35px;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .feature-card img {
        height: 80px;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-card img {
        width: 60px;
        height: 60px;
    }
    
    .case-study-highlight {
        padding: 1.5rem;
    }
    
    .savings {
        font-size: 1.5rem;
    }
    
    .price {
        font-size: 2rem;
    }
    
    .video-grid video {
        max-height: 200px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

/* Tablet Portrait (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .container {
        max-width: 900px;
        padding: 0 2rem;
    }
    
    .hero {
        padding: 150px 0 60px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .problem-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large Tablets & Small Desktop (1025px - 1200px) */
@media (min-width: 1025px) and (max-width: 1200px) {
    .container {
        max-width: 1000px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .problem-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Extra Large Screens (1201px+) */
@media (min-width: 1201px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero .subtitle {
        font-size: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Landscape Orientation Optimizations */
@media (orientation: landscape) and (max-height: 600px) and (max-width: 1023px) {
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .subtitle {
        font-size: 1rem;
    }
    
    header {
        padding: 0.5rem 0;
    }
    
    .phone {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    video {
        max-height: 250px;
    }
}

/* Performance optimizations */
img {
    max-width: 100%;
    height: auto;
}

video {
    max-width: 100%;
    height: auto;
}

/* Touch and Interaction Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn-primary, 
    .btn-secondary, 
    .phone, 
    .social-link {
        min-height: 44px;
        padding: 1rem 1.5rem;
    }
    
    .feature-card, 
    .problem-card, 
    .pricing-card {
        padding: 1.5rem;
    }
}

/* Print Styles */
@media print {
    header {
        position: static;
    }
    
    .hamburger,
    .mobile-overlay,
    .cta-buttons,
    footer {
        display: none;
    }
    
    .hero {
        background: var(--primary-teal);
        padding: 2rem 0;
    }
    
    body {
        background: white;
    }
}