/* 
   Vuka Darkie Manufacturing Stokvel - Main Stylesheet
   Colors: Gold (#D4AF37), Black (#000000), White (#FFFFFF)
*/

/* Base Styles */
:root {
    --primary-color: #c4ac57;
    --secondary-color: #000000;
    --text-color: #333333;
    --light-color: #FFFFFF;
    --gray-color: #F5F5F5;
    --dark-gray: #666666;
    --border-color: #E0E0E0;
    --shadow: none;
    --transition: all 0.3s ease;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

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

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

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 15px;
}

.divider {
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0 auto;
    margin-bottom: 25px;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.text-link {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.text-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.text-link:hover {
    color: var(--secondary-color);
}

.text-link:hover i {
    transform: translateX(5px);
}

.cta-center {
    text-align: center;
    margin-top: 2rem;
}

/* Header Styles */
header {
    background-color: var(--light-color);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 10px 20px;
}

.logo {
    max-width: 90px;
    height: auto;
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none; /* Hidden by default, shown in responsive.css for mobile */
    cursor: pointer;
    z-index: 1010; /* Higher than other elements */
    transition: all 0.3s ease;
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 8px 12px;
    border-radius: 4px;
}

.menu-toggle i {
    font-size: 24px;
    pointer-events: none; /* Ensures clicks go to the parent element */
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin-left: 25px;
}

.nav-menu a {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 16px;
    position: relative;
    padding-bottom: 5px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 16px;
}

.nav-menu a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

.nav-menu a:hover:after,
.nav-menu a.active:after {
    width: 100%;
}



.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('../images/team/team-photo.jpg');
    background-size: cover;
    background-position: center top;
    color: var(--light-color);
    text-align: center;
    padding: 180px 0 100px;
    margin-top: 70px;
}

.hero h1, .hero h2 {
    color: var(--light-color);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.hero h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Stats Section */
.stats {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 50px 0;
}

.stats .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 0 20px;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    font-weight: 500;
}

/* About Preview Section */
.about-preview {
    padding: 80px 0;
}

.about-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

/* How It Works Preview */
.how-it-works-preview {
padding: 60px 0;
background-color: var(--gray-color);
}

.steps {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
gap: 30px;
    flex-wrap: wrap;
    gap: 30px;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 30px 20px;
    background-color: var(--light-color);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-10px);
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.step h3 {
    margin-bottom: 10px;
}

/* Testimonials */
.testimonials {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.testimonial-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial {
    text-align: center;
    padding: 20px;
    display: none;
    animation: fadeEffect 1s;
}

.testimonial.active {
    display: block;
}

.testimonial-content {
    background-color: var(--light-color);
    padding: 40px 30px;
    border-radius: 10px;
    position: relative;
    margin-bottom: 30px;
    border: 1px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.1);
}

.testimonial-content:before {
    content: '\201C';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    font-family: Georgia, serif;
    opacity: 0.3;
}

.testimonial-content:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 15px 15px 0;
    border-style: solid;
    border-color: var(--light-color) transparent transparent;
    filter: drop-shadow(0 2px 1px rgba(0,0,0,0.05));
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    position: relative;
}

.testimonial-author h4 {
    margin-bottom: 5px;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
}

.testimonial-author h4:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.testimonial-author p {
    color: var(--dark-gray);
}

.testimonial-nav {
    text-align: center;
    margin-top: 30px;
}

.testimonial-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--light-color);
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
}

.testimonial-arrow:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.testimonial-prev {
    left: 0;
}

.testimonial-next {
    right: 0;
}

@keyframes fadeEffect {
    from {opacity: 0.7;}
    to {opacity: 1;}
}

/* CTA Section */
.cta-section {
    background-color: var(--secondary-color);
    color: var(--light-color);
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    color: var(--light-color);
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: var(--light-color);
    color: var(--text-color);
    padding: 80px 0 20px;
    border-top: 1px solid #eee;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo img {
    max-width: 120px;
    margin-bottom: 20px;
}

.footer-links, .footer-contact {
    flex: 1;
    min-width: 200px;
}

.footer-links h3, .footer-contact h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3:after, .footer-contact h3:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
}

.footer-links ul li, .footer-contact ul li {
    margin-bottom: 10px;
}

.footer-links a, .footer-contact a {
    color: var(--text-color);
}

.footer-links a:hover, .footer-contact a:hover {
    color: var(--primary-color);
}

.footer-contact ul li i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--dark-gray);
    font-size: 0.9rem;
}
