/* 
* Resume Service Landing Page Styles
* A pixel-perfect implementation of the Figma design
*/

/* ---------- Base Styles ---------- */
:root {
    --primary-color: #ff3a5e;
    --secondary-color: #ffd0d7;
    --text-dark: #222222;
    --text-light: #666666;
    --white: #ffffff;
    --light-bg: #f9f9f9;
    --border-radius: 30px;
    --button-radius: 30px;
    --box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ---------- Typography ---------- */
h1 {
    font-size: 3.6rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

h1.highlight {
    color: var(--primary-color);
    margin: 5px 0;
}

.hero-title {
    color: var(--text-dark);
    
}

.highlight-container {
    position: relative;
    margin: 8px 0 16px;
}

.underline-image {
    display: block;
    width: 280px;
    max-width: 100%;
    height: auto;
    margin-top: 6px;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    margin: 20px 0 10px;
}

.hero-description {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 90%;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--button-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 15px rgba(255, 58, 94, 0.3);
}

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

.btn-outline {
    background-color: var(--white);
    color: var(--text-dark);
    border: 1px solid #ddd;
}

.btn-outline:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
}

/* ---------- Header & Navigation ---------- */
header {
    padding: 16px 0;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo {
    flex: 0 0 150px;
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.mobile-cta { display: none; }

/* Hamburger (hidden on desktop) */
.menu-toggle { display: none; }
.menu-btn {
    display: none;
    width: 28px;
    height: 22px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}
.menu-btn span {
    display: block;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    font-size: 0.95rem;
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* ---------- Hero Section ---------- */
.hero {
    padding: 60px 0;
    background-color: var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 70px; /* add more space between text and image */
}

.hero-text {
    flex: 1;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    border-radius: 10px;
    max-height: 450px;
    object-fit: cover;
}

/* Rating badge overlay */
.rating-badge {
    position: absolute;
    left: 0;
    bottom: 30px;
    transform: translateX(-20%);
    background: var(--white);
    border-radius: 14px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.rating-score {
    color: #18a268;
    font-weight: 800;
    font-size: 2.4rem;
    line-height: 1;
}

.rating-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stars span {
    color: #f6b100;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.stars .half {
    color: #f6b100;
    opacity: 0.4;
}

.rating-label {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* ---------- Features Section ---------- */
.features {
    padding: 80px 0;
    background-color: var(--white);
}

.features .container {
    text-align: center;
}

.section-chip {
    display: inline-block;
    background: #ffe9ee;
    color: var(--text-dark);
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 999px;
    margin-bottom: 10px;
    box-shadow: inset 0 0 0 1px rgba(255, 58, 94, 0.18);
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.2rem;
    font-weight: 600;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: var(--light-bg);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.feature-image {
    margin-bottom: 20px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-image img {
    max-height: 120px;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ---------- Footer ---------- */
footer {
    background-color: var(--light-bg);
    padding: 40px 0;
}

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

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-logo img {
    height: 35px;
}

/* ---------- Media Queries ---------- */
/* Tablet */
@media (max-width: 992px) {
    h1 {
        font-size: 2.6rem;
    }
    .hero-content { gap: 40px; }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-links {
        gap: 15px;
    }
}

/* Mobile Navigation */
@media (max-width: 768px) {
    nav { position: relative; }
    header { padding: 12px 0; }
    
    /* Mobile nav collapsed */
    .menu-btn { display: flex; }
    .nav-links {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--white);
        border-top: 1px solid #eee;
        display: none;
        flex-direction: column;
        gap: 6px;
        padding: 10px 0;
        box-shadow: 0 8px 20px rgba(0,0,0,0.05);
        text-align: center;
        z-index: 200;
    }
    .nav-links li { padding: 6px 0; }
    .nav-links a { display: inline-block; padding: 8px 14px; }
    .mobile-cta { display: block; padding: 10px 0 4px; }
    /* Hide desktop CTA on mobile */
    nav > .btn.btn-primary { display: none; }
    .menu-toggle:checked ~ .menu-btn span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle:checked ~ .menu-btn span:nth-child(2) { opacity: 0; }
    .menu-toggle:checked ~ .menu-btn span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
    .menu-toggle:checked ~ .nav-links { display: flex; }
    
    .hero-content { flex-direction: column; gap: 24px; }
    
    .hero-text {
        text-align: center;
    }

    .hero-description {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .highlight-container {
        display: block;
        text-align: center;
    }
    
    .underline-image {
        margin: 5px auto;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .rating-badge {
        min-width: 140px;
        padding: 10px 12px;
        left: 10px;
        bottom: 10px;
        transform: none;
    }

    .rating-score {
        font-size: 1.8rem;
    }
}

/* Create assets folder structure for images */
@media (min-width: 1px) {
    /* This is just a placeholder to ensure the CSS compiles */
    .assets-placeholder {
        display: none;
    }
}