/* General Styles */

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color:  #28323f;
    color: #fff; /* Keeps the text readable */
    margin: 0;
    padding: 0;
    height: 100%;
}

section {
    background: transparent; /* No background color */
    padding: 3rem 1rem; /* Consistent padding */
    margin: 0 auto;
    max-width: 800px; /* Centers content */
}

h1, h2, h3 {
    font-family: 'Georgia', serif;
}

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

.logo {
    display: flex;
    align-items: center;
    justify-content: center; /* Centers horizontally */
    gap: 1rem;
    width: 100%; /* Takes full width */
}

/* Logo Container */
.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 250px; /* Ensure it doesn't squash */
}

.logo-container h1 {
    font-size: 2rem;
    color: #fff;
    margin: 0;
}

.logo-img {
    height: 60px;
    width: auto;
    grid-column: 1;
} 

.logo h1 {
    font-size: 2.5rem; /* Makes text bigger */
    margin: 0;
    text-align: center;
}

/* Header Styles */
header {
    position: relative;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #2c1810;
    padding: 1rem 2rem;
    
}

/* Header Title Styles */
header h1 {
    font-size: 2.5rem; /* Title size */
    margin: 0;
    color: #fff; /* Ensure visibility */
    text-align: center;
    z-index: 10; /* Bring it above other elements */
    position: relative; /* Keep in normal flow */
    padding: 0.5rem 0; /* Padding for spacing */
}

h1 {
    grid-column: 2;
    text-align: center;
    font-size: 2.5rem;
    margin: 0;
}

header .logo {
    width: 150px;
}

/* Default Navigation Layout for Larger Screens */
/* General Navigation Styles */
nav {
    display: flex;
    align-items: center;
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

/* Navigation Link Hover Effect */
.nav-links a:hover {
    color: #ff8051 !important; /* Change text color on hover */
    background: none !important; /* Remove default background */
    box-shadow: none;
    transform: none;
}

.right-section {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* Tight gap between nav and toggle */


}.nav-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: absolute;
    right: 60px; /* Adjust this value to move nav left/right */
}

/* Mobile Navigation (Hidden by Default) */
/* Mobile Menu Button */
.menu-toggle {
    display: none; /* Hidden by default */
    background: #ff7f50; /* Orange background */
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    nav.active {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
        width: 100%;
        text-align: center;
    }

    .nav-links a:hover {
        background: #ff8051; /* Highlight background on hover */
        color: #000; /* Change text color */
    }

    .menu-toggle {
        display: none; /* Hide by default */
        cursor: pointer; /* Show pointer on hover */
        transition: transform 0.3s ease;
    }

    .menu-toggle button {
        background: transparent; /* Transparent background */
        border: none; /* Remove default button styles */
        color: #fff; /* White text color */
        font-size: 1.5rem; /* Larger font size */
        cursor: pointer; /* Show pointer on hover */
    }

    .menu-toggle.active {
        transform: rotate(90deg);
    }

    /* Dark Mode Toggle */
    
:root {
    --bg-primary: #28323f;
    --text-primary: #fff;
    --text-headings: #fff;
    --header-text: #fff;
    --header-bg: #000301;
    --button-bg: #ff7f50;
    --hero-overlay: linear-gradient(
        rgba(153, 129, 157, 0.4),
        rgba(79, 95, 132, 0.3),
        rgba(0, 30, 31, 0.6)
    );
}

[data-theme="light"] {
    --bg-primary: #f5f5f5;
    --text-primary: #fff;
    --text-headings: #000;
    --header-text: #333;
    --header-bg: #2c1810;
    --button-bg: #ff7f50;
    --hero-overlay: linear-gradient(
        rgba(255, 255, 255, 0.4),
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0.6)
    );
}

/* Global Text Styles */
body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

h1, h2, h3, p {
    color: var(--text-primary);
}

p, .form-group label {
    color: var(--text-primary);
}

