/* =================================================================
   PACKING GUIDE PAGE - MOBILE OPTIMIZED
   ================================================================= */

/* Hero Section */
.hero-packing {
    background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-blue) 100%);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
    margin-top: 60px;
}

@media (min-width: 768px) {
    .hero-packing {
        padding: 5rem 0;
    }
}

.hero-packing h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

@media (min-width: 640px) {
    .hero-packing h1 {
        font-size: 2.25rem;
    }
}

@media (min-width: 768px) {
    .hero-packing h1 {
        font-size: 2.75rem;
    }
}

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

@media (min-width: 640px) {
    .hero-subtitle {
        font-size: 1.15rem;
    }
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

/* Intro Section */
.intro-section {
    padding: 2rem 0;
}

@media (min-width: 768px) {
    .intro-section {
        padding: 3rem 0;
    }
}

.intro-content h2 {
    font-family: 'Playfair Display', serif;
    color: var(--ocean-deep);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .intro-content h2 {
        font-size: 1.75rem;
    }
}

.intro-content h2 i {
    color: var(--wave-teal);
    font-size: 1.25rem;
}

@media (min-width: 768px) {
    .intro-content h2 i {
        font-size: 1.5rem;
    }
}

.intro-content > p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

@media (min-width: 768px) {
    .intro-content > p {
        font-size: 1.1rem;
    }
}

/* Questions Grid */
.questions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

@media (min-width: 640px) {
    .questions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 968px) {
    .questions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.question-card {
    background: var(--sand-light);
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.question-card i {
    font-size: 2rem;
    color: var(--ocean-blue);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .question-card i {
        font-size: 2.5rem;
    }
}

.question-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--ocean-deep);
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .question-card h3 {
        font-size: 1.25rem;
    }
}

.question-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

@media (min-width: 768px) {
    .question-card p {
        font-size: 0.95rem;
    }
}

/* Golden Rule */
.golden-rule {
    background: linear-gradient(135deg, var(--wave-teal), var(--ocean-light));
    color: var(--white);
    padding: 1.5rem;
    border-radius: 16px;
    margin: 2rem 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .golden-rule {
        padding: 2rem;
        gap: 1.5rem;
    }
}

.golden-rule i {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

@media (min-width: 768px) {
    .golden-rule i {
        font-size: 2.5rem;
    }
}

.rule-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .rule-content h3 {
        font-size: 1.5rem;
    }
}

.rule-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .rule-content p {
        font-size: 1.05rem;
    }
}

/* Packing List Section */
.packing-list-section {
    padding: 2rem 0;
}

@media (min-width: 768px) {
    .packing-list-section {
        padding: 3rem 0;
    }
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: var(--ocean-deep);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
}

.section-title i {
    color: var(--wave-teal);
    font-size: 1.5rem;
}

@media (min-width: 768px) {
    .section-title i {
        font-size: 1.75rem;
    }
}

.section-intro {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

@media (min-width: 768px) {
    .section-intro {
        font-size: 1.1rem;
    }
}

/* Category Section */
.category-section {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
    .category-section {
        padding: 2rem;
    }
}

.category-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--sand-light);
}

.category-header i {
    font-size: 1.5rem;
    color: var(--ocean-blue);
}

@media (min-width: 768px) {
    .category-header i {
        font-size: 1.75rem;
    }
}

.category-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--ocean-deep);
    margin: 0;
}

@media (min-width: 768px) {
    .category-header h3 {
        font-size: 1.5rem;
    }
}

/* Packing Items */
.packing-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.packing-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--sand-light);
    border-radius: 12px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

@media (min-width: 768px) {
    .packing-item {
        padding: 1.25rem;
    }
}

.packing-item.checked {
    opacity: 0.6;
    background: #e8f5e9;
    border-left-color: #4caf50;
}

.packing-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

/* Priority badges */
.packing-item.priority-critical {
    border-left-color: var(--coral);
}

.packing-item.priority-high {
    border-left-color: #ff9800;
}

/* Checkbox */
.item-checkbox {
    flex-shrink: 0;
}

.item-checkbox input[type="checkbox"] {
    width: 24px;
    height: 24px;
    cursor: pointer;
    margin: 0;
}

@media (min-width: 768px) {
    .item-checkbox input[type="checkbox"] {
        width: 28px;
        height: 28px;
    }
}

/* Item Content */
.item-content {
    flex: 1;
}

.item-content h4 {
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--ocean-deep);
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .item-content h4 {
        font-size: 1.1rem;
    }
}

.item-priority {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .item-priority {
        font-size: 0.8rem;
    }
}

.priority-critical .item-priority {
    background: var(--coral);
    color: var(--white);
}

.priority-high .item-priority {
    background: #ff9800;
    color: var(--white);
}

.item-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

@media (min-width: 768px) {
    .item-description {
        font-size: 0.95rem;
    }
}

/* Tips Section */
.tips-section {
    padding: 2rem 0;
}

@media (min-width: 768px) {
    .tips-section {
        padding: 3rem 0;
    }
}

.tips-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

@media (min-width: 640px) {
    .tips-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 968px) {
    .tips-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.tip-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 768px) {
    .tip-card {
        padding: 2rem;
    }
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.tip-card i {
    font-size: 2.5rem;
    color: var(--wave-teal);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .tip-card i {
        font-size: 3rem;
    }
}

.tip-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--ocean-deep);
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .tip-card h3 {
        font-size: 1.25rem;
    }
}

.tip-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

@media (min-width: 768px) {
    .tip-card p {
        font-size: 0.95rem;
    }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--ocean-deep), var(--ocean-blue));
    color: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    margin: 3rem 0;
}

@media (min-width: 768px) {
    .cta-section {
        padding: 3rem;
        margin: 4rem 0;
    }
}

.cta-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .cta-section h2 {
        font-size: 2.25rem;
    }
}

.cta-section p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .cta-section p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
        gap: 1.5rem;
    }
}

.cta-buttons .btn-primary,
.cta-buttons .btn-secondary {
    padding: 1rem 2rem;
    font-size: 1.05rem;
    min-width: 200px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        min-width: 220px;
    }
}

.cta-buttons .btn-secondary {
    background: var(--white);
    color: var(--ocean-deep);
}

.cta-buttons .btn-secondary:hover {
    background: var(--sand-light);
}

/* Mobile optimizations for very small screens */
@media (max-width: 374px) {
    .hero-packing {
        padding: 2rem 0;
    }
    
    .hero-packing h1 {
        font-size: 1.5rem;
    }
    
    .category-section {
        padding: 1rem;
    }
    
    .packing-item {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .item-checkbox input[type="checkbox"] {
        width: 20px;
        height: 20px;
    }
    
    .item-content h4 {
        font-size: 0.95rem;
    }
    
    .item-description {
        font-size: 0.85rem;
    }
}

/* Print styles */
@media print {
    .hero-packing,
    .cta-section,
    .tips-section,
    header,
    footer {
        display: none;
    }
    
    .packing-item {
        page-break-inside: avoid;
    }
    
    .item-checkbox input[type="checkbox"] {
        border: 2px solid #000;
    }
}
