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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(74, 52, 40, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background 0.3s;
}

.navbar.scrolled {
    background: rgba(74, 52, 40, 1);
}

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

.nav-logo {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
}

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

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s, border-bottom 0.3s;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover {
    color: #c1554d;
    border-bottom: 2px solid #c1554d;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.nav-menu a.active {
    color: #c49b63; /* coffee-inspired highlight */
    font-weight: bold;
    border-bottom: 2px solid #c49b63;
}



.hamburger {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
    position: relative;
    transition: 0.3s;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background: white;
    transition: 0.3s;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
        url("../images/coffee.png") no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(193, 85, 77, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    top: 10%;
    right: -100px;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(107, 78, 61, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 10%;
    left: -50px;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0)translateX(0);
    }

    50% {
        transform: translateY(-30px)translateX(20px);
    }
}

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

.logo {
    font-size: 10rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 3px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.tagline {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

.btn i {
    margin-right: 8px;
}

.btn-primary {
    background: #c1554d;
    color: white;
    box-shadow: 0 4px 15px rgba(193, 85, 77, 0.4);
}

.btn-primary:hover {
    background: #a84540;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(193, 85, 77, 0.6);
}

.btn-secondary {
    background: white;
    color: #4a3428;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: #f5f5f5;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.btn-small {
    padding: 0.7rem 1.8rem;
    font-size: 0.95rem;
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #4a3428;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #c1554d;
    margin: 1rem auto;
    border-radius: 2px;
}

/* About Section */
.about {
    background: #faf8f5;
}

.about-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.15rem;
    color: #666;
    line-height: 1.8;
}

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

.about-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.about-card:hover {
    transform: translateY(-10px);
}

.about-image {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

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

.barista-img {
    background: linear-gradient(135deg, #6b4e3d 0%, #4a3428 100%);
}

.sushi-img {
    background: linear-gradient(135deg, #c1554d 0%, #a84540 100%);
}

.image-placeholder {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.about-card h3 {
    padding: 1.5rem 2rem 0.5rem;
    font-size: 1.8rem;
    color: #4a3428;
}

.about-card p {
    padding: 0 2rem 2rem;
    color: #666;
    font-size: 1.05rem;
}

/* Courses Section */
.courses {
    background: white;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.course-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.course-card.featured {
    grid-column: span 2;
}

.course-image {
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-icon {
    font-size: 5rem;
}

.coffee-foundation {
    background: linear-gradient(135deg, #6b4e3d 0%, #8b6f47 100%);
}

.coffee-advanced {
    background: linear-gradient(135deg, #4a3428 0%, #6b4e3d 100%);
}

.sushi-basics {
    background: linear-gradient(135deg, #c1554d 0%, #d4776f 100%);
}

.sushi-mastery {
    background: linear-gradient(135deg, #a84540 0%, #c1554d 100%);
}

.combined {
    background: linear-gradient(135deg, #4a3428 0%, #c1554d 100%);
}

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: #c1554d;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.course-content {
    padding: 2rem;
}

.course-content h3 {
    font-size: 1.5rem;
    color: #4a3428;
    margin-bottom: 0.8rem;
}

.course-content p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* Why Choose Section */
.why-choose {
    background: #faf8f5;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.4rem;
    color: #4a3428;
    margin-bottom: 1rem;
}

.feature p {
    color: #666;
    font-size: 1.05rem;
}

/* Testimonials Section */
.testimonials {
    background: white;
}

.testimonial-carousel {
    position: relative;
    max-width: 800px;
    margin: 3rem auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: 100%;
    padding: 3rem;
    text-align: center;
    background: #faf8f5;
    border-radius: 15px;
    margin: 0 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transition: opacity 0.5s;
}

.testimonial-card.active {
    opacity: 1;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    color: #4a3428;
    font-size: 1.1rem;
}

.testimonial-role {
    color: #999;
    font-size: 0.95rem;
}

.testimonial-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #c1554d;
    box-shadow: 0 4px 15px rgba(193, 85, 77, 0.3);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    background: #c1554d;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(193, 85, 77, 0.3);
}

.carousel-btn:hover {
    background: #a84540;
    transform: scale(1.1);
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1.5rem;
    font-size: 1.2rem;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, #4a3428 0%, #c1554d 100%);
    color: white;
    text-align: center;
    padding: 5rem 0;
}

.cta-banner h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-banner h2::after {
    background: white;
}

.cta-banner p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/*contact*/

.contact {
  background: #faf8f5;
  padding: 60px 20px;
}

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

.contact-form,
.contact-info {
  background: #fff;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.contact-form h3,
.contact-info h3 {
  color: #4a2c2a; /* espresso brown */
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  border-bottom: 2px solid #eee;
  padding-bottom: 8px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #c49b63; /* golden accent */
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4a2c2a;
  box-shadow: 0 0 6px rgba(74, 44, 42, 0.3);
}

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

.submit-btn {
  background: #4a2c2a;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  width: 100%;
}

.submit-btn:hover {
  background: #6b3f3b;
  transform: scale(1.02);
}

.info-item {
  margin-bottom: 2rem;
}

.info-item strong {
  display: block;
  color: #4a2c2a;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.info-item p {
  color: #666;
  line-height: 1.6;
}

.map-placeholder {
  margin-top: 2rem;
  height: 200px;
  background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.1);
}

.map-text {
  font-size: 1.5rem;
  color: #999;
}
#formMessage {
  margin-top: 10px;
  font-size: 14px;
  padding: 8px;
  border-radius: 4px;
  opacity: 0; /* start hidden */
  transition: opacity 0.5s ease;
}
.success-msg {
  color: #155724;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
}
.error-msg {
  color: #721c24;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
}


/* Footer */
.footer {
    background: #4a3428;
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: white;
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s, border-bottom 0.3s;
    border-bottom: 2px solid transparent;
}

.footer-section ul li a:hover {
    color: #c1554d;
    border-bottom: 2px solid #c1554d;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}
#notification {
  padding: 8px;
  border-radius: 4px;
  display: inline-block;
}


/*REMENNING*/
@media (max-width: 1024px) {
    .course-card.featured {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(74, 52, 40, 0.98);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        text-align: center;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    .nav-menu.active {
        display: flex;
    }

    .logo {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.4rem;
    }

    h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .testimonial-avatar {
        width: 80px;
        height: 80px;
        margin: 0 auto 1rem;
        border: 3px solid #c1554d;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    .about-grid,
    .courses-grid,
    .features-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-avatar {
        width: 70px;
        height: 70px;
        margin: 0 auto 1rem;
        border: 3px solid #c1554d;
    }
}

/* Selection highlight */
::selection {
    background: #c1554d;
    color: white;
}



@media (max-width: 768px) {
    .testimonial-avatar {
        width: 80px;
        height: 80px;
        margin: 0 auto 1rem;
        border: 3px solid #c1554d;
    }
}

@media (max-width: 480px) {
    .testimonial-avatar {
        width: 70px;
        height: 70px;
        margin: 0 auto 1rem;
        border: 3px solid #c1554d;
    }
}
/*contact*/
@media (max-width: 768px) {
  .contact {
    padding: 40px 15px;
  }

  .contact-form,
  .contact-info {
    padding: 2rem;
  }

  .submit-btn {
    font-size: 14px;
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .contact-form h3,
  .contact-info h3 {
    font-size: 1.5rem;
  }

  .form-group input,
  .form-group textarea {
    font-size: 0.9rem;
    padding: 0.8rem;
  }

  .submit-btn {
    font-size: 13px;
    padding: 8px;
  }
}

