/* Urban Gardening Template - Main CSS */

/* Color Variables */
:root {
    --primary-color: #5e8336;
    --primary-light: #6aa533;
    --primary-dark: #627733;
    --secondary-color: #499eb1;
    --secondary-light: #77abb7;
    --secondary-dark: #3e7a86;
    --accent-color: #eb9656;
    --accent-light: #efb682;
    --accent-dark: #d2883b;
    --success-color: #5fc198;
    --success-light: #8adfbe;
    --success-dark: #348469;
    --warning-color: #ec774a;
    --warning-light: #f9a877;
    --warning-dark: #cd5f2c;
    --light-bg: #f8f9fa;
    --dark-bg: #273141;
    --text-dark: #1d2236;
    --text-light: #708393;
    --white: #ffffff;
    --light-gray: #d6deea;
    --medium-gray: #98a2b2;
    --dark-gray: #545d68;
}

/* Base Typography */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    font-size: 16px;
    overflow-x: hidden;
}

/* Conservative font sizes */
.navbar-brand {
    font-size: 1.55rem;
    font-weight: 600;
}

h1, .display-4 {
    font-size: 2.34rem;
    font-weight: 700;
    color: var(--text-dark);
}

h2 {
    font-size: 1.92rem;
    font-weight: 600;
    color: var(--text-dark);
}

h3 {
    font-size: 1.54rem;
    font-weight: 600;
}

h4, h5 {
    font-size: 1.26rem;
    font-weight: 600;
}

h6 {
    font-size: 1.23rem;
    font-weight: 600;
}

.lead {
    font-size: 1.13rem;
    font-weight: 400;
}

p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* Bootstrap customizations without overriding */
.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);
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Header Styles */
.navbar {
    padding: 1rem 0;
    transition: all 0.80s ease;
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.navbar-brand {
    color: var(--primary-color);
    font-weight: 600;
}

.navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.97s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--light-bg) 0%, rgba(115, 138, 53, 0.10) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: rgba(111, 154, 55, 0.05);
    border-radius: 50%;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.42s ease, box-shadow 0.84s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
}

/* Section Spacing */
section {
    padding: 4rem 0;
}

.py-5 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 3rem;
}

.timeline-marker {
    position: absolute;
    left: -41px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid var(--white);
}

.timeline-content {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Contact Form */
.form-control {
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: border-color 0.60s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(120, 160, 65, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.63rem;
}

/* Gallery */
.gallery img {
    transition: transform 0.63s ease;
    border-radius: 8px;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* Footer */
#footer {
    background-color: var(--dark-bg);
    color: var(--white);
}

#footer h5, #footer h6 {
    color: var(--white);
    margin-bottom: 1rem;
}

#footer a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.92s ease;
}

#footer a:hover {
    color: var(--white);
}

#footer .list-unstyled li {
    margin-bottom: 0.62rem;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.56rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-4 {
    margin-top: 1.66rem;
}

.mt-5 {
    margin-top: 3rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    h1, .display-4 {
        font-size: 1.91rem;
    }
    
    h2 {
        font-size: 1.60rem;
    }
    
    .timeline {
        padding-left: 1rem;
    }
    
    .timeline-item {
        padding-left: 2rem;
    }
    
    .timeline-marker {
        left: -31px;
    }
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    color: var(--text-light);
}

/* Animation support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Icon spacing */
.fas, .fab {
    margin-right: 0.5rem;
}

.text-center .fas,
.text-center .fab {
    margin-right: 0;
}

/* Button spacing */
.btn {
    margin: 0.25rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 1.21s ease;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.21rem;
}

/* Custom spacing for features */
.d-flex .flex-shrink-0 {
    margin-right: 1rem;
}

/* Price display */
.h2, .h4 {
    font-weight: 700;
}

/* Success indicators */
.list-unstyled li {
    margin-bottom: 0.63rem;
}

.list-unstyled .fas.fa-check {
    color: var(--success-color);
    margin-right: 0.5rem;
}

/* Image responsiveness */
.img-fluid {
    border-radius: 8px;
}

.rounded-circle {
    border: 3px solid var(--light-gray);
    transition: border-color 0.51s ease;
}

.rounded-circle:hover {
    border-color: var(--primary-color);
} 

.hero-section h1 {
    padding-top: 100px;
}


/* Team Social Links - Modern Style */
.team-social-links {
    margin-top: 25px;
    padding: 20px 0;
}

.social-icons-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 22px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    transform: scale(0);
    border-radius: inherit;
    transition: transform 0.5s ease;
}

.social-link:hover::before {
    transform: scale(1.2);
}

.social-link:hover {
    transform: translateY(-8px) rotate(10deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #00c6ff);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #0099cc);
}

.instagram-link {
    background: linear-gradient(45deg, #e4405f, #f093fb, #f5576c);
}

.x-link {
    background: linear-gradient(45deg, #000000, #434343);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 24px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 15px;
    }
    
    .social-link {
        width: 46px;
        height: 46px;
        font-size: 20px;
    }
}
