/* TeaZen - Specialty Tea Tasting Room & E-commerce CSS */

/* Color Palette Variables */
:root {
    --primary-tea-green: #2d5a3d;
    --secondary-earthy-brown: #8b6f47;
    --accent-golden: #d4a574;
    --warm-cream: #f5f1e8;
    --deep-forest: #1a3429;
    
    /* Light/Dark Shades */
    --light-tea-green: #c8e6c9;
    --light-earthy-brown: #d7c7a3;
    --light-golden: #f2e4c7;
    --dark-tea-green: #1b3826;
    --dark-earthy-brown: #5d4a32;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-tea-green), var(--secondary-earthy-brown));
    --gradient-warm: linear-gradient(135deg, var(--warm-cream), var(--light-golden));
    --gradient-accent: linear-gradient(135deg, var(--accent-golden), var(--secondary-earthy-brown));
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--deep-forest);
    background-color: var(--warm-cream);
    overflow-x: hidden;
}

/* Prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-tea-green);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--dark-earthy-brown);
}

/* Header Styles */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-tea-green) !important;
    text-decoration: none;
}

.navbar-nav .nav-link {
    color: var(--dark-earthy-brown) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-tea-green) !important;
}

/* Breadcrumb Styles */
.breadcrumb-nav {
    background: var(--light-tea-green);
    padding: 1rem 0;
    margin-top: 76px;
}

.breadcrumb {
    background: none;
    margin: 0;
    padding: 0;
}

.breadcrumb img {
    width: 24px;
    height: 24px;
    object-fit: cover;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../GIL_images/hero-bg.webp') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section p {
    color: var(--light-golden);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-card .card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card .card-body {
    padding: 1.5rem;
}

.service-card h5 {
    color: var(--primary-tea-green);
    margin-bottom: 0.5rem;
}

.service-card .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-golden);
    margin-top: 1rem;
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
    border: 2px solid var(--light-tea-green);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-tea-green);
}

.feature-card i {
    color: var(--accent-golden);
    margin-bottom: 1rem;
}

.feature-item {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.feature-item i {
    color: var(--primary-tea-green);
}

/* Price Cards */
.price-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--light-tea-green);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.price-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-tea-green);
}

.price-card.featured {
    border-color: var(--accent-golden);
    background: var(--gradient-warm);
}

.price-card h4 {
    color: var(--primary-tea-green);
    margin-bottom: 1rem;
}

.price-card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.price-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-tea-green);
}

.price-card li:last-child {
    border-bottom: none;
}

.price-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-golden);
    margin-top: 1rem;
}

/* Team Section */
.team-member {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--light-tea-green);
}

.team-member h5 {
    color: var(--primary-tea-green);
    margin-bottom: 0.5rem;
}

.team-member p {
    color: var(--secondary-earthy-brown);
    font-size: 0.9rem;
}

/* Review Cards */
.review-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--accent-golden);
    margin-bottom: 1rem;
}

.review-card p {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--dark-earthy-brown);
}

.reviewer {
    text-align: right;
    color: var(--primary-tea-green);
}

/* FAQ Styles */
.accordion-item {
    border: 1px solid var(--light-tea-green);
    margin-bottom: 0.5rem;
    border-radius: 10px;
    overflow: hidden;
}

.accordion-button {
    background: var(--warm-cream);
    color: var(--primary-tea-green);
    border: none;
    font-weight: 500;
}

.accordion-button:not(.collapsed) {
    background: var(--light-tea-green);
    color: var(--dark-tea-green);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-tea-green);
}

.accordion-body {
    background: white;
    color: var(--dark-earthy-brown);
}

/* Gallery Styles */
#gallery a {
    display: block;
    text-decoration: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#gallery a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 0;
}

.gallery-img:hover {
    transform: scale(1.02);
}

/* Case Study Cards */
.case-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--accent-golden);
}

