/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header styles */
header {
    background-color: #6b1c14;
    padding: 15px 40px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.header-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

header img {
    max-width: 150px;
    height: auto;
    transition: transform 0.3s ease;
    display: block;
}

header img:hover {
    transform: scale(1.05);
}

/* Navigation styles */
.topnav {
    display: flex;
    gap: 30px;
    align-items: center;
    height: 100%;
}

.topnav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 12px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
}

.topnav a:hover {
    background-color: rgba(192, 64, 64, 0.2);
    transform: translateY(-2px);
}

.topnav a.active {
    background-color: rgba(172, 55, 55, 0.3);
    font-weight: 600;
}

/* Dropdown styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: transparent;
    color: white;
    font-weight: 500;
    font-size: 16px;
    border: none;
    cursor: pointer;
    padding: 12px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Arial', sans-serif;
}

.arrow-down {
    font-size: 12px;
    transition: transform 0.3s ease;
    color: white;
}

.dropbtn:hover {
    background-color: rgba(192, 64, 64, 0.2);
    transform: translateY(-2px);
}

.dropbtn:focus {
    outline: none;
    background-color: rgba(172, 55, 55, 0.3);
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #6b1c14;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.3);
    z-index: 1;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 5px;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: rgba(192, 64, 64, 0.3);
    transform: none;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeInDown 0.3s ease-out;
}

.dropdown:hover .arrow-down {
    transform: rotate(180deg);
}

.dropdown-content:hover {
    display: block;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Landing page styles */
.Landing-Page {
    position: relative;
    background-image: url('assets/house-photo.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: calc(80vh - 80px); /* Adjust for header height */
    color: white;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
}

.Landing-Page .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(130, 25, 15, 0.7), rgb(84, 31, 31));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    padding-top: 20px;
}

.Landing-Page h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease-out;
}

.Landing-Page h2 {
    font-size: 1.5rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    max-width: 600px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Statistics Section */
.stats-section {
    background-color: #f8f9fa;
    padding: 60px 20px;
    border-top: 4px solid #6b1c14;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.stat-item {
    flex: 1;
    padding: 20px 30px;
    position: relative;
    transition: transform 0.3s ease;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 80px;
    background-color: #6b1c14;
    opacity: 0.3;
}

.stat-item:hover {
    transform: translateY(-3px);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #6b1c14;
    margin-bottom: 10px;
    line-height: 1;
    font-family: 'Arial', sans-serif;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
    line-height: 1.4;
    max-width: 200px;
    margin: 0 auto;
}

/* Footer styles */
.footer {
    background-color: #2c2c2c;
    color: white;
    text-align: center;
    padding: 30px 20px;
    font-size: 14px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    margin-bottom: 10px;
}

.footer-shield {
    max-width: 80px;
    height: auto;
    transition: all 0.3s ease;
    transform: scale(1.2)
}

.footer-shield:hover {
    transform: scale(1.4);
}

.social-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #6b1c14;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link:hover {
    background-color: #8b2419;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(107, 28, 20, 0.4);
}

