/* Base Styles */
:root {
    --primary-color: #5C3D2E;
    --secondary-color: #B85C38;
    --accent-color: #E0C097;
    --light-color: #F5F5F5;
    --dark-color: #2C2C2C;
    --text-color: #333333;
    --background-color: #FFFFFF;
    --section-padding: 80px 0;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Flex', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 20px;
}

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

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

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

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

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.underline {
    height: 3px;
    width: 60px;
    background-color: var(--secondary-color);
    margin: 0 auto;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo a {
    display: flex;
    align-items: center;
    font-family: 'Roboto Flex', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo img {
    height: 80px;
    width: auto;
    background-color: transparent;
}

.logo-text {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
}

.logo-title {
    font-family: 'Roboto Flex', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: black;
    line-height: 1.2;
}

.logo-subtitle {
    font-family: 'Roboto Flex', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: black;
}

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

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark-color);
    position: relative;
}

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

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

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-placeholder.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

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

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero .btn {
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

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

/* Coffee Journey Section */
.coffee-journey {
    padding: 40px 0;
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.coffee-journey::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/coffee-beans-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
}

.journey-content {
    position: relative;
    z-index: 1;
}

.journey-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.timeline-item {
    position: relative;
    width: 48%;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.timeline-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.timeline-icon {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-right: 15px;
    min-width: 30px;
}

.timeline-text-container {
    flex: 1;
}

.timeline-title {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.timeline-text {
    color: var(--text-color);
    line-height: 1.4;
    font-size: 0.9rem;
    margin: 0;
}

.journey-cta {
    text-align: center;
    margin-top: 20px;
    width: 100%;
}

.journey-cta .btn {
    font-size: 1rem;
    padding: 10px 30px;
}

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

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

.timeline-item:nth-child(odd) .timeline-content {
    animation: fadeInLeft 1s ease-out forwards;
}

.timeline-item:nth-child(even) .timeline-content {
    animation: fadeInRight 1s ease-out forwards;
}

.timeline-item:nth-child(2) .timeline-content {
    animation-delay: 0.3s;
}

.timeline-item:nth-child(3) .timeline-content {
    animation-delay: 0.6s;
}

.timeline-item:nth-child(4) .timeline-content {
    animation-delay: 0.9s;
}

/* Brand Feature */
.brand-feature {
    padding: var(--section-padding);
}

.brand-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.brand-image {
    flex: 1;
    text-align: center;
}

.brand-image img {
    max-width: 300px;
    margin: 0 auto;
}

.brand-text {
    flex: 1;
}

/* Coffee Section */
.coffee {
    padding: var(--section-padding);
    background-color: var(--light-color);
}

/* App Section */
.app-section {
    padding: var(--section-padding);
    background-color: white;
    overflow: hidden;
}

.app-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.app-text {
    flex: 1;
    padding-right: 20px;
}

.app-text h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.app-text p {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.app-features {
    list-style: none;
    margin-bottom: 30px;
}

.app-features li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.app-features i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-right: 15px;
    width: 25px;
    text-align: center;
}

.app-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.app-btn {
    display: flex;
    align-items: center;
    background-color: var(--dark-color);
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.app-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    color: white;
}

.app-btn i {
    font-size: 1.5rem;
    margin-right: 10px;
}

.app-btn span {
    font-weight: 500;
}

.app-images {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    position: relative;
}

.app-image {
    flex: 0 0 calc(33.333% - 20px);
    position: relative;
    text-align: center;
}

.app-image img {
    max-width: 100%;
    max-height: 350px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.app-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.app-image-caption {
    margin-top: 10px;
    font-weight: 500;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.coffee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.coffee-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.coffee-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.coffee-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.coffee-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.5rem;
}

.coffee-card p {
    padding: 0 20px 20px;
    color: #666;
}

/* Ambiance Section */
.ambiance {
    padding: var(--section-padding);
    text-align: center;
}

.ambiance h2 {
    margin-bottom: 40px;
}

.ambiance-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Menu Section */
.menu {
    padding: var(--section-padding);
    background-color: var(--light-color);
}

.menu-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.tab-btn.active, .tab-btn:hover {
    color: var(--secondary-color);
}

.tab-btn.active::after, .tab-btn:hover::after {
    width: 80%;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.menu-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px dashed #ddd;
}

.item-name {
    font-weight: 600;
    font-size: 1.1rem;
    flex: 1;
}

.item-price {
    font-weight: 600;
    color: var(--secondary-color);
    margin: 0 20px;
}

.item-desc {
    flex-basis: 100%;
    margin-top: 5px;
    color: #666;
    font-size: 0.9rem;
}

/* Locations Section */
.locations {
    padding: var(--section-padding);
}

.location-content {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.flagship-location {
    flex: 1;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.flagship-location:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.flagship-location h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.map-link {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.map-link:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

.map-link i {
    margin-right: 8px;
}

.expansion-plans {
    flex: 1;
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.expansion-plans h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Tagline Section */
.tagline {
    padding: var(--section-padding);
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    position: relative;
}

.quote-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto 30px;
    padding: 20px 0;
}

.quote-icon {
    font-size: 2rem;
    color: var(--accent-color);
    opacity: 0.7;
    margin: 0 10px;
}

.tagline h2 {
    font-size: 2.2rem;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    font-style: italic;
    line-height: 1.4;
    margin: 15px auto;
    display: inline-block;
}

.tagline-separator {
    width: 100px;
    height: 2px;
    background-color: var(--accent-color);
    margin: 0 auto 25px;
}

.tagline p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
    letter-spacing: 0.5px;
}

@media screen and (max-width: 768px) {
    .tagline h2 {
        font-size: 1.8rem;
    }
    
    .quote-icon {
        font-size: 1.5rem;
    }
}

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

.contact-content {
    display: flex;
    gap: 50px;
}

.contact-form {
    flex: 1;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Roboto Flex', sans-serif;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
}

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

.footer-logo img {
    height: 120px;
    width: auto;
    background-color: transparent;
}

.footer-logo span {
    font-family: 'Roboto Flex', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    color: #ddd;
}

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

.footer-newsletter h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.footer-newsletter form {
    display: flex;
}

.footer-newsletter input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-family: 'Roboto Flex', sans-serif;
}

.footer-newsletter .btn {
    border-radius: 0 5px 5px 0;
    padding: 10px 20px;
}

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

.company-details {
    text-align: left;
    padding-left: 20px;
    border-left: 1px dashed rgba(255, 255, 255, 0.1);
}

.company-details p {
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: #aaa;
}

.company-motto {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-top: 10px;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .about-content,
    .brand-content,
    .app-content,
    .contact-content {
        flex-direction: column;
    }
    
    
    .app-text {
        padding-right: 0;
        order: 2;
    }
    
    .app-images {
        margin-bottom: 30px;
        order: 1;
    }
    
    .app-image {
        flex: 0 0 calc(50% - 20px);
    }
    
    .about-image {
        order: -1;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 768px) {
    .location-content {
        flex-direction: column;
    }
    
    .flagship-location, .expansion-plans {
        width: 100%;
    }
    
    .app-images {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: hidden;
        overflow-y: hidden;
        scroll-behavior: smooth;
        position: relative;
        width: 100%;
        padding-bottom: 40px;
    }
    
    .app-image {
        flex: 0 0 100%;
        transition: transform 0.3s ease;
        display: none;
        text-align: center;
    }
    
    .app-image.active {
        display: block;
    }
    
    .app-image img {
        margin: 0 auto;
    }
    
    .slider-controls {
        display: flex;
        justify-content: center;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
    }
    
    .slider-dots {
        display: flex;
        gap: 10px;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: #ddd;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }
    
    .slider-dot.active {
        background-color: var(--secondary-color);
    }
    
    .slider-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.8);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }
    
    .slider-arrow:hover {
        background-color: white;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }
    
    .slider-prev {
        left: 10px;
    }
    
    .slider-next {
        right: 10px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .logo-title {
        font-size: 1.5rem;
    }
    
    .logo-subtitle {
        font-size: 0.8rem;
    }
    
    .timeline-item {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .nav-links {
        position: absolute;
        right: 0;
        top: 70px;
        background-color: white;
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.5s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .burger {
        display: block;
    }
    
    .ambiance-gallery {
        grid-template-columns: 1fr;
    }
    
    .footer-content > div {
        flex-basis: 100%;
        margin-bottom: 30px;
    }
    
    .footer-logo-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .company-details {
        text-align: center;
        padding-left: 0;
        padding-top: 15px;
        border-left: none;
        border-top: 1px dashed rgba(255, 255, 255, 0.1);
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .app-buttons {
        flex-direction: column;
    }
    
    .app-btn {
        width: 100%;
        justify-content: center;
    }
    
    .logo img {
        height: 60px;
    }
    
    .logo-title {
        font-size: 1.2rem;
    }
    
    .logo-subtitle {
        font-size: 0.7rem;
    }
    
    .hero {
        height: 80vh;
    }
    
    .coffee-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .item-price {
        margin: 5px 0;
    }
    
    .footer-newsletter form {
        flex-direction: column;
    }
    
    .footer-newsletter input {
        border-radius: 5px;
        margin-bottom: 10px;
    }
    
    .footer-newsletter .btn {
        border-radius: 5px;
        width: 100%;
    }
}
