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

:root {
    --primary-black: #2C1810;
    --primary-white: #F5F1EB;
    --accent-red: #8B4513;
    --accent-yellow: #D2691E;
    --coffee-dark: #3E2723;
    --coffee-medium: #5D4037;
    --coffee-light: #BCAAA4;
    --cream: #FFF8DC;
    --espresso: #1A0E0A;
    --font-primary: 'Inter', sans-serif;
    --font-mono: 'Space Mono', monospace;
}

body {
    font-family: var(--font-primary);
    background-color: var(--cream);
    color: var(--primary-black);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--cream);
    border-bottom: 4px solid var(--espresso);
    z-index: 1000;
    padding: 20px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    line-height: 0.8;
}

.logo-text {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-black);
    letter-spacing: -0.02em;
}

.logo-subtext {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 400;
    color: var(--coffee-medium);
    letter-spacing: 0.1em;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-black);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-red);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--espresso);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--cream) 0%, var(--coffee-light) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    padding: 0 20px;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-mono);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 30px;
    color: var(--primary-black);
}

.title-line {
    display: block;
    position: relative;
}

.title-line:nth-child(2) {
    color: var(--accent-red);
    margin-left: 20px;
}

.title-line:nth-child(3) {
    margin-left: 40px;
}

.hero-subtitle {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--coffee-dark);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.4;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-button {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 15px 30px;
    border: 3px solid var(--espresso);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    background: transparent;
}

.cta-button.primary {
    background-color: var(--espresso);
    color: var(--cream);
}

.cta-button.primary:hover {
    background-color: var(--accent-red);
    border-color: var(--accent-red);
    transform: translateY(-2px);
}

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

.cta-button.secondary:hover {
    background-color: var(--espresso);
    color: var(--cream);
    transform: translateY(-2px);
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coffee-cup {
    width: 200px;
    height: 200px;
    background-color: var(--espresso);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: relative;
    z-index: 2;
}

.coffee-cup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background-color: var(--accent-red);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

/* Coffee Steam */
.coffee-steam {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 40px;
}

.steam {
    position: absolute;
    width: 3px;
    height: 20px;
    background: linear-gradient(to top, var(--coffee-light), transparent);
    border-radius: 50%;
    animation: steam-rise 2s ease-in-out infinite;
}

.steam-1 {
    left: 20px;
    animation-delay: 0s;
}

.steam-2 {
    left: 30px;
    animation-delay: 0.5s;
}

.steam-3 {
    left: 40px;
    animation-delay: 1s;
}

@keyframes steam-rise {
    0% {
        opacity: 0;
        transform: translateY(0) scaleY(1);
    }
    50% {
        opacity: 1;
        transform: translateY(-10px) scaleY(1.2);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px) scaleY(0.8);
    }
}

/* Coffee Beans */
.coffee-beans {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.bean {
    position: absolute;
    width: 20px;
    height: 12px;
    background-color: var(--coffee-dark);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    transform: rotate(45deg);
    animation: bean-float 4s ease-in-out infinite;
}

.bean::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background-color: var(--coffee-medium);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

.bean-1 {
    top: 50px;
    left: 50px;
    animation-delay: 0s;
}

.bean-2 {
    top: 100px;
    right: 80px;
    animation-delay: 1s;
}

.bean-3 {
    bottom: 120px;
    left: 80px;
    animation-delay: 2s;
}

.bean-4 {
    top: 200px;
    right: 120px;
    animation-delay: 0.5s;
}

.bean-5 {
    bottom: 80px;
    right: 50px;
    animation-delay: 1.5s;
}

@keyframes bean-float {
    0%, 100% {
        transform: rotate(45deg) translateY(0);
    }
    50% {
        transform: rotate(45deg) translateY(-10px);
    }
}

.geometric-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.shape {
    position: absolute;
    background-color: var(--accent-yellow);
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 50px;
    right: 50px;
    transform: rotate(45deg);
}

.shape-2 {
    width: 60px;
    height: 60px;
    bottom: 100px;
    left: 100px;
    border-radius: 50%;
}

.shape-3 {
    width: 80px;
    height: 80px;
    top: 200px;
    right: 150px;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

/* Section Styles */
.section-title {
    font-family: var(--font-mono);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-black);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--accent-red);
}