.social-link svg {
    width: 20px;
    height: 20px;
    z-index: 2;
    position: relative;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.social-link:hover::before {
    left: 100%;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design */
@media (max-width: 1024px) {
    .topnav {
        gap: 20px;
    }
    
    .topnav a {
        font-size: 15px;
        padding: 10px 12px;
    }
}

@media (max-width: 900px) {
    .topnav {
        gap: 15px;
    }
    
    .topnav a {
        font-size: 14px;
        padding: 8px 10px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .topnav {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
    
    .topnav a {
        font-size: 14px;
        padding: 8px 12px;
    }
    
    .dropbtn {
        font-size: 14px;
        padding: 8px 12px;
    }
    
    .dropdown-content {
        right: auto;
        left: 0;
        min-width: 140px;
    }
    
    .Landing-Page h1 {
        font-size: 2.5rem;
    }
    
    .Landing-Page h2 {
        font-size: 1.2rem;
    }
    /* Mobile-friendly hero adjustments */
    .Landing-Page {
        height: 50vh;
        min-height: 280px;
        background-attachment: scroll; /* fixed backgrounds are janky on mobile */
        background-position: center top;
    }
    .Landing-Page .overlay {
        padding: 20px;
    }
    

/* Extra-small devices */
@media (max-width: 480px) {
    .Landing-Page {
        /* Show the full image on very small screens */
        height: auto;
        min-height: unset;
        aspect-ratio: 16 / 9;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
    .Landing-Page h1 { font-size: 1.8rem; }
    .Landing-Page h2 { font-size: 0.95rem; }
}

/* Phones and small devices: ensure hero images are not cropped */
@media (max-width: 600px) {
    .Landing-Page {
        height: auto;               /* allow height to follow aspect ratio */
        min-height: 56vw;           /* fallback for older browsers (~16:9) */
        aspect-ratio: 16 / 9;       /* modern browsers: keep full image */
        background-size: contain;   /* show entire image without cropping */
        background-repeat: no-repeat;
        background-position: center;
    }
    .page-header {
        height: auto;
        min-height: 56vw;           /* similar 16:9ish fallback */
        aspect-ratio: 16 / 9;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
}
    header {
        padding: 15px 20px;
    }
    
    .social-links {
        gap: 15px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-link svg {
        width: 18px;
        height: 18px;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .stat-item {
        padding: 15px 20px;
    }
    
    .stat-item:not(:last-child)::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 2px;
        background-color: #6b1c14;
        opacity: 0.3;
        top: auto;
        right: auto;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .stats-section {
        padding: 40px 15px;
    }
}

/* About Us Page Styles */
.page-header {
    position: relative;
    background-image: url('assets/brothers-group.jpg');
    background-size: cover;
    background-position: center;
    height: 40vh;
    min-height: 300px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-header-overlay {
    position: relative;
    z-index: 2;
    background: rgba(107, 28, 20, 0.8);
    padding: 40px;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 20px;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-header p {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.main-content {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.values-section {
    background: white;
    border-radius: 15px;
    padding: 50px;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.section-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}

.text-content h2 {
    color: #6b1c14;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    border-bottom: 3px solid #6b1c14;
    padding-bottom: 10px;
}

.intro-text {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 30px;
}

.preamble-quote {
    background: linear-gradient(135deg, #6b1c14, #8b2419);
    color: white;
    padding: 30px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.8;
    margin: 30px 0;
    border-left: 5px solid #fff;
    position: relative;
}

.preamble-quote::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -10px;
    left: 20px;
    opacity: 0.3;
}

.section-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.four-values-section {
    background: white;
    border-radius: 15px;
    padding: 50px;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-item {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(107, 28, 20, 0.15);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.value-item h3 {
    color: #6b1c14;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.value-item p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.expectations-section {
    background: white;
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.expectations-section h2 {
    color: #6b1c14;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 3px solid #6b1c14;
    padding-bottom: 15px;
}

.section-intro {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 40px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.expectations-list {
    display: grid;
    gap: 20px;
}

.expectation-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 5px solid #6b1c14;
    transition: all 0.3s ease;
}

.expectation-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.expectation-number {
    background: #6b1c14;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.expectation-item p {
    color: #333;
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

/* Responsive design for About page */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .page-header-overlay {
        padding: 30px 20px;
    }
    /* Make page headers shorter on mobile and keep focus centered */
    .page-header {
        height: 30vh;
        min-height: 220px;
        background-position: center top;
    }
    
    .values-section,
    .four-values-section,
    .expectations-section {
        padding: 30px 20px;
        margin-bottom: 30px;
    }
    
    .section-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .text-content h2 {
        font-size: 2rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .expectation-item {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
    
    .expectation-number {
        align-self: flex-start;
    }
}

/* Additional Page Styles */

/* History Page Styles */
.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 5px solid #6b1c14;
}

.timeline-year {
    background: #6b1c14;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    height: fit-content;
}

.timeline-content h3 {
    color: #6b1c14;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.chapter-history-section {
    background: white;
    border-radius: 15px;
    padding: 50px;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.chapter-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-top: 30px;
}

.achievements-list {
    list-style: none;
    padding: 0;
}

.achievements-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 25px;
}

.achievements-list li::before {
    content: '✓';
    color: #6b1c14;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.chapter-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-box {
    background: #6b1c14;
    color: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
}

.stat-box .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-box .stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

.alumni-section {
    background: white;
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.alumni-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.alumni-card {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.alumni-card:hover {
    transform: translateY(-5px);
}

.alumni-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 4px solid #6b1c14;
}

.alumni-title {
    color: #666;
    font-style: italic;
    margin: 10px 0;
}

.alumni-year {
    color: #6b1c14;
    font-weight: 600;
}

/* Events Page Styles */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Force three columns for events grid on larger screens */
@media (min-width: 1100px) {
    .events-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.event-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: flex;
    gap: 25px;
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-date {
    background: #6b1c14;
    color: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    flex-shrink: 0;
    width: 80px;
}

.event-date .month {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.event-date .day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
}

.event-content h3 {
    color: #6b1c14;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.event-time, .event-location {
    color: #666;
    margin: 8px 0;
    font-weight: 500;
}

.event-description {
    color: #555;
    line-height: 1.6;
    margin: 15px 0;
}

/* Optional image inside event content */
.event-thumb {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.event-btn {
    background: #6b1c14;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.event-btn:hover {
    background: #8b2419;
}

.contact-section {
    background: white;
    border-radius: 15px;
    padding: 50px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-info {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 25px;
}

.contact-btn {
    background: #6b1c14;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.contact-btn:hover {
    background: #8b2419;
}

.contact-btn.secondary {
    background: transparent;
    color: #6b1c14;
    border: 2px solid #6b1c14;
}

.contact-btn.secondary:hover {
    background: #6b1c14;
    color: white;
}

/* Store Page Styles */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-3px);
}

.product-image {
    position: relative;
    height: 140px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.product-img {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #6b1c14;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-info {
    padding: 15px;
}

.product-info h3 {
    color: #6b1c14;
    margin-bottom: 6px;
    font-size: 1.0rem;
    line-height: 1.2;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
}

.product-description {
    color: #666;
    line-height: 1.4;
    margin-bottom: 12px;
    font-size: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.product-btn {
    background: #6b1c14;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    transition: background-color 0.3s ease;
    font-size: 0.85rem;
}

.product-btn:hover {
    background: #8b2419;
}

/* Responsive grid for products */
@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.category-link {
    color: #6b1c14;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.category-link:hover {
    border-color: #6b1c14;
}

.custom-section {
    background: white;
    border-radius: 15px;
    padding: 50px;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.custom-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.custom-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.custom-features li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.custom-features li::before {
    content: '✓';
    color: #6b1c14;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.custom-btn {
    background: #6b1c14;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.custom-btn:hover {
    background: #8b2419;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.info-card h3 {
    color: #6b1c14;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* Philanthropy Page Styles */
.foundation-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 30px 0;
}

.fact-item {
    text-align: center;
    padding: 25px;
    background: #6b1c14;
    color: white;
    border-radius: 10px;
}

.fact-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.foundation-quote {
    background: linear-gradient(135deg, #6b1c14, #8b2419);
    color: white;
    padding: 25px;
    border-radius: 10px;
    font-size: 1.3rem;
    font-style: italic;
    text-align: center;
    margin: 30px 0;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.impact-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.impact-number {
    font-size: 3rem;
    font-weight: 700;
    color: #6b1c14;
    margin-bottom: 10px;
}

.impact-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.activity-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-5px);
}

.activity-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.involvement-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.involvement-options {
    margin: 25px 0;
}

.option-item {
    margin-bottom: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.option-item h4 {
    color: #6b1c14;
    margin-bottom: 8px;
}

.involvement-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.involvement-btn {
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.involvement-btn.primary {
    background: #6b1c14;
    color: white;
}

.involvement-btn.primary:hover {
    background: #8b2419;
}

.involvement-btn.secondary {
    background: transparent;
    color: #6b1c14;
    border: 2px solid #6b1c14;
}

.involvement-btn.secondary:hover {
    background: #6b1c14;
    color: white;
}

.why-content {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.stat {
    text-align: center;
}

.stat .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #6b1c14;
    margin-bottom: 10px;
}

.stat .stat-label {
    color: #666;
    font-size: 0.9rem;
}

/* Mobile responsiveness for new pages */
@media (max-width: 768px) {
    .chapter-content,
    .custom-content,
    .involvement-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .foundation-facts,
    .stats-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .events-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info,
    .involvement-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 15px;
    }
}

/* News & Events Section Styles */
.news-events-section {
    background-color: #fff;
    padding: 60px 0;
}

.news-events-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-section h2,
.events-section h2 {
    color: #6b1c14;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 3px solid #6b1c14;
    padding-bottom: 15px;
}

/* News Section Styles */
.news-articles {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.news-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border-left: 5px solid #6b1c14;
    transition: all 0.3s ease;
}

.news-card:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.news-date {
    color: #6b1c14;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.news-card h3 {
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    color: #6b1c14;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.read-more:hover {
    border-color: #6b1c14;
}

.news-footer {
    text-align: center;
    margin-top: 30px;
}

/* Events Section Styles */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.event-item {
    display: flex;
    gap: 20px;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.event-item:hover {
    background: #e9ecef;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(107, 28, 20, 0.15);
}

.event-date {
    background: #6b1c14;
    color: white;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    flex-shrink: 0;
    width: 70px;
    height: fit-content;
}

.event-date .month {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.event-date .day {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
}

.event-details h4 {
    color: #6b1c14;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.event-time {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.event-desc {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

.events-footer {
    text-align: center;
    margin-top: 30px;
}

.view-all-btn {
    background: #6b1c14;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.view-all-btn:hover {
    background: #8b2419;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(107, 28, 20, 0.3);
}

/* Printify Store Styles */
.loading-spinner {
    text-align: center;
    padding: 40px;
    color: #6b1c14;
    font-size: 1.2rem;
}

.printify-store {
    margin-top: 30px;
}

.api-notice {
    background: #f8f9fa;
    border: 2px solid #6b1c14;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.api-notice p {
    margin: 10px 0;
    color: #555;
}

.api-notice strong {
    color: #6b1c14;
}

.api-success {
    background: #d4edda;
    border: 2px solid #28a745;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 30px;
    text-align: center;
}

.api-success p {
    margin: 0;
    color: #155724;
}

.api-success strong {
    color: #28a745;
}

/* Responsive design for news & events */
@media (max-width: 768px) {
    .news-events-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 15px;
    }
    
    .news-events-section {
        padding: 40px 0;
    }
    
    .news-section h2,
    .events-section h2 {
        font-size: 1.8rem;
    }
    
    .event-item {
        flex-direction: column;
        gap: 15px;
    }
    
    .event-date {
        width: 60px;
        align-self: flex-start;
    }
}

/* Upcoming Events Carousel */
.upcoming-carousel-section { background:#fff; padding: 40px 0 20px; }
.carousel-title { color:#6b1c14; font-size:2rem; font-weight:700; text-align:center; margin-bottom: 20px; }
.carousel { position: relative; }
.carousel-viewport {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 6px 6px 12px;
}
.carousel-viewport::-webkit-scrollbar { display: none; }
.carousel-slide {
    flex: 0 0 85%;
    max-width: 520px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    scroll-snap-align: center;
}
@media (min-width: 768px) {
    .carousel-slide { flex-basis: 48%; }
}
@media (min-width: 1100px) {
    .carousel-slide { flex-basis: 32%; }
}
.carousel-img { width: 100%; height: 220px; object-fit: cover; display: block; }
.carousel-info { padding: 14px 16px 18px; }
.carousel-info h3 { color:#6b1c14; font-size:1.2rem; margin-bottom:6px; }
.carousel-info .meta { color:#666; font-size:0.9rem; margin-bottom:12px; }
.carousel-cta { background:#6b1c14; color:#fff; text-decoration:none; padding:10px 16px; border-radius:8px; font-weight:600; display:inline-block; transition: background-color .25s; }
.carousel-cta:hover { background:#8b2419; }
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(107,28,20,0.9);
    color: #fff;
    border: none;
    width: 38px; height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: none; /* hidden on touch by default */
    align-items:center; justify-content:center;
    font-size: 18px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}
.carousel-btn.prev { left: -6px; }
.carousel-btn.next { right: -6px; }
@media (hover:hover) and (pointer:fine) {
    .carousel-btn { display: inline-flex; }
}

/* Movie Library (Events as Posters) */
.library-section { margin-top: 60px; }
.library-header { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:20px; margin-bottom:25px; }
.library-title { font-size:2rem; font-weight:700; color:#6b1c14; }
.library-tabs { display:flex; gap:30px; }
.library-tab { background:transparent; border:none; color:#666; font-weight:600; font-size:0.95rem; padding:10px 6px; cursor:pointer; position:relative; transition:color .25s; }
.library-tab:hover { color:#333; }
.library-tab.active { color:#6b1c14; }
.library-tab.active:after { content:''; position:absolute; left:0; bottom:-6px; width:100%; height:3px; background:#6b1c14; border-radius:3px; }
.library-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(170px,1fr)); gap:26px; align-items:start; }
/* Force three posters per row on wider screens */
@media (min-width: 1100px) {
    .library-grid { grid-template-columns: repeat(3, 1fr); }
}
.poster-card { position:relative; background:#111; border-radius:14px; overflow:hidden; min-height:260px; box-shadow:0 8px 24px rgba(0,0,0,.45); cursor:pointer; transition:transform .35s, box-shadow .35s; align-self:start; }
.poster-card:hover { transform:translateY(-6px); box-shadow:0 14px 32px rgba(0,0,0,.55); }
.poster-img { width:100%; height:100%; object-fit:cover; display:block; }
.poster-overlay { position:absolute; inset:0; background:linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,.35) 55%, rgba(0,0,0,0)); opacity:0; transition:opacity .3s; }
.poster-card:hover .poster-overlay { opacity:1; }
.poster-info { position:absolute; left:0; bottom:0; width:100%; padding:12px 14px 14px; color:#fff; display:flex; flex-direction:column; gap:5px; z-index:2; background-color: #111; opacity: 0.70; }
.poster-title { font-size:.9rem; font-weight:600; line-height:1.1; margin:0; text-shadow:0 2px 6px rgba(0,0,0,.5); }
.poster-meta { font-size:.65rem; opacity:.8; }
.poster-badge { position:absolute; top:8px; right:8px; background:#6b1c14; color:#fff; padding:4px 10px; font-size:.6rem; font-weight:700; letter-spacing:.5px; border-radius:10px; box-shadow:0 4px 10px rgba(0,0,0,.4); }
.poster-favorite { position:absolute; top:8px; left:8px; width:26px; height:26px; background:rgba(255,255,255,.12); border-radius:50%; display:flex; align-items:center; justify-content:center; color:#ffcc00; font-size:.8rem; backdrop-filter:blur(4px); box-shadow:0 4px 10px rgba(0,0,0,.4); }
.poster-card[data-hidden='true'] { display:none !important; }
@media (max-width:600px){ .library-grid { grid-template-columns:repeat(auto-fill,minmax(140px,1fr)); gap:18px;} .poster-card{ min-height:220px;} .poster-title{ font-size:.75rem;} }