/* Savory Safari - Main Stylesheet - Green/White Theme */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: white;
}

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

a {
    color: #4a9b4e;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #357a38;
    text-decoration: underline;
}

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

/* Header Styles */
.site-header {
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e0e0e0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    padding: 0.75rem 0;
}

.logo-section {
    flex: 0 0 auto;
    margin-right: 2rem;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
}

.logo-img {
    width: 180px;
    height: auto;
    border-radius: 8px;
    object-fit: contain;
    background: white;
}

.logo-text {
    display: none; /* Hide the redundant text since logo contains it */
}

.logo-text h1 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
    color: #4a9b4e;
}

.tagline {
    font-size: 0.9rem;
    opacity: 0.8;
    font-style: italic;
    color: #666;
}

/* Navigation Styles */
.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

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

.nav-link {
    color: #333;
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    font-size: 0.9rem;
}

.nav-link:hover,
.nav-link.active {
    background-color: #4a9b4e;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.external-link .external-icon {
    margin-left: 0.25rem;
    font-size: 0.8rem;
}

/* Social Links */
.social-links {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
    margin-left: 1rem;
}

.social-link {
    color: #4a9b4e;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border: 1px solid #4a9b4e;
    border-radius: 25px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.social-link:hover {
    background-color: #4a9b4e;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Main Content Styles */
.site-main {
    min-height: 80vh;
    padding: 2rem 0;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(74, 155, 78, 0.8), rgba(74, 155, 78, 0.8)), 
                url('images/meerkat_roast2.jpg') center/cover;
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
    border-radius: 10px;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero-content p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

/* Content Sections */
.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    color: #4a9b4e;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.content-section h3 {
    color: #357a38;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.content-section p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    color: #555;
}

/* News Banner */
.news-banner {
    background: linear-gradient(135deg, #4a9b4e 0%, #357a38 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.news-banner h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.news-banner .btn {
    background: white;
    color: #4a9b4e;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: bold;
    display: inline-block;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.news-banner .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    text-decoration: none;
    background: #f5f5f5;
}

/* Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e0e0e0;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(74, 155, 78, 0.2);
}

.gallery-item img {
    width: 100%;
    height: auto; /* Change from fixed 250px to auto */
    object-fit: contain; /* Change from cover to contain */
}

/* Token Information */
.token-info {
    background: linear-gradient(135deg, #4a9b4e 0%, #357a38 100%);
    color: white;
    padding: 3rem;
    border-radius: 15px;
    margin: 3rem 0;
}

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

.token-spec {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.token-spec strong {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* Features List */
.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 5px solid #4a9b4e;
    border: 1px solid #e0e0e0;
}

.feature-item h4 {
    color: #4a9b4e;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* Footer Styles */
.site-footer {
    background: linear-gradient(135deg, #357a38 0%, #2e6930 100%);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #ecf0f1;
}

.footer-nav {
    list-style: none;
}

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

.footer-nav a {
    color: #bdc3c7;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: white;
}

.social-footer {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-footer-link {
    color: #bdc3c7;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.social-footer-link:hover {
    color: white;
}

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

.footer-description {
    color: #bdc3c7;
    font-size: 0.9rem;
}

.disclaimer {
    margin-top: 1rem;
    color: #95a5a6;
    font-style: italic;
}

.shop-link {
    color: #81c784;
    font-weight: bold;
}

.shop-link:hover {
    color: #a5d6a7;
}

/* Attraction-Specific Styles */
.attraction-details {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    border-left: 5px solid #4a9b4e;
}

.attraction-details p {
    margin-bottom: 0.5rem;
    text-align: left;
}

.warning-box {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.warning-box h4 {
    color: white;
    margin-bottom: 1rem;
}

.highlight-box {
    background: linear-gradient(135deg, #4a9b4e 0%, #357a38 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.highlight-box h4 {
    color: white;
    margin-bottom: 1rem;
}

.game-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.step {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-top: 4px solid #4a9b4e;
    border: 1px solid #e0e0e0;
}

.step h5 {
    color: #4a9b4e;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.mascot-hint {
    background: #e8f5e8;
    border: 1px solid #4a9b4e;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.mascot-hint h5 {
    color: #357a38;
    margin-bottom: 0.5rem;
}

.mascot-hint p {
    color: #357a38;
    margin: 0;
    text-align: left;
}

/* Contact Form Styles */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #4a9b4e;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a9b4e;
}

.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.btn-submit {
    background: linear-gradient(135deg, #4a9b4e 0%, #357a38 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 155, 78, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1rem 0;
    }
    
    .logo-section {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .logo-img {
        width: 100px;
    }
    
    .main-navigation {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
    }
    
    .nav-link {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
    
    .social-links {
        margin-left: 0;
        justify-content: center;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .content-section h2 {
        font-size: 2rem;
    }
    
    .token-info {
        padding: 2rem 1rem;
    }
    
    .game-steps {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo-img {
        width: 80px;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nav-link {
        display: block;
        text-align: center;
        min-width: 120px;
    }
    
    .social-link {
        font-size: 0.8rem;
        padding: 0.5rem 0.8rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .attraction-details,
    .warning-box,
    .highlight-box {
        padding: 1rem;
    }
}