@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;600;700;800&display=swap');

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

:root {
    --primary-color: #6F4E37;
    --secondary-color: #A0826D;
    --accent-color: #D4A574;
    --dark-color: #3E2723;
    --light-color: #F8F6F0;
    --text-color: #2C2C2C;
    --text-light: #666666;
    --border-color: #E8E8E8;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: #fafaf7;
    letter-spacing: 0.3px;
}

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

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, #5A3E30 100%);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
}

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

.logo {
    font-size: 1.7rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

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

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    padding: 0.5rem 0.8rem;
    border-radius: 4px;
    position: relative;
    font-size: 0.95rem;
}

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

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

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

/* Hero Section */
.hero {
    /* Layered background: subtle gradient over photograph */
    background-image: linear-gradient(135deg, rgba(111,78,55,0.75) 0%, rgba(62,39,35,0.75) 100%), url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 30px;
    text-align: center;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="coffee" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="30" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="1200" height="600" fill="url(%23coffee)"/></svg>');
    opacity: 0.5;
}

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

.hero-content h1 {
    font-size: 3.8rem;
    margin-bottom: 1.2rem;
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 38px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, #C89A5C 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--accent-color) 0%, #C89A5C 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.4);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #5A3E30 100%);
    color: white;
    padding: 80px 30px;
    text-align: center;
    position: relative;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 0.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 0.3px;
}

/* Sections */
section {
    padding: 80px 30px;
}

section h2 {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 3.5rem;
    color: var(--primary-color);
    font-weight: 800;
    position: relative;
}

section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color) 0%, transparent 100%);
    margin: 1rem auto 0;
}

/* Highlights Section */
.highlights {
    background: linear-gradient(180deg, white 0%, var(--light-color) 100%);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.highlight-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.card-image img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    margin-bottom: 1rem;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    border-radius: 12px 12px 0 0;
}

.highlight-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.highlight-card .icon {
    font-size: 3.2rem;
    margin-bottom: 1.2rem;
    display: inline-block;
    transition: var(--transition);
}

.highlight-card:hover .icon {
    transform: scale(1.1);
}

.highlight-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.35rem;
    font-weight: 700;
}

.highlight-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* CTA Section */
.cta {
    /* CTA uses a photo background with a dark overlay for legibility */
    background-image: linear-gradient(135deg, rgba(62,39,35,0.7) 0%, rgba(90,62,48,0.7) 100%), url('images/cta.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    right: -50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta h2 {
    color: white;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

/* Infrastructure Section */
.infrastructure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.facility-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border-left: 5px solid var(--accent-color);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.facility-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    border-left-color: var(--primary-color);
}

.facility-icon {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
    display: inline-block;
    transition: var(--transition);
}

.facility-card:hover .facility-icon {
    transform: scale(1.15) rotate(5deg);
}

.facility-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.facility-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Cafe Layout Section */
.cafe-layout {
    background: linear-gradient(180deg, white 0%, var(--light-color) 100%);
}

.layout-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 2.5rem;
}

.layout-item {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
}

.layout-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.layout-item h3 {
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.layout-item p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Equipment Section */
.equipment {
    background: linear-gradient(180deg, var(--light-color) 0%, white 100%);
}

.equipment-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    list-style: none;
}

.equipment-list li {
    background: white;
    padding: 1.8rem;
    border-radius: 10px;
    border-left: 5px solid var(--accent-color);
    font-size: 1.02rem;
    color: var(--text-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    font-weight: 500;
}

.equipment-list li:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--primary-color);
}

/* Menu Section */
.menu-section {
    background: linear-gradient(180deg, var(--light-color) 0%, white 100%);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.menu-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.menu-item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    transition: height 0.3s ease;
}

.menu-item:hover::after {
    height: 100%;
}

