/* TeaBlend - Main CSS */

/* CSS Variables for Color Palette */
:root {
    --primary-color: #6e926d;
    --primary-light: #bedcc5;
    --primary-dark: #517f5c;
    --secondary-color: #d2cdbe;
    --secondary-light: #e0d0b9;
    --secondary-dark: #c2ab86;
    --accent-color: #b68f73;
    --accent-light: #d5b7a2;
    --accent-dark: #bb9d6b;
    --neutral-color: #F8F6F1;
    --neutral-light: #FDFCF9;
    --neutral-dark: #ece1c7;
    --text-color: #1a2222;
    --text-light: #5a6468;
    --white: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--accent-light));
}

/* Respect reduced motion preferences */
*,
::before,
::after {
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
}

/* Base Typography - Conservative Sizes */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--neutral-color);
    padding-top: 60px; /* Add padding to prevent content hiding under fixed header */
}

.navbar-brand {
    font-size: 0.9rem !important;
    font-weight: 600;
    color: var(--primary-color);
}

h1, .h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

h2, .h2 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.04rem;
}

h3, .h3 {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--accent-dark);
    margin-bottom: 0.81rem;
}

h4, .h4 {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.60rem;
}

h5, .h5 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.63rem;
}

h6, .h6 {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.46rem;
}

p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Custom Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* Header Styles */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    min-height: 50px;
}

.navbar-nav .nav-link {
    font-size: 0.65rem !important;
    color: var(--text-color);
    font-weight: 500;
    margin: 0 0.3rem;
    padding: 0.4rem 0.5rem;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
    min-height: 500px !important;
    height: auto !important;
    padding: 80px 0 40px;
}

.hero-section::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 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="30" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="60" cy="70" r="2.5" fill="rgba(255,255,255,0.06)"/></svg>');
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    padding-top: 60px;
}

.hero-section h2 {
    color: var(--neutral-light);
    font-size: 1.3rem;
    font-weight: 400;
}

.hero-section p {
    color: var(--neutral-light);
    font-size: 0.95rem;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    background-color: var(--white);
    height: auto;
    display: flex;
    flex-direction: column;
}

.card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.card-img-top {
    border-radius: 12px 12px 0 0;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
    flex: 1 1 auto;
}

.card-title {
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 0.88rem;
}

.card-text {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Section Styles */
section {
    padding: 4rem 0;
}

.bg-light {
    background-color: var(--neutral-light);
}

/* Team Section */
.team img {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.team img:hover {
    transform: none;
}

/* Gallery Section */
.gallery img {
    border-radius: 8px;
    width: 100%;
    height: auto;
}

.gallery img:hover {
    transform: none;
    opacity: 1;
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: var(--neutral-light);
}

footer h5 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1rem;
}

footer a {
    color: var(--neutral-light);
    text-decoration: none;
}

footer a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Form Styles */
.form-control {
    border-radius: 8px;
    border: 2px solid var(--neutral-dark);
    padding: 0.8rem 1rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(117, 149, 124, 0.25);
}

.form-label {
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 0.74rem;
}

/* FAQ Section */
.faq .card {
    margin-bottom: 1rem;
}

.faq .card-body {
    padding: 1.2rem;
}

.faq h6 {
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.faq p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Process Steps */
.process-step {
    padding: 1.5rem;
    text-align: center;
}

.process-step i {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Contact Info */
.contact-info {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 9px 20px rgba(0, 0, 0, 0.08);
}

.contact-info h5 {
    color: var(--primary-dark);
    margin-bottom: 1.66rem;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 0.93rem;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 0.8rem;
    width: 20px;
}

/* Breadcrumb Section */
.breadcrumb-section {
    background-color: var(--neutral-light);
    border-bottom: 1px solid var(--neutral-dark);
}

.breadcrumb-section img {
    max-height: 40px;
    opacity: 0.7;
}

/* Utilities */
.text-primary {
    color: var(--primary-color);
}

.bg-primary {
    background-color: var(--primary-color);
}

.border-primary {
    border-color: var(--primary-color);
}

/* Space for future content */
#space {
    background: var(--gradient-secondary);
    min-height: 60vh;
}

/* Animation Support - Disabled */
.fade-in {
    opacity: 1;
    transform: none;
}

.fade-in.visible {
    opacity: 1;
    transform: none;
}

/* Fix for vh-100 on mobile devices */
.vh-100 {
    min-height: 500px !important;
    height: auto !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 1.6rem;
        padding-top: 60px;
    }
    
    .hero-section h2 {
        font-size: 1.2rem;
    }
    
    .card-img-top {
        height: 180px;
    }
    
    .team img {
        width: 120px;
        height: 120px;
    }
    
    /* Fix for navbar items on mobile */
    .navbar-collapse {
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .navbar-brand {
        font-size: 0.8rem !important;
    }
    
    .navbar-nav .nav-link {
        font-size: 0.6rem !important;
        padding: 0.3rem 0.4rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.4rem;
        padding-top: 60px;
    }
    
    .hero-section h2 {
        font-size: 1.1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    /* Fix for navbar items on small mobile */
    .navbar-brand {
        font-size: 0.75rem !important;
    }
    
    .navbar-nav .nav-link {
        font-size: 0.55rem !important;
        padding: 0.25rem 0.35rem;
    }
} 


/* Team Social Links - Rounded Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

.social-icons-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
}

.social-link:hover::before {
    left: 0;
}

.social-link:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.linkedin-link {
    background: linear-gradient(135deg, #0a66c2, #2196f3);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #0a66c2, #2196f3);
}

.x-link {
    background: linear-gradient(135deg, #000000, #333333);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 20px;
}

.x-link:hover {
    background: linear-gradient(135deg, #000000, #333333);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
