/* Main styles */
:root {
    --primary-color: #e74c3c;
    --secondary-color: #2c3e50;
    --background-color: #f9f9f9;
    --text-color: #333;
    --white-color: #fff;
}

/* Navbar styling */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Navbar Logo Styling */
.navbar-logo {
    height: 70px;
    width: auto;
    transition: height 0.3s ease;
}

.navbar.scrolled .navbar-logo {
    height: 60px;
}

/* For smaller screens */
@media (max-width: 992px) {
    .navbar-logo {
        height: 50px;
    }
    
    .navbar.scrolled .navbar-logo {
        height: 45px;
    }
}

/* Add padding to body to prevent navbar overlap */
body {
    padding-top: 76px;
}

/* Coffee Spinner Animation */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.coffee-spinner img {
    animation: spin 10s linear infinite;
    width: 500px;
    height: 500px;
    display: block;
    margin: 0 auto;
}

/* Hero section with background */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
                url('images/makingcoffee.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
}

/* Mobile responsive adjustments */
@media (max-width: 992px) {
    .coffee-spinner img {
        width: 200px;
        height: 200px;
    }
    
    body {
        padding-top: 60px; /* Smaller padding for mobile */
    }
}

/* Card and menu styling */
.menu-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    border-radius: 10px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#menu.bg-light {
    background-color: var(--white-color) !important;
}

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

.menu-card img {
    height: 200px;
    object-fit: cover;
}

.price {
    font-weight: bold;
    color: var(--primary-color);
}

/* Barista Card Styling */
#baristas .barista-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
    margin-bottom: 30px;
}

#baristas .barista-profile:hover {
    transform: translateY(-5px);
}

#baristas .barista-img {
    height: 200px;
    width: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#baristas .barista-profile:hover .barista-img {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
}

#baristas .barista-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 5px;
}

#baristas .barista-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

#baristas .barista-bio {
    color: var(--text-color);
    margin-bottom: 15px;
    max-width: 250px;
}

#baristas .barista-social {
    margin-top: 15px;
}

#baristas .barista-social a {
    color: var(--secondary-color);
    margin: 0 8px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

#baristas .barista-social a:hover {
    color: var(--primary-color);
    transform: scale(1.2);
    display: inline-block;
}

/* White background sections */
#baristas,
#about {
    background-color: var(--white-color) !important;
    padding: 5rem 0;
}

/* Remove bg-light class effects */
#about.bg-light {
    background-color: var(--white-color) !important;
}

/* Card styling for baristas */
#baristas .card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

/* About section image */
#about img {
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Contact Section Styling */
.contact-form-container {
    background-color: var(--white-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

.contact-info-container {
    gap: 1.5rem;
}

.contact-details {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-details:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

.form-control:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 0.25rem rgba(231, 76, 60, 0.25);
}

@media (max-width: 992px) {
    .contact-info-container {
        gap: 1rem;
    }
}

/* Button styling */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #c0392b;
    border-color: #c0392b;
}

.btn-outline-dark:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

/* Text accent color */
.text-accent {
    color: var(--primary-color);
}

/* Footer transition and styling */
.footer-transition {
    height: 200px;
    background: linear-gradient(180deg, 
        rgba(255,255,255,1) 0%,
        rgba(255,255,255,0.9) 20%,
        rgba(0,0,0,0.8) 80%,
        rgba(0,0,0,1) 100%
    );
    margin-bottom: -1px;
}

footer {
    background-color: black;
    color: white;
    padding: 60px 0 40px;
}

footer h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

footer p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.8;
}

footer .list-unstyled li {
    margin-bottom: 1rem;
}

footer .list-unstyled a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

footer .list-unstyled a:hover {
    color: var(--primary-color);
}

/* Footer logo styling */
.footer-logo {
    height: 80px;
    margin-bottom: 1.5rem;
}

/* Social links styling */
footer .social-links {
    margin-top: 1.5rem;
}

footer .social-links a {
    color: white;
    font-size: 1.2rem;
    margin-right: 1.5rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer .social-links a:hover {
    color: var(--primary-color);
}

/* Newsletter styling */
footer .input-group {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 5px;
}

footer .form-control {
    background: transparent;
    border: none;
    color: white;
    padding: 12px 15px;
}

footer .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

footer .form-control:focus {
    box-shadow: none;
    background: rgba(255, 255, 255, 0.05);
}

footer .btn-primary {
    background: transparent;
    border: none;
    padding: 0 15px;
    font-size: 1.2rem;
}

footer .btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
}

footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 40px 0 20px;
}

footer .copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    footer {
        padding: 40px 0 30px;
    }
    .footer-logo {
        height: 60px;
        margin-bottom: 1rem;
    }
    footer .col-md-6:not(:last-child) {
        margin-bottom: 2rem;
    }
    /* Keep two-column layout for footer sections on tablets and phones */
    .footer-contact,
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Phone-specific footer tweaks */
@media (max-width: 576px) {
    footer {
        padding: 2rem 1rem;
    }
    footer h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    footer p,
    footer .list-unstyled a {
        font-size: 0.9rem;
    }
    footer .list-unstyled li {
        margin-bottom: 0.75rem;
    }
    footer .social-links a {
        font-size: 1.5rem;
        margin-right: 1rem;
        margin-bottom: 0.5rem;
    }
    footer .input-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    footer .input-group .form-control {
        width: 100%;
    }
    footer .input-group .btn-primary {
        width: 100%;
    }
    .footer-contact,
    .footer-links {
        gap: 1rem;
    }
}

/* Menu toggle buttons styling */
.menu-toggle {
    padding: 10px;
    border-radius: 50px;
}