/* Header Styles */
header {
    background: var(--header-bg);
    color: var(--text-primary);
}

header h1,
.nav-links a {
    color: var(--header-text);
}

/* Section Heading Styles */
#community h2,
#signup h2,
#features h2 {
    color: var(--text-headings);
}

/* Theme-Specific Styles */
[data-theme="light"] header h1,
[data-theme="light"] .nav-links a {
    color: #fff;
}

[data-theme="light"] #features h2,
[data-theme="light"] #community h2,
[data-theme="light"] #signup h2 {
    color: #333;
}

/* Dark mode styles */
[data-theme="dark"] header,
[data-theme="dark"] nav,
[data-theme="dark"] footer {
    background: #010301;
}

/* Light mode can stay as is with #2c1810 */
[data-theme="light"] header,
[data-theme="light"] nav,
[data-theme="light"] footer {
    background: #2c1810;
}

/* Light Mode Text Colors */
[data-theme="light"] #community p,
[data-theme="light"] #signup p,
[data-theme="light"] #signup small {
    color: #333;
}

/* Update colored elements in light mode */
[data-theme="light"] .feature h3,
[data-theme="light"] #signup button,
[data-theme="light"] .cta-button,
[data-theme="light"] #community .cta-button,
[data-theme="light"] #hero button {
    background-color: #ff7f50;
}

[data-theme="light"] .feature h3 {
    color: #ff7f50;
    background: none; /* Remove any background */
}

/* Light mode button hover */
[data-theme="light"] #signup button:hover,
[data-theme="light"] .cta-button:hover,
[data-theme="light"] #community .cta-button:hover {
    background-color: #e17321; /* Slightly lighter orange */
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(199, 100, 28, 0.3); /* Orange-tinted shadow */
}

.feature h3 {
    color: #2575fc; /* Default blue color for dark mode */
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
    /* Remove any background or block styling */
    background: none;
    display: block;
}

/* Join the Forum button specific style */
[data-theme="light"] #community .cta-button {
    background-color: #ff7f50;
    color: #fff;
}

/* Sign Up button specific style */
[data-theme="light"] #signup button {
    background-color: #ff7f50;
    color: #fff;
}

/* Contact form light theme styles */
[data-theme="light"] #contact {
    background: linear-gradient(135deg, #3d231b, #2c1810); /* Very dark brown, matching header */
}

[data-theme="light"] #contact-form {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .form-group label {
    color: #333;
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea {
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group textarea:focus {
    border-color: #ff8051;
    background: #fff;
}

[data-theme="light"] #contact button {
    background-color: #ff8051;
    color: #fff;
}

/* Dark Mode Text Colors */
[data-theme="dark"] #community p,
[data-theme="dark"] #signup p,
[data-theme="dark"] #signup small {
    color: #fff;
}
/* Privacy Policy Link */
[data-theme="light"] #signup small a {
    color: #333;
    text-decoration: underline;
}

[data-theme="dark"] #signup small a {
    color: #fff;
    text-decoration: underline;
}

#signup small a:hover {
    color: var(--button-bg);
    transition: color 0.3s ease;
}

[data-theme="dark"] header h1,
[data-theme="dark"] .nav-links a {
    color: #fff;
}

/* Hero Section */
#hero {
    background: var(--hero-overlay),
        url('../assets/images/hero-bg.jpg') no-repeat center center;
    transition: background 0.3s ease;
}

[data-theme="light"] #hero {
    background: var(--hero-overlay),
        url('../assets/images/hero-bg-light.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    color: #fff;
    margin-left: 1rem;
    cursor: pointer;
}

.theme-toggle i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.theme-toggle:hover i {
    transform: rotate(45deg);
}



/* Hero Section */
#hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
}

.theme-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Dark mode video */
[data-theme="dark"] .video-container video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Light mode video */
[data-theme="light"] .video-container video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Show/hide videos based on theme */
[data-theme="dark"] #light-video {
    display: none;
}

