/* Africamp Camping Equipment Hire - Styles */

/* CSS Variables */
:root {
    --army-green: #4A5D3F;
    --dark-green: #3A4D2F;
    --black: #1A1A1A;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --medium-gray: #E0E0E0;
    --text-dark: #2C2C2C;
    --text-light: #666666;
    --whatsapp-green: #25D366;
    
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

/* Scroll offset for anchor links */
section[id] {
    scroll-margin-top: 70px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

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

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-img {
    height: 70px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--army-green);
}

.nav-cta {
    border: 2px solid var(--army-green);
    border-radius: 6px;
    padding: 0.5rem 1rem !important;
}

.nav-cta:hover {
    background-color: var(--army-green);
    color: var(--white);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--black);
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background-color: var(--army-green);
    color: var(--white);
    border-color: var(--army-green);
}

.btn-primary:hover {
    background-color: var(--dark-green);
    border-color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 93, 63, 0.3);
}

.btn-secondary {
    background-color: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.btn-secondary:hover {
    background-color: var(--text-dark);
    border-color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--army-green);
    border-color: var(--army-green);
}

.btn-outline:hover {
    background-color: var(--army-green);
    color: var(--white);
}

.btn-whatsapp {
    background-color: var(--whatsapp-green);
    color: var(--white);
    border-color: var(--whatsapp-green);
}

.btn-whatsapp:hover {
    background-color: #20BA5A;
    border-color: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--army-green) 0%, var(--dark-green) 100%);
    color: var(--white);
    min-height: calc(100vh - 80px);
    padding: 2rem 0;
    text-align: center;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-logo {
    max-width: 350px;
    height: auto;
    margin: 0 auto 1rem auto;
    display: block;
    animation: fadeInUp 1s ease-out;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.4));
}

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

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sections */
section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--black);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

/* Equipment Grid */
.equipment-section {
    background-color: var(--light-gray);
}

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

.equipment-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    cursor: pointer;
}

.equipment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.equipment-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #5a6d4f 0%, var(--army-green) 50%, var(--dark-green) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.equipment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.equipment-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--black);
    font-size: 1.5rem;
}

.equipment-card p {
    padding: 0 1.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.equipment-link {
    display: block;
    padding: 0 1.5rem 1.5rem;
    color: var(--army-green);
    font-weight: 600;
}

/* How It Works */
.how-it-works {
    background-color: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
    align-items: start;
}

.step {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
}

/* Arrow between steps */
.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: calc(2rem + 30px - 12px);
    right: -1rem;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 16px solid var(--army-green);
}

@media (max-width: 900px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .step:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 500px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .step::after {
        display: none !important;
    }
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--army-green);
    color: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h3 {
    margin-bottom: 0.5rem;
    color: var(--black);
    font-size: 1.25rem;
}

.step p {
    color: var(--text-light);
}

.cta-center {
    text-align: center;
}

/* Why Africamp */
.why-africamp {
    background-color: var(--light-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

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

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: var(--army-green);
    color: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.feature h3 {
    margin-bottom: 0.5rem;
    color: var(--black);
}

.feature p {
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--army-green) 0%, var(--dark-green) 100%);
    color: var(--white);
    text-align: center;
    padding: 5rem 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background-color: var(--black);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--army-green);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-section a:hover {
    opacity: 1;
    color: var(--army-green);
}

.footer-section p {
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .hero-cta,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .product-cta {
        justify-content: center;
        align-items: center;
    }
}

/* Product Detail Page Styles */
.product-hero {
    padding: 3rem 0;
    background-color: var(--light-gray);
}

.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.product-gallery {
    position: sticky;
    top: 100px;
}

.product-main-image {
    width: 100%;
    height: 400px;
    background-color: var(--medium-gray);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--black);
}

.pricing-table {
    background-color: var(--light-gray);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.pricing-table h3 {
    margin-bottom: 1rem;
    color: var(--army-green);
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--medium-gray);
}

.price-row:last-child {
    border-bottom: none;
}

.deposit-info {
    background-color: var(--army-green);
    color: var(--white);
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    text-align: center;
}

.product-section {
    margin: 2rem 0;
}

.product-section h3 {
    color: var(--army-green);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.product-section ul {
    list-style: none;
    padding-left: 0;
}

.product-section ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.product-section ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--army-green);
    font-weight: bold;
}

.product-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .product-content {
        grid-template-columns: 1fr;
    }

    .product-gallery {
        position: static;
    }

    .product-info h1 {
        font-size: 2rem;
    }

    .product-cta {
        flex-direction: column;
    }

    .product-cta .btn {
        width: 100%;
    }
}

/* Form Styles */
.form-section {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--medium-gray);
    border-radius: 6px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--army-green);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* FAQ Styles */
.faq-item {
    background-color: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background-color: var(--light-gray);
    border: none;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--medium-gray);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.7;
}

.faq-icon {
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Blog Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

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

.blog-image {
    width: 100%;
    height: 200px;
    background-color: var(--medium-gray);
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.blog-card h3 {
    margin-bottom: 0.75rem;
    color: var(--black);
}

.blog-excerpt {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.read-more {
    color: var(--army-green);
    font-weight: 600;
}

/* Additional Responsive Styles */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-logo {
        max-width: 300px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 4rem 0;
    }
    
    .hero-logo {
        max-width: 250px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .equipment-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .equipment-image {
        height: 200px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-highlight {
        text-align: center;
    }
}

/* Small tablets and large phones */
@media (max-width: 600px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-logo {
        max-width: 200px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .equipment-grid {
        grid-template-columns: 1fr;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .feature-icon svg {
        width: 24px;
        height: 24px;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .hero {
        padding: 3rem 0;
    }
    
    .hero-logo {
        max-width: 180px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    section {
        padding: 2.5rem 0;
    }
    
    .section-title {
        font-size: 1.35rem;
    }
    
    .equipment-card h3 {
        font-size: 1.1rem;
    }
    
    .equipment-card p {
        font-size: 0.9rem;
    }
    
    .footer-content {
        padding: 2rem 0;
    }
    
    .whatsapp-button-large {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

/* Very small phones */
@media (max-width: 360px) {
    .hero-logo {
        max-width: 150px;
    }
    
    .hero-title {
        font-size: 1.35rem;
    }
    
    .btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .logo-img {
        height: 50px;
    }
}
