
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    background-color: #4b2d1c;
    color: rgb(237, 218, 218);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 50px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 24px;
    font-weight: bold;
    font-family:Arial, sans-serif;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ffcc00;
}

#menu-toggle {
    display: none;
}

.menu-icon {
    font-size: 24px;
    display: none;
    cursor: pointer;
    color: white;
    position: absolute;
    right: 20px; 
    top: 20px;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        background-color: #4b2d1c;
        position: absolute;
        top: 100%;
        right: 0;
        width: 200px;
        display: none;
    }

    nav ul li {
        margin: 10px 0;
    }

    #menu-toggle:checked + .menu-icon + nav ul {
        display: flex;
    }

    .menu-icon {
        display: block;
    }
}

.hero-section {
    background-image: url(image/biji\ kopi.jpg);
    background-size: cover;
    background-position: center;
    height: 130vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: rgb(184, 143, 113);
    position: relative;
    overflow: hidden; 
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-container {
    z-index: 2; 
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.5s ease-out forwards; 
}

.hero-container h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-family: 'Arial', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    animation: textZoom 1s ease-in-out forwards; 
}

.hero-container p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.8s forwards; 
}

#visi-misi {
    padding: 60px 20px;
    text-align: center;
    background-color: rgb(127, 114, 104);
}

/* Styling untuk judul utama*/
#visi-misi h2 {
    color:black;
    margin-bottom: 30px;
    font-size: 2.2em;
}

/* Container untuk menampung visi dan misi*/
.container-visi-misi {
display: flex;
justify-content: space-around;
gap: 30px;
max-width: 1000px;
margin: 0 auto;
text-align: left;
}

/* Styling untuk kotak Visi dan Misi */
.visi, .misi {
    flex: 1;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background-color: #cac7c2;
    transition: transform 0.3s ease;
}

/* Efek saat kursor diarahkan ke kotak*/
.visi:hover, .misi:hover {
    transform: translateY(-5px);
}

/* Styling untuk sub-judul Visi dan Misi */
.visi h3, .misi h3 {
    color: black;
    border-bottom: 2px solid black;
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-size: 1.5em;
}

/* Styling untuk daftar Misi */
.misi ul {
    list-style: disc;
    padding-left: 20px;
    line-height: 1.6;
}

.cta-btn {
    display: inline-block;
    background-color: #ffcc00;
    color: #4b2d1c;
    text-decoration: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.2s forwards; 
}

.cta-btn:hover {
    background-color: #4b2d1c;
    color: #ffcc00;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes textZoom {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Responsiveness */
@media (max-width: 768px) {
    .hero-container h1 {
        font-size: 2.5rem;
    }

    .hero-container p {
        font-size: 1rem;
    }

    .cta-btn {
        font-size: 0.9rem;
        padding: 8px 20px;
    }
}

.about-section {
    padding: 80px 20px;
    background: linear-gradient(to right, #f8f5f2, #e9e4df); 
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-container {
    max-width: 1200px;
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap; 
    animation: fadeIn 1.5s ease-out; /
}

.about-content {
    flex: 1 1 50%; 
    text-align: center; 
    animation: slideUp 1.5s ease-out; 
}

.about-content h2 {
    font-size: 2.8rem;
    color: #4b2d1c;
    margin-bottom: 20px;
    font-family: 'Georgia', serif; 
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #4b2d1c;
    margin-bottom: 20px;
}

.about-image {
    flex: 1 1 50%; 
    display: flex;
    justify-content: center;
    animation: zoomIn 1.5s ease-out; 
}

.about-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 15px;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.05); 
    box-shadow: 0 12px 16px rgba(0, 0, 0, 0.3);
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}


@media (max-width: 768px) {
    .about-container {
        flex-direction: column; 
    }

    .about-content h2 {
        font-size: 2.2rem;
    }

    .about-content p {
        font-size: 1rem;
    }

    .about-image img {
        max-width: 300px;
    }
}

.menu-section {
    padding: 60px 20px;
    background-color: #fff;
}

.menu-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.menu-container h2 {
    font-size: 2.5rem;
    color: #4b2d1c;
    margin-bottom: 20px;
}

.menu-intro {
    font-size: 1.1rem;
    color: #4b2d1c;
    margin-bottom: 40px;
}

.menu-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.menu-item {
    flex: 1 1 calc(33.333% - 20px); 
    background-color: #f8f5f2;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-10px);
}

.menu-item img {
    width: 100%;
    max-width: 150px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.menu-item h3 {
    font-size: 1.5rem;
    color: #4b2d1c;
    margin-bottom: 10px;
}

.menu-item p {
    font-size: 1rem;
    color: #4b2d1c;
    margin-bottom: 10px;
}

.menu-item span {
    font-size: 1.2rem;
    color: #d17b2f;
    font-weight: bold;
}


@media (max-width: 768px) {
    .menu-item {
        flex: 1 1 calc(50% - 20px); 
    }
}

@media (max-width: 480px) {
    .menu-item {
        flex: 1 1 100%; 
    }
}

.gallery-section {
    padding: 60px 20px;
    background-color: #f8f5f2;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.gallery-container h2 {
    font-size: 2.5rem;
    color: #4b2d1c;
    margin-bottom: 20px;
}

.gallery-intro {
    font-size: 1.1rem;
    color: #4b2d1c;
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

.testimonials-section {
    padding: 60px 20px;
    background-color: #f4f4f4;
    text-align: center;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-container h2 {
    font-size: 2.5rem;
    color: #4b2d1c;
    margin-bottom: 20px;
}

.testimonials-intro {
    font-size: 1.1rem;
    color: #4b2d1c;
    margin-bottom: 40px;
}

.testimonials-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.testimonial-item {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 350px;
    text-align: left;
}

.testimonial-text {
    font-style: italic;
    color: #6b4a3d;
    margin-bottom: 15px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimonial-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #4b2d1c;
}

.testimonial-author span {
    font-weight: bold;
    color: #4b2d1c;
    font-size: 1rem;
}

.contact-section {
    padding: 60px 20px;
    background-color: #ffffff;
    text-align: center;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-container h2 {
    font-size: 2.5rem;
    color: #4b2d1c;
    margin-bottom: 20px;
}

.contact-intro {
    font-size: 1.1rem;
    color: #6b4a3d;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-item {
    background-color: #f4f4f4;
    border-radius: 10px;
    padding: 20px;
    max-width: 300px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-item h3 {
    color: #4b2d1c;
    margin-bottom: 10px;
}

.contact-item p {
    color: #6b4a3d;
    margin: 0;
}

/* Contact Form start */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form .form-group {
    margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #4b2d1c;
    outline: none;
}

.contact-form .contact-submit {
    background-color: #4b2d1c;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form .contact-submit:hover {
    background-color: #6b4a3d;
}

.footer {
    background-color: #4b2d1c;
    color: #ffffff;
    padding: 40px 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.footer-about,
.footer-links,
.footer-contact {
    flex: 1;
    min-width: 250px;
}

.footer-about h3,
.footer-links h3,
.footer-contact h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffcc00;
}

.footer-about p,
.footer-contact p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #ffcc00;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #dddddd;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

