/* Made Easy - madeeasy.com.pk */
/* CSS Stylesheet - 2025 */

/* ===== ROOT VARIABLES ===== */
:root {
    --primary-green: #006A34;
    --primary-orange: #FF6900;
    --primary-red: #E7004C;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #F8F8F8;
    --white: #FFFFFF;
    --border-color: #E0E0E0;
}

/* ===== GLOBAL RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%; /* 1rem = 10px */
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Arial', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul, ol {
    list-style: none;
}

/* Cricket Section Styles */
.cricket-highlight {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-orange) 100%);
    padding: 4rem;
    border-radius: 12px;
    text-align: center;
    color: var(--white);
    margin-top: 2rem;
}

.cricket-highlight .cricket-content p {
    font-size: 1.8rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--white);
}

.cricket-highlight .btn-primary {
    background-color: var(--white);
    color: var(--primary-green);
    padding: 1.2rem 3rem;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.cricket-highlight .btn-primary:hover {
    background-color: var(--primary-red);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Cricket Page Specific Styles */
.cricket-hero {
    background: linear-gradient(rgba(0, 106, 52, 0.7), rgba(231, 0, 76, 0.7)), url('../images/biryani-hero.jpg');
    background-size: cover;
    background-position: center;
    padding: 8rem 0;
    text-align: center;
    color: var(--white);
}

.cricket-content {
    padding: 6rem 0;
}

.cricket-content .content-section {
    margin-bottom: 5rem;
}

.cricket-content h2 {
    font-size: 3.2rem;
    color: var(--primary-green);
    margin-bottom: 2rem;
    line-height: 1.3;
}

.cricket-content h3 {
    font-size: 2.4rem;
    color: var(--primary-orange);
    margin: 3rem 0 1.5rem 0;
}

.cricket-content h4 {
    font-size: 2rem;
    color: var(--text-dark);
    margin: 2rem 0 1rem 0;
    font-weight: 600;
}

.cricket-content ul {
    list-style: disc;
    margin-left: 3rem;
    margin-bottom: 2rem;
}

.cricket-content ul li {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.comparison-table {
    overflow-x: auto;
    margin: 2rem 0;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.comparison-table th {
    background: var(--primary-green);
    color: var(--white);
    padding: 1.5rem;
    font-weight: 600;
    text-align: left;
}

.comparison-table td {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table tr:hover {
    background: var(--bg-light);
}

.fun-fact {
    background: var(--bg-light);
    padding: 2rem;
    border-left: 4px solid var(--primary-orange);
    margin: 2rem 0;
    border-radius: 6px;
}

.founder-story blockquote {
    background: var(--bg-light);
    padding: 3rem;
    border-left: 5px solid var(--primary-green);
    font-style: italic;
    margin: 2rem 0;
    border-radius: 6px;
}

.founder-story blockquote p {
    margin-bottom: 1.5rem;
}

.special-offer {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-orange) 100%);
    color: var(--white);
    padding: 3rem;
    border-radius: 12px;
    margin: 3rem 0;
}

.special-offer h3 {
    color: var(--white);
    margin-bottom: 2rem;
}

.special-offer ul li {
    color: var(--white);
}

.cta-section {
    text-align: center;
    padding: 5rem 0;
    background: var(--bg-light);
    border-radius: 12px;
    margin-top: 4rem;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

/* App Review Link */
.app-review-link {
    margin-top: 3rem;
    text-align: center;
}

.btn-link-arrow {
    display: inline-block;
    padding: 1.5rem 3rem;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-orange) 100%);
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 106, 52, 0.3);
}

.btn-link-arrow:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(231, 0, 76, 0.4);
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-red) 100%);
}

/* APK Page Styles */
.apk-hero {
    background: linear-gradient(rgba(0, 106, 52, 0.8), rgba(255, 105, 0, 0.8)), url('../images/cricket-app-analytics.jpg');
    background-size: cover;
    background-position: center;
}

.tech-image {
    margin: 3rem 0;
    text-align: center;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.tech-image img {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: block;
}

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

.method-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-orange);
}

.method-card.highlighted {
    background: var(--primary-green);
    color: var(--white);
    border-left: 4px solid var(--primary-red);
}

.method-card.highlighted h4 {
    color: var(--white);
}

.method-card h4 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.solution-box {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-orange) 100%);
    padding: 2.5rem;
    border-radius: 12px;
    color: var(--white);
    margin: 2rem 0;
}

.solution-box h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.solution-box ul li {
    color: var(--white);
}

.example-box {
    background: var(--bg-light);
    padding: 2rem;
    border-left: 5px solid var(--primary-orange);
    margin: 2rem 0;
    border-radius: 6px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.stat-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.stat-card h4 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--primary-green);
}