.menu-toggle .btn-group {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    overflow: hidden;
}

.menu-toggle .btn {
    padding: 10px 25px;
    border: none;
    background: transparent;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.menu-toggle .btn.active {
    background-color: var(--primary-color);
    color: white;
}

.menu-toggle .btn:hover:not(.active) {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Navbar links color */
.navbar-light .navbar-nav .nav-link {
    color: var(--secondary-color) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Call Now button in navbar */
.navbar .nav-link.text-dark {
    color: var(--secondary-color) !important;
}

/* Navbar toggler color */
.navbar-light .navbar-toggler {
    border-color: var(--secondary-color);
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(44, 62, 80, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar.scrolled .navbar-toggler {
    border-color: var(--secondary-color);
}

.navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(44, 62, 80, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Counter Section */
.counter-section {
    background-color: var(--white-color);
    position: relative;
    z-index: 1;
}

.counter-box {
    text-align: center;
    padding: 2rem;
    background: var(--white-color);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.counter-box:hover {
    transform: translateY(-5px);
}

.counter-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.counter-label {
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: 500;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--white-color);
    padding: 5rem 0;
    position: relative;
}

.testimonial-card {
    background: var(--white-color);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 1rem;
    transition: transform 0.3s ease;
    text-align: center;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-style: italic;
    line-height: 1.6;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: -1rem;
    left: -1rem;
    font-family: Georgia, serif;
}

.testimonial-author {
    text-align: center;
}

.author-info h5 {
    margin: 0;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.author-info p {
    margin: 0.5rem 0 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Custom Navigation Buttons */
.owl-nav-custom {
    position: relative;
    margin-top: 2rem;
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white-color);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.nav-button:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

.nav-button.prev {
    left: -20px;
}

.nav-button.next {
    right: -20px;
}

/* Footer Contact Columns */
.footer-contact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.footer-links ul {
    margin: 0;
    padding: 0;
}

@media (max-width: 768px) {
    .footer-contact,
    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* Download Menu Button */
.download-menu {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.2);
}

.download-menu:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3);
}

/* Enhanced About Section */
.about-image-container {
    position: relative;
    margin-bottom: 2rem;
}

.about-image-container img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.about-image-container:hover img {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: 30px;
    background: var(--primary-color);
    color: white;
    padding: 1.5rem;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
    transition: transform 0.3s ease;
}

.experience-badge:hover {
    transform: scale(1.05);
}

.experience-badge .number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.2rem;
}

.experience-badge .text {
    font-size: 0.8rem;
    line-height: 1.2;
}

.about-content .subtitle {
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: block;
    font-size: 0.9rem;
}

.about-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.about-content h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.about-content .lead {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.about-content .about-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
}

.about-content .about-text:first-of-type {
    font-size: 1.1rem;
    font-weight: 500;
    color: #444;
}

.about-content p {
    line-height: 1.8;
    color: #666;
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--white-color);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.feature-item i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-item span {
    font-weight: 500;
    color: var(--secondary-color);
}

.about-cta {
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .about-features {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    /* Override gallery column count to maintain 3 columns */
    .gallery-container {
        column-count: 3 !important;
    }
    .experience-badge {
        width: 100px;
        height: 100px;
        padding: 1rem;
        right: 20px;
        bottom: -20px;
    }

    .experience-badge .number {
        font-size: 2rem;
    }

    .experience-badge .text {
        font-size: 0.7rem;
    }
    
    .about-content h2 {
        font-size: 1.8rem;
    }
    
    .about-content .lead {
        font-size: 1rem;
    }

    .about-content .about-text {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .about-content .about-text:first-of-type {
        font-size: 1.05rem;
    }
}

/* Section Spacing */
section {
    padding: 3rem 0;
}

section .container {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Gallery Styling */
.gallery-container {
    column-count: 3;
    column-gap: 15px;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 15px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

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

/* First three images with varied heights for masonry effect */
.gallery-item:nth-child(1) img {
    height: 300px;
    object-fit: cover;
}

.gallery-item:nth-child(2) img {
    height: 250px;
    object-fit: cover;
}

.gallery-item:nth-child(3) img {
    height: 350px;
    object-fit: cover;
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.gallery-modal-content {
    position: relative;
    max-width: 80%;
    max-height: 80%;
}

.gallery-modal-content img {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    border-radius: 4px;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 1001;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 1001;
    background-color: rgba(0, 0, 0, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

.modal-counter {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 16px;
}

/* Counter styles */
.counter-box {
    padding: 40px 20px;
    text-align: center;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.counter-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.counter-number {
    font-size: 3rem;
    font-weight: bold;
    margin: 15px 0;
    color: #343a40;
}

/* Media queries */
@media (max-width: 768px) {
    .gallery-container {
        column-count: 2;
    }
    
    .modal-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .gallery-container {
        column-count: 3 !important;
    }
}

/* Adjust existing section spacings */
#menu.bg-light,
#about,
#baristas,
.testimonials {
    padding: 3rem 0;
}

.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.container.py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

@media (max-width: 768px) {
    /* Make hero background scrollable on mobile and adjust hero spacing */
    .hero {
        background-attachment: scroll;
        padding: 60px 0;
    }
    /* Scale down hero text for readability */
    .hero .display-4 {
        font-size: 2.5rem;
    }
    .hero h2 {
        font-size: 1.75rem;
    }
    .hero .lead {
        font-size: 1rem;
    }
    /* Make buttons full-width on mobile */
    .hero-content .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    /* Adjust navbar link sizing */
    .navbar .nav-link {
        font-size: 0.9rem;
    }
    /* Tweak menu toggle buttons on mobile */
    .menu-toggle .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
} 