.case-card h4 {
    color: var(--primary-tea-green);
    margin-bottom: 1rem;
}

/* Process Steps */
.process-step {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 1rem;
}

/* Timeline Styles */
.timeline-container {
    position: relative;
    padding: 2rem 0;
}

.timeline-item {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    margin-left: 3rem;
}

.timeline-year {
    position: absolute;
    left: -3rem;
    top: 2rem;
    background: var(--gradient-accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.timeline-item h4 {
    color: var(--primary-tea-green);
    margin-bottom: 0.5rem;
}

/* Career Cards */
.career-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--light-tea-green);
    transition: border-color 0.3s ease;
}

.career-card:hover {
    border-color: var(--primary-tea-green);
}

.career-card h4 {
    color: var(--primary-tea-green);
    margin-bottom: 1rem;
}

.career-type {
    background: var(--light-golden);
    color: var(--dark-earthy-brown);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Info Cards */
.info-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-top: 4px solid var(--primary-tea-green);
}

.info-card h4 {
    color: var(--primary-tea-green);
    margin-bottom: 1rem;
}

/* Blog Cards */
.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-content h4 {
    color: var(--primary-tea-green);
    margin-bottom: 0.5rem;
}

.blog-link {
    color: var(--accent-golden);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.blog-link:hover {
    color: var(--secondary-earthy-brown);
}

/* Contact Form */
.contact-form {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form .form-control {
    border: 2px solid var(--light-tea-green);
    border-radius: 10px;
    padding: 0.75rem;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-tea-green);
    box-shadow: 0 0 0 0.2rem rgba(45, 90, 61, 0.25);
}

/* JustValidate Error Styles */
.just-validate-error-label {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.just-validate-error-field {
    border-color: #dc3545 !important;
}

.just-validate-success-field {
    border-color: #28a745 !important;
}

.btn-primary {
    background: var(--gradient-accent);
    border: none;
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--gradient-accent);
}

/* Footer */
footer {
    background: var(--gradient-primary) !important;
    color: white;
}

footer h5 {
    color: var(--light-golden);
    margin-bottom: 1rem;
}

footer a {
    color: var(--light-tea-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-golden);
}

footer p {
    color: var(--light-tea-green);
}

/* Space Section */
.space-section {
    min-height: 50vh;
    background: var(--gradient-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 76px;
}

/* Background Variations */
.bg-light {
    background: var(--light-tea-green) !important;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-5 {
    margin-bottom: 3rem;
}

.py-5 {
    padding: 3rem 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .timeline-item {
        margin-left: 2rem;
    }
    
    .timeline-year {
        left: -2rem;
    }
    
    .team-photo {
        width: 60px;
        height: 60px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Image Sizing */
img {
    max-width: 100%;
    height: auto;
}

/* Ensure proper image dimensions */
.hero-section img,
.service-card img,
.gallery-img,
.blog-img,
.team-photo {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Specific image dimensions for layout consistency */
.service-card .card-img-top {
    height: 200px;
}

.gallery-img {
    height: 250px;
}

.blog-img {
    height: 200px;
}

.team-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
} 


/* Team Social Links - Square Style */
.team-social-links {
    margin-top: 18px;
    padding: 12px 0;
}

.social-icons-grid {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    position: relative;
}

.social-link:hover {
    transform: translateY(-2px) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: white;
}

.facebook-link {
    background: #1877f2;
    border: 2px solid #1877f2;
}

.facebook-link:hover {
    background: #166fe5;
    border-color: #166fe5;
}

.linkedin-link {
    background: #0a66c2;
    border: 2px solid #0a66c2;
}

.linkedin-link:hover {
    background: #0959aa;
    border-color: #0959aa;
}

.x-link {
    background: #000000;
    border: 2px solid #000000;
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: bold;
    font-size: 18px;
}

.x-link:hover {
    background: #333333;
    border-color: #333333;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 8px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}
