:root {
    --primary: #6F4E37;
    --primary-light: #A67C52;
    --primary-dark: #3C2A1E;
    --accent: #D4A76A;
    --text: #E0E0E0;
    --text-light: #A0A0A0;
    --background: #121212;
    --background-alt: #1E1E1E;
    --shadow: rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background-color: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

.spline-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.spline-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.7;
    pointer-events: none;
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
    pointer-events: none;
}

.content-container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    width: 100%;
}

/* Navigation Styles */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: all 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 10;
}

.logo img {
    height: 40px;
}

.coffee-accent {
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

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

.main-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.2;
    background: linear-gradient(to right, #FFFFFF, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.brewing-indicator {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.coffee-cup {
    width: 40px;
    height: 30px;
    border: 2px solid var(--primary);
    border-radius: 0 0 10px 10px;
    position: relative;
    background-color: transparent;
}

.coffee-cup:before {
    content: '';
    position: absolute;
    right: -10px;
    top: 5px;
    width: 15px;
    height: 10px;
    border: 2px solid var(--primary);
    border-radius: 10px 10px 10px 0;
}

.coffee {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background-color: var(--primary);
    border-radius: 0 0 8px 8px;
    animation: brew 2s infinite;
}

@keyframes brew {
    0% {
        height: 0%;
    }
    50% {
        height: 60%;
    }
    100% {
        height: 40%;
    }
}

.brewing-indicator p {
    color: var(--primary);
    font-weight: 500;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--accent);
    color: var(--primary-dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 167, 106, 0.3);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: var(--primary-light);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 167, 106, 0.5);
}

/* Sections */
section {
    padding: 8rem 5%;
    position: relative;
    z-index: 1;
}

section h2 {
    font-size: 2.5rem;
    color: white;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

section h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--accent));
}

/* About Section */
.about {
    background-color: var(--background-alt);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(111, 78, 55, 0.1) 0%, rgba(30, 30, 30, 0) 70%);
    z-index: 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-image {
    flex: 1;
}

.feature-img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px var(--shadow);
}

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

/* Feature Highlights Section */
.feature-highlights {
    padding: 6rem 10%;
    background-color: white;
}

.feature-row {
    display: flex;
    gap: 4rem;
}

.feature-col {
    flex: 1;
    padding: 2rem;
    border-radius: 10px;
    background-color: var(--background-alt);
    box-shadow: 0 5px 15px var(--shadow);
}

.feature-col h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: left;
}

.feature-col h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    transform: none;
    width: 60px;
    height: 3px;
    background-color: var(--accent);
}

.feature-col p {
    font-size: 1.1rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .feature-row {
        flex-direction: column;
        gap: 2rem;
    }
}

.coffee-card {
    background-color: rgba(30, 30, 30, 0.7);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(111, 78, 55, 0.2);
}

.coffee-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(212, 167, 106, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.coffee-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 600;
}

/* Contact Section */
.contact {
    text-align: center;
    background-color: var(--background-alt);
}

.contact-text {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.brewing-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 3rem 0;
}

.coffee-cup-large {
    width: 80px;
    height: 60px;
    border: 3px solid var(--primary);
    border-radius: 0 0 20px 20px;
    position: relative;
    background-color: transparent;
    margin-bottom: 1.5rem;
}

.coffee-cup-large:before {
    content: '';
    position: absolute;
    right: -20px;
    top: 10px;
    width: 30px;
    height: 20px;
    border: 3px solid var(--primary);
    border-radius: 20px 20px 20px 0;
}

.coffee-large {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background-color: var(--primary);
    border-radius: 0 0 17px 17px;
    animation: brew-large 3s infinite;
}

@keyframes brew-large {
    0% {
        height: 0%;
    }
    50% {
        height: 70%;
    }
    100% {
        height: 40%;
    }
}

.brewing-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 2px;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    display: none;
}

.newsletter-form.active {
    display: block;
}

.newsletter-form h3 {
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.newsletter-form form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.newsletter-form button {
    padding: 0.8rem 1.5rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: var(--primary-dark);
}

.form-message {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Founders Section */
.founders {
    padding: 6rem 10%;
    background-color: var(--background-alt);
    text-align: center;
}

.founders-container {
    display: flex;
    justify-content: center;
    gap: 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.founder {
    flex: 1;
    max-width: 280px;
}

.founder-link {
    text-decoration: none;
    color: var(--text);
    display: block;
    transition: all 0.3s ease;
    padding: 1.5rem;
    background-color: rgba(30, 30, 30, 0.5);
    border-radius: 16px;
    border: 1px solid rgba(111, 78, 55, 0.2);
}

.founder-link:hover {
    transform: translateY(-10px);
    background-color: rgba(30, 30, 30, 0.8);
    border-color: var(--accent);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.founder-img-container {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--accent);
    box-shadow: 0 5px 15px rgba(212, 167, 106, 0.3);
}

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

.founder h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.founder p {
    font-size: 0.9rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .founders-container {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }
}

/* Footer */
footer {
    background-color: rgba(20, 20, 20, 0.9);
    color: white;
    padding: 3rem 5%;
    border-top: 1px solid rgba(111, 78, 55, 0.3);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img-small {
    height: 30px;
}

.footer-text {
    text-align: right;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .main-title {
        font-size: 2.8rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text, .about-image {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1rem 5%;
    }
    
    .nav-links {
        display: none;
    }
    
    section {
        padding: 6rem 5%;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-text {
        text-align: center;
    }
    
    .mobile-menu.flex {
        display: flex;
    }
}

@media (max-width: 576px) {
    .logo img {
        height: 30px;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .social-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact form {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact input,
    .contact button {
        width: 100%;
    }
}
