/* Base Styles */
:root {
    --primary: #E51E2A;
    --primary-dark: #C21824;
    --secondary: #0C4A6E;
    --secondary-dark: #083452;
    --accent: #22C55E;
    --accent-dark: #16A34A;
    --dark: #111827;
    --gray-dark: #6B7280;
    --gray: #9CA3AF;
    --gray-light: #E5E7EB;
    --light: #F3F4F6;
    --white: #FFFFFF;
    --radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Header Styles - Fixed Size */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: var(--shadow);
    padding: 0;
    height: 70px;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
    display: flex;
    align-items: center;
}

.logo-cup {
    color: var(--accent);
    margin-left: 2px;
}

.nav-list {
    display: flex;
    gap: 30px;
    height: 100%;
    align-items: center;
}

.nav-list a {
    font-weight: 500;
    position: relative;
    padding: 8px 0;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--dark);
    transition: var(--transition);
}

/* Page Header */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--light) 0%, var(--gray-light) 100%);
    text-align: center;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray-dark);
}

.breadcrumb a:hover {
    color: var(--primary);
}

/* About Hero */
.about-hero {
    padding: 80px 0;
    background-color: var(--white);
    position: relative;
}

.about-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.about-content p {
    margin-bottom: 20px;
    color: var(--gray-dark);
}

.about-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Milestones */
.milestones {
    padding: 60px 0;
    background-color: var(--light);
}

.milestone-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.milestone-card {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.milestone-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.milestone-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.milestone-title {
    font-size: 1.1rem;
    color: var(--secondary);
}

/* Our Story */
.our-story {
    padding: 80px 0;
    background-color: var(--white);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background-color: var(--primary);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-content {
    position: relative;
    width: calc(50% - 40px);
    padding: 20px;
    background-color: var(--light);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.timeline-item:nth-child(odd) .timeline-content {
    left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    left: calc(50% + 40px);
}

.timeline-year {
    position: absolute;
    top: 20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: var(--shadow);
}

.timeline-item:nth-child(odd) .timeline-year {
    right: -100px;
}

.timeline-item:nth-child(even) .timeline-year {
    left: -100px;
}

.timeline-content h3 {
    margin-bottom: 10px;
    color: var(--secondary);
}

/* Our Values */
.our-values {
    padding: 80px 0;
    background-color: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    background-color: var(--light);
    border-radius: var(--radius);
    padding: 30px;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.value-icon img {
    width: 30px;
    height: 30px;
}

.value-card h3 {
    margin-bottom: 15px;
    color: var(--secondary);
}

.value-card p {
    color: var(--gray-dark);
}

/* CTA Banner */
.cta-banner {
    padding: 80px 0;
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
}

.cta-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-banner p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer - Same as index.html */
.footer {
    background: linear-gradient(135deg, #faf7f4 0%, #f1ece5 100%);
    color: var(--dark);
    padding: 50px 0 20px;
    border-top: 1px solid #e5e0d8;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin-bottom: 35px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand .logo-text {
    font-size: 2rem;
    margin-bottom: 18px;
    justify-content: flex-start;
    color: var(--secondary);
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 22px;
    color: #5a5a5a;
    max-width: 280px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: 50%;
    transition: var(--transition);
    border: 2px solid #ddd8d0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.social-link:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(229, 30, 42, 0.15);
}

.social-link img {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.social-link:hover img {
    transform: scale(1.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: var(--secondary);
    font-weight: 600;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li a {
    color: #5a5a5a;
    transition: var(--transition);
    padding: 5px 0;
    display: block;
    font-size: 0.92rem;
    font-weight: 500;
}

.footer-links li a:hover {
    color: var(--primary);
    transform: translateX(6px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-item img {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    opacity: 0.8;
}

.contact-item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-item span {
    font-size: 0.92rem;
    color: #5a5a5a;
    line-height: 1.4;
    font-weight: 500;
}

.business-hours {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hours-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 0;
    border-bottom: 1px solid #e5e0d8;
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item .days {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--secondary);
}

.hours-item .time {
    color: #5a5a5a;
    font-size: 0.88rem;
    font-weight: 500;
}

.footer-bottom {
    border-top: 1px solid #e5e0d8;
    padding-top: 20px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    color: #7a7a7a;
    font-size: 0.85rem;
    font-weight: 500;
}

.developer a {
    color: var(--primary);
    transition: var(--transition);
    font-weight: 600;
}

.developer a:hover {
    color: var(--primary-dark);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-hero .container {
        grid-template-columns: 1fr;
    }
    
    .milestone-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        left: 80px !important;
    }
    
    .timeline-year {
        left: -10px !important;
        right: auto !important;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
}

@media (max-width: 768px) {
    .nav-list {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 20px;
        box-shadow: var(--shadow);
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: 999;
        height: auto;
    }
    
    .nav-list.active {
        transform: translateY(0);
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .milestone-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .footer {
        padding: 45px 0 18px;
    }
    
    .footer-main {
        gap: 35px;
    }
}

@media (max-width: 576px) {
    .page-header {
        padding: 100px 0 40px;
    }
    
    .footer-brand {
        align-items: center;
        text-align: center;
    }
    
    .footer-brand .logo-text {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-section h3 {
        text-align: center;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links {
        align-items: center;
    }
    
    .contact-item {
        justify-content: center;
        text-align: center;
    }
    
    .hours-item {
        text-align: center;
    }
    
    .footer-content {
        gap: 30px;
    }
}

/* Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease forwards;
}

[data-delay="100"] {
    animation-delay: 0.1s;
}

[data-delay="200"] {
    animation-delay: 0.2s;
}

[data-delay="300"] {
    animation-delay: 0.3s;
}

[data-delay="400"] {
    animation-delay: 0.4s;
}

[data-delay="500"] {
    animation-delay: 0.5s;
}

[data-delay="600"] {
    animation-delay: 0.6s;
}