.big-number {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--primary-red);
    margin: 1.5rem 0;
    line-height: 1;
}

.stat-card ul {
    text-align: left;
    margin-top: 1.5rem;
}

.pros-cons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
}

.advantage-item,
.disadvantage-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.advantage-item {
    border-left: 4px solid var(--primary-green);
}

.disadvantage-item {
    border-left: 4px solid var(--primary-red);
}

.advantage-item h4,
.disadvantage-item h4 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.conclusion-section {
    background: var(--bg-light);
    padding: 4rem;
    border-radius: 12px;
    margin-top: 4rem;
}

.related-content {
    margin-top: 4rem;
    padding: 3rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.related-item {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 8px;
    border-top: 4px solid var(--primary-orange);
}

.related-item h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.related-item a {
    color: var(--primary-orange);
    font-weight: 600;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cricket-highlight {
        padding: 2rem;
    }
    
    .cricket-highlight .cricket-content p {
        font-size: 1.6rem;
    }
    
    .cricket-content h2 {
        font-size: 2.4rem;
    }
    
    .cricket-content h3 {
        font-size: 2rem;
    }
    
    .comparison-table {
        font-size: 1.4rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-link-arrow {
        font-size: 1.6rem;
        padding: 1.2rem 2.5rem;
    }
    
    .distribution-methods,
    .stats-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .pros-cons-grid {
        grid-template-columns: 1fr;
    }
    
    .big-number {
        font-size: 3.5rem;
    }
    
    .conclusion-section {
        padding: 2rem;
    }
    
    .method-card,
    .stat-card {
        padding: 1.5rem;
    }
}

/* ===== HEADER STYLES ===== */
.main-header {
    background-color: var(--white);
    border-bottom: 2px solid var(--primary-green);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.5rem 0;
}

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

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

/* Desktop Navigation */
.nav-desktop {
    display: flex;
    gap: 3rem;
}

.nav-desktop a {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-dark);
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-desktop a:hover {
    background-color: var(--primary-green);
    color: var(--white);
}

/* Mobile Navigation */
.nav-mobile {
    display: none;
}

.hamburger {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 1rem;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--primary-green);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.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);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
}

.mobile-menu.active {
    display: block;
    animation: slideDown 0.3s ease;
}

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

.mobile-menu ul {
    padding: 2rem;
}

.mobile-menu ul li {
    margin-bottom: 1.5rem;
}

.mobile-menu ul li a {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-dark);
    display: block;
    padding: 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.mobile-menu ul li a:hover {
    background-color: var(--primary-green);
    color: var(--white);
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, rgba(0, 106, 52, 0.9), rgba(255, 105, 0, 0.9)), 
                url('../images/biryani-hero.jpg') center/cover no-repeat;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem;
    color: var(--white);
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 2rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-red);
    color: var(--white);
    padding: 1.5rem 4rem;
    font-size: 1.8rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 0, 76, 0.4);
}

.btn-primary:hover {
    background-color: #C1003D;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 0, 76, 0.6);
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.8rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 4rem;
}

/* ===== CARD GRID ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: 2.5rem;
}

.card-content h3 {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

.card-content p {
    font-size: 1.6rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-orange);
    padding: 1rem 2.5rem;
    font-size: 1.6rem;
    font-weight: 600;
    border: 2px solid var(--primary-orange);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--primary-orange);
    color: var(--white);
}

/* ===== FOOTER STYLES ===== */
.main-footer {
    background: linear-gradient(to bottom, #1a1a1a, #0d0d0d);
    color: var(--white);
    padding: 5rem 0 2rem;
    border-top: 3px solid var(--primary-green);
}

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

.footer-column h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-orange);
    margin-bottom: 2rem;
}

.footer-column ul li {
    margin-bottom: 1rem;
}

.footer-column ul li a {
    color: #ccc;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--primary-orange);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
    font-size: 1.4rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    /* Mobile Navigation */
    .nav-desktop {
        display: none;
    }

    .nav-mobile {
        display: block;
    }

    /* Hero Section */
    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-content p {
        font-size: 1.6rem;
    }

    /* Section Titles */
    .section-title {
        font-size: 2.8rem;
    }

    .section-subtitle {
        font-size: 1.6rem;
    }

    /* Card Grid */
    .card-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Container */
    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 56.25%; /* 1rem = 9px */
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .btn-primary {
        padding: 1.2rem 3rem;
        font-size: 1.6rem;
    }
}

/* ===== UTILITIES ===== */
.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mt-4 {
    margin-top: 4rem;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.bg-light {
    background-color: var(--bg-light);
}