/* Menu Section */
.menu-section {
    padding: 100px 0;
    background-color: var(--cream);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    margin-top: 60px;
}

.menu-category {
    background-color: var(--primary-white);
    border: 4px solid var(--espresso);
    padding: 40px;
    position: relative;
}

.category-title {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-red);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 2px solid var(--coffee-light);
}

.menu-item:last-child {
    border-bottom: none;
}

.item-name {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-black);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.item-price {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 400;
    color: var(--coffee-dark);
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--coffee-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    max-width: 500px;
}

.about-description {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-red);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-body {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--coffee-dark);
    margin-bottom: 40px;
    line-height: 1.6;
}

.stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-black);
    line-height: 1;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--coffee-medium);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 5px;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.roasting-machine {
    width: 300px;
    height: 300px;
    background-color: var(--espresso);
    border-radius: 20px;
    position: relative;
}

.roasting-machine::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 50px;
    right: 50px;
    bottom: 50px;
    background-color: var(--accent-yellow);
    border-radius: 10px;
}

/* Roasting Machine Details */
.roasting-drum {
    position: absolute;
    top: 80px;
    left: 80px;
    right: 80px;
    bottom: 80px;
    background-color: var(--coffee-dark);
    border-radius: 50%;
    border: 3px solid var(--espresso);
}

.roasting-flame {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 30px;
    background: linear-gradient(to top, var(--accent-red), var(--accent-yellow));
    border-radius: 50% 50% 0 0;
    animation: flame-flicker 1.5s ease-in-out infinite alternate;
}

@keyframes flame-flicker {
    0% {
        transform: translateX(-50%) scaleY(1);
    }
    100% {
        transform: translateX(-50%) scaleY(1.2);
    }
}

.roasting-smoke {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 60px;
}

.smoke {
    position: absolute;
    width: 8px;
    height: 30px;
    background: linear-gradient(to top, var(--coffee-light), transparent);
    border-radius: 50%;
    animation: smoke-rise 3s ease-in-out infinite;
}

.smoke-1 {
    left: 20px;
    animation-delay: 0s;
}

.smoke-2 {
    left: 36px;
    animation-delay: 1s;
}

.smoke-3 {
    left: 52px;
    animation-delay: 2s;
}

@keyframes smoke-rise {
    0% {
        opacity: 0;
        transform: translateY(0) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-20px) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translateY(-40px) scale(0.8);
    }
}

/* Coffee Grinder */
.coffee-grinder {
    position: absolute;
    top: 50px;
    right: 50px;
    width: 80px;
    height: 100px;
}

.grinder-base {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: var(--coffee-medium);
    border-radius: 10px;
    border: 2px solid var(--espresso);
}

.grinder-handle {
    position: absolute;
    top: 0;
    right: 10px;
    width: 40px;
    height: 40px;
    background-color: var(--accent-yellow);
    border-radius: 50%;
    border: 3px solid var(--espresso);
    animation: grind-rotate 2s linear infinite;
}