.menu-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.menu-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.6rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.menu-item .price {
    color: var(--accent-color);
    font-weight: 800;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.menu-item p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* About Section */
.about-story {
    background: linear-gradient(180deg, var(--light-color) 0%, white 100%);
}

.story-content {
    max-width: 850px;
    margin: 0 auto;
}

.story-content p {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 2rem;
    color: var(--text-light);
    text-align: justify;
}

/* Mission and Vision */
.mission-vision {
    background: linear-gradient(180deg, white 0%, var(--light-color) 100%);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.mission-vision .container {
    display: contents;
}

.mission-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border-top: 5px solid var(--accent-color);
    transition: var(--transition);
    position: relative;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.mission-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.45rem;
    font-weight: 700;
}

.mission-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

/* Values Section */
.values {
    background: linear-gradient(180deg, var(--light-color) 0%, white 100%);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.value-item {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    background: white;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    position: relative;
}

.value-item:hover {
    transform: translateY(-10px);
    background: white;
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.value-icon {
    font-size: 3.5rem;
    margin-bottom: 1.2rem;
    display: inline-block;
    transition: var(--transition);
}

.value-item:hover .value-icon {
    transform: scale(1.15) rotate(-5deg);
}

.value-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.value-item p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Team Section */
.team {
    background: linear-gradient(180deg, white 0%, var(--light-color) 100%);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.team-member {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--secondary-color) 100%);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.member-avatar {
    font-size: 4.5rem;
    margin-bottom: 1.2rem;
    display: inline-block;
}

.team-member h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.team-member .title {
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.team-member p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Achievements Section */
.achievements {
    background: linear-gradient(180deg, white 0%, var(--light-color) 100%);
}

.achievements-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
}

.achievement {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    border-left: 5px solid var(--accent-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.achievement:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--primary-color);
}

.achievement-number {
    font-size: 2.8rem;
    display: block;
    margin-bottom: 1rem;
}

.achievement p {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    background: linear-gradient(180deg, var(--light-color) 0%, white 100%);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.contact-item {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
}

.contact-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    border-radius: 0 0 12px 12px;
}

.contact-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
    color: white;
    text-align: center;
    padding: 3rem 30px;
    margin-top: 4rem;
    position: relative;
    border-top: 3px solid var(--accent-color);
}

.footer p {
    margin: 0.8rem 0;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 0.3px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    section {
        padding: 60px 20px;
    }

    .nav-container {
        padding: 0 20px;
    }

    section h2 {
        font-size: 2.1rem;
    }

    section h2::after {
        width: 50px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 1.5rem;
        font-size: 0.9rem;
    }

    .hero {
        padding: 80px 20px;
        min-height: 500px;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .page-header {
        padding: 60px 20px;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    section {
        padding: 60px 20px;
    }

    section h2 {
        font-size: 1.9rem;
        margin-bottom: 2.5rem;
    }

    .menu-grid,
    .highlights-grid,
    .infrastructure-grid,
    .values-grid,
    .team-grid,
    .achievements-list,
    .layout-info,
    .contact-info,
    .equipment-list {
        gap: 1.8rem;
    }

    .mission-vision {
        display: block;
    }

    .mission-card {
        margin-bottom: 0;
    }

    .mission-card:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 0.8rem;
        font-size: 0.8rem;
    }

    .logo {
        font-size: 1.3rem;
    }

    .nav-container {
        padding: 0 15px;
    }

    .hero {
        padding: 60px 15px;
        min-height: 400px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.8rem;
    }

    .btn {
        padding: 12px 28px;
        font-size: 0.9rem;
    }

    .page-header {
        padding: 50px 15px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header p {
        font-size: 0.95rem;
    }

    section {
        padding: 50px 15px;
    }

    section h2 {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }

    section h2::after {
        width: 40px;
        margin-top: 0.8rem;
    }

    .menu-grid,
    .highlights-grid,
    .infrastructure-grid,
    .values-grid,
    .team-grid,
    .achievements-list,
    .layout-info,
    .contact-info,
    .equipment-list {
        gap: 1.5rem;
    }

    .menu-item,
    .highlight-card,
    .facility-card,
    .team-member,
    .value-item,
    .achievement,
    .contact-item,
    .layout-item {
        padding: 1.8rem 1.5rem;
    }

    .mission-card {
        padding: 2rem 1.5rem;
    }

    .story-content p {
        text-align: left;
        font-size: 0.95rem;
    }

    .member-avatar {
        font-size: 3.5rem;
    }

    .footer {
        padding: 2rem 15px;
    }
}