[data-theme="light"] #dark-video {
    display: none;
}   #hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    background: linear-gradient(
        rgba(153, 129, 157, 0.1),
        rgba(79, 95, 132, 0.1),
        rgba(0, 30, 31, 0.2)
    );
}

#hero .content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 0 1rem;
    margin: 0 auto;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.7);
    transform: translateY(-5vh); /* Move up by 15% of viewport height */
    /* OR */
    margin-top: -15vh; /* Alternative way to move up */
}

/* Maintain your existing hero content styles */
#hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.7);
}

#hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

#hero button {
    background-color: #ff7f50;
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 0.5rem;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

#hero button:hover {
    transform: scale(1.05);
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.5);
}

/* Button Hover Effects */
button {
    background-color: #ff7f50; /* Default color */
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 0.5rem;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.3s ease;
}

button:hover {
    background-color: #ff4500; /* Lighter orange on hover */
    transform: scale(1.1); /* Slightly enlarge the button */
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5); /* Add a deeper shadow */
}

/* Sections */
section {
    margin: 2rem auto;
    padding: 1rem;
    max-width: 800px;
    text-align: center;
}

section#features ul {
    list-style: none;
    padding: 0;
}

section#features li {
    margin: 1rem 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

section#features li::before {
    content: '✔'; /* Add a checkmark for each feature */
    color: #2575fc;
    font-size: 1.2rem;
}

/* Features Section */
#features {
    padding: 4rem 2rem;
    background-color: #f4f4f4; /* Light background */
    text-align: center;
}

#features h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #fff;
    text-align: center;
    margin-bottom: 2rem;
    opacity: 0; /* For fade-in animation */
    transform: translateY(20px); /* Start position for animation */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

#features h2.in-view {
    opacity: 1;
    transform: translateY(0);
}

.features-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

.feature {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    width: 300px; /* Fixed width for consistency */
    border-left: 4px solid #c7641c; /* Orange accent border */
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    background: linear-gradient(to bottom right, #fff, #faf6f4);
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.feature img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease-in;
    filter: sepia(20%) hue-rotate(340deg); /* Adds a slight orange tint */
}

.feature img.loaded {
    opacity: 1;
}

.feature h3 {
    font-size: 1.5rem;
    color: #2575fc;
    margin-bottom: 1rem;
}

.feature p {
    font-size: 1rem;
    color: #666;
}

.feature {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.feature.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* General fade-in animation */
.fade-in, .feature {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.in-view, .feature.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Community Section */
#community {
    padding: 3rem 1rem;
    text-align: center;
    background: linear-gradient(135deg, #001e1f, #4f5f84);
    color: #fff;
}

#community h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

#community p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

#community .cta-button {
    background-color: #2575fc;
    color: #fff;
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}

#community .cta-button:hover {
    background-color: #1b63cc;
}

/* Sign-Up Section */
#signup {
    padding: 3rem 1rem;
    text-align: center;
    background-color: #4f5f84;
    color: #fff;
}

#signup h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

#signup p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

#signup form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

#signup input {
    padding: 0.8rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#signup button {
    background: #67596c;
    color: #fff;
    border: none;
    padding: 0.8rem;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

#signup button:hover {
    background: #4b0ea1;
}

#signup small {
    margin-top: 1rem;
    display: block;
    font-size: 0.9rem;
    color: #ddd;
}

#signup small a {
    color: #fff;
    text-decoration: underline;
}

#signup small a:hover {
    color: #c9c9c9;
}

#features, #community, #signup {
    background: transparent; /* Removes the dark background */
}

/* Contact Form Styles */
#contact {
    padding: 1rem 2rem;
    max-width: 800px;
    background: linear-gradient(135deg, #001e1f, #4f5f84);
    margin-bottom: 4rem; /* Add space between form and footer */
}

