/* Main Styles for Culinary Inspiration Website */

/* WhatsApp Button Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Global Styles */
:root {
    --primary-color: #d9534f;
    --secondary-color: #333333;
    --accent-color: #f0ad4e;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --text-color: #333333;
    --border-radius: 5px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 76px; /* For fixed navbar */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #c9302c;
    border-color: #c9302c;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    margin-bottom: 50px;
    text-align: center;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    display: block;
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    bottom: 0;
    left: calc(50% - 40px);
}

/* Header & Navigation */
.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 24px;
}

.logo {
    max-height: 45px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 15px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/team/herosection.jpg');
    background-size: cover;
    background-position: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-logo {
    max-width: 300px;
    height: auto;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* About Section */
.about-img {
    border-radius: 10px;
    overflow: hidden;
}

/* Services Section */
.service-card {
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    background-color: white;
    height: 100%;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Team Section */
.team-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

.team-img {
    position: relative;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.team-photo {
    height: 300px !important;
    object-fit: cover;
    object-position: top;
}



.team-card {
    margin-bottom: 20px;
}

.team-info {
    padding: 15px;
    min-height: 120px;
}

.team-card:hover .team-img img {
    transform: scale(1.1);
}

.team-info {
    padding: 25px 20px;
    text-align: center;
}

.team-info h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.team-info p {
    color: #777;
    margin-bottom: 15px;
}

.team-social {
    margin-top: 15px;
}

.team-social a {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    background-color: var(--light-color);
    color: var(--text-color);
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.team-social a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Testimonials Section */
.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    position: relative;
}

.testimonial-card .quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 50px;
    color: #f0f0f0;
    z-index: 0;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-info h5 {
    margin-bottom: 5px;
    font-weight: 600;
}

.author-info p {
    margin-bottom: 0;
    color: #777;
    font-size: 14px;
}

/* Contact Section */
.contact-info {
    padding: 30px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.contact-info i {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-form {
    padding: 30px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.form-control {
    height: 50px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

textarea.form-control {
    height: 150px;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h5::after {
    content: '';
    position: absolute;
    display: block;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
    bottom: 0;
    left: 0;
}

.social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
    animation: pulse 1.5s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #FFF;
    transform: scale(1.1);
}

.fa-whatsapp {
    margin-top: 0;
}

/* For mobile devices */
@media screen and (max-width: 767px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: white;
        padding: 15px;
        border-radius: var(--border-radius);
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    }
    
    .hero h1 {
        font-size: 36px;
    }
}

@media (max-width: 767.98px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
}