@keyframes grind-rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Location Section */
.location-section {
    padding: 100px 0;
    background-color: var(--cream);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.location-info h3 {
    font-family: var(--font-mono);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.location-info p {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--coffee-dark);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hours h4 {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-red);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hours p {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 300;
    color: var(--coffee-dark);
    margin-bottom: 30px;
}

.map-placeholder {
    height: 400px;
    background-color: var(--coffee-light);
    border: 4px solid var(--espresso);
    position: relative;
    overflow: hidden;
}

.map-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(var(--espresso) 1px, transparent 1px),
        linear-gradient(90deg, var(--espresso) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
}

/* Coffee Shop Pin */
.coffee-shop-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.pin-icon {
    font-size: 2rem;
    color: var(--accent-red);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: pin-bounce 2s ease-in-out infinite;
}

.pin-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid var(--accent-red);
    border-radius: 50%;
    animation: pin-pulse 2s ease-in-out infinite;
}

@keyframes pin-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes pin-pulse {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(2);
    }
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: var(--coffee-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-label {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-red);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.contact-value {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--primary-black);
}

.social-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-black);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--accent-red);
}

.contact-form {
    background-color: var(--primary-white);
    border: 4px solid var(--espresso);
    padding: 40px;
}

.form-group {
    margin-bottom: 30px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 3px solid var(--espresso);
    background-color: var(--primary-white);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--primary-black);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-red);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--coffee-medium);
}

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

/* Footer */
.footer {
    background-color: var(--espresso);
    color: var(--cream);
    padding: 40px 0;
    position: relative;
}

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

.footer-logo .logo-text {
    color: var(--cream);
}

.footer-logo .logo-subtext {
    color: var(--coffee-light);
}

.footer-text {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--coffee-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Watermark Styles */
.watermark {
    position: fixed;
    z-index: 1000;
    pointer-events: none;
}

.watermark-text {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--coffee-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.watermark:hover .watermark-text {
    opacity: 1;
}

/* Watermark 1: Bottom-right corner (original) */
.watermark-1 {
    bottom: 20px;
    right: 20px;
    opacity: 0.6;
}

/* Watermark 2: Top-right corner */
.watermark-2 {
    top: 100px;
    right: 20px;
    opacity: 0.5;
}

.watermark-2 .watermark-text {
    font-size: 0.8rem;
    color: var(--accent-red);
    opacity: 0.8;
}

/* Watermark 3: Center bottom */
.watermark-3 {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.6;
}

.watermark-3 .watermark-text {
    font-size: 0.9rem;
    color: var(--accent-yellow);
    opacity: 0.9;
    text-align: center;
}

/* Watermark 4: Floating badge style */
.watermark-4 {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    opacity: 0.7;
}

.watermark-badge {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--cream);
    background-color: var(--accent-red);
    padding: 8px 12px;
    border: 2px solid var(--espresso);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
    transition: all 0.3s ease;
    display: block;
}

.watermark-4:hover .watermark-badge {
    opacity: 1;
    transform: scale(1.05);
    background-color: var(--espresso);
}

/* Watermark 5: Diagonal corner */
.watermark-5 {
    bottom: 20px;
    left: 20px;
    opacity: 0.6;
    transform: rotate(-5deg);
}

.watermark-5 .watermark-text {
    font-size: 0.8rem;
    color: var(--coffee-medium);
    opacity: 0.8;
    background-color: rgba(245, 241, 235, 0.8);
    padding: 4px 8px;
    border: 1px solid var(--coffee-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 20px 60px;
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: 40px;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .coffee-cup {
        width: 150px;
        height: 150px;
    }
    
    .about-content,
    .location-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .stats {
        justify-content: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .watermark {
        position: static;
        text-align: center;
        margin-top: 20px;
        opacity: 1;
        transform: none !important;
    }
    
    .watermark-2 {
        top: 80px;
    }
    
    .watermark-4 {
        top: auto;
        bottom: 20px;
        right: 50%;
        transform: translateX(50%);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .menu-category,
    .contact-form {
        padding: 20px;
    }
    
    .cta-button {
        padding: 12px 20px;
        font-size: 0.8rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
}

/* Animation Classes */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-slide-up {
    animation: slideInUp 0.6s ease-out;
}

.animate-slide-left {
    animation: slideInLeft 0.6s ease-out;
}

.animate-slide-right {
    animation: slideInRight 0.6s ease-out;
}

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