#contact h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #fff;
}

#contact-form {
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    text-align: center;
    color: #fff;
    font-size: 1.1rem;
}

.form-group input,
.form-group textarea {
    width: 90%;
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff7f50;
    background: rgba(255, 255, 255, 0.2);
}

/* Footer */
footer {
    text-align: center;
    background: #2c180f;
    color: #fff;
    padding: 1rem 0;
}

footer .social-links a {
    color: #fff;
    margin: 0 10px;
    transition: color 0.3s;
}

footer .social-links a:hover {
    color: #f4d03f;
}

#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none; /* Hidden by default */
    background-color: #ff7f50;
    color: #fff;
    border: none;
    padding: 0.8rem;
    font-size: 1.2rem;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.2s, opacity 0.2s ease-in-out;
}

#back-to-top:hover {
    transform: scale(1.1);
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.5);
}

/* Ensure items are displayed in a row on desktop */
@media (min-width: 769px) {
    .nav-links {
        flex-direction: row; /* Keep horizontal for desktop */
        display: flex !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        z-index: 1000;
    }

    #hero {
        position: relative;
        margin: 0 !important;
        padding: 0 !important;
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #hero .content {
        position: relative;
        z-index: 2;
        text-align: center;
        padding: 1rem;
    }

    .content {
        padding-top: 60px; /* Same as header height */
    }

    .theme-video {
        display: none !important; /* Hide video on mobile */
    }

    .video-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    /* Theme-specific backgrounds */
    [data-theme="dark"] .video-container {
        background: url('../assets/images/mobile-dark-fox-bg.svg') no-repeat center bottom;
        background-size: cover;
        background-color: #2c1810;
        background-position: center 90%;
        height: 100%;
        width: 100%;
    }
    
    [data-theme="light"] .video-container {
        background: url('../assets/images/mobile-fox-bg.svg') no-repeat center bottom;
        background-size: cover;
        background-color: #2c1810;
        background-position: center 90%;
        height: 100%;
        width: 100%;
    }

    .video-container video {
        display: none; /* Hide video on mobile */
    }

    nav {
        display: none; /* Hide menu by default */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #2c180f; /* Semi-transparent dark background */
        backdrop-filter: blur(12px); /* Blur effect on mobile */
        -webkit-backdrop-filter: blur(8px); /* Safari support */
        text-align: center;
        flex-direction: column; /* Stack items */
        padding: 1rem 0;
    }

    .menu-toggle {
        display: block;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1000;
        transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    }
    
    .menu-toggle.hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    }
    
    

    .menu-toggle.active {
        transform: rotate(90deg);
    }

    nav.active {
        display: flex; /* Show when menu is active */
        flex-direction: column; /* Stack items vertically */
    }

    main {
        padding-top: 0px; /* Same as header height */
    }

    .nav-links {
        flex-direction: column; /* Stack menu items */
        gap: 1rem;
        padding: 0;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
        color: white;
        font-size: 1.2rem;
        transition: background 0.3s ease;
    }
    .nav-links a:hover {
        background: #ff7f50; /* Highlight background on hover */
        color: black;
    }

    /* Hide theme toggle when menu is open */
    nav.active + .theme-toggle {
        display: none;
    }

    [data-theme="dark"] nav.active {
        background: #010301;
    }

    [data-theme="light"] nav.active {
        background: #2c1810;
    }
}

    nav a {
        display: block;
        margin: 0.5rem 0;
    }

    #hero h2 {
        font-size: 2rem;
    }

    #hero p {
        font-size: 1rem;
    }

    /* Fade-In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide-In Animation */
@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Pop-In Animation */
@keyframes popIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Add Fade-In Animation to Sections */
/* Reset Opacity for Sections */
.section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* When Section is in View */
.section.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Section Fade In */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Button Hover Effects */
button {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Link Hover Effects */
a {
    transition: color 0.3s ease;
}