/* 
    Modern Styling for Vegantarian Paradise 
    Designed for a premium, professional, and fresh look.
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;600;700&display=swap');

:root {
    /* Color Palette */
    --primary: #1B4332;
    --primary-light: #2D6A4F;
    --secondary: #40916C;
    --accent: #95D5B2;
    --accent-soft: #D8F3DC;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --text-main: #2D3436;
    --text-muted: #636E72;
    --glass-bg: rgba(27, 67, 50, 0.85);

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;

    /* Spacing */
    --space-unit: 1rem;
}

html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Base Overrides */
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary);
}

/* Navigation - Glassmorphism */
#nav {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    padding: 0.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

#nav ul li a {
    color: #fff !important;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border-bottom: none !important;
}

#nav ul li a:hover {
    color: var(--accent) !important;
}

/* Header / Hero Section */
#header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../../images/header.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 0 !important;
    padding-bottom: 20vh;
    /* Shift content upwards */
}

#header .inner {
    max-width: 900px;
}

#header h1 a {
    font-size: 3.5rem;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

#header hr {
    border-top: 2px solid var(--accent);
    width: 60px;
    margin: 1.5rem auto;
    position: static;
    height: auto;
    background: transparent;
}

#header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    font-weight: 300;
}

/* Buttons */
.button {
    background-color: var(--primary);
    color: #fff !important;
    border-radius: var(--radius-lg);
    padding: 0.8rem 2.5rem;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    text-transform: none;
    letter-spacing: normal;
}

.button:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: #fff !important;
}

.button.circled {
    width: 120px;
    height: 120px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1rem;
}

/* Banner Section */
#banner {
    padding: 6rem 2rem;
    background: var(--bg-white);
}

#banner h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

#banner p {
    max-width: 1000px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Carousel / Articles */
.carousel {
    padding-bottom: 6rem;
    position: relative;
    padding-left: 4rem;
    padding-right: 4rem;
}

.carousel .forward,
.carousel .backward {
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    margin-top: -25px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.carousel .forward:after,
.carousel .backward:after {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 1.2rem;
}

.carousel .forward {
    right: -25px;
}

.carousel .forward:after {
    content: '\f061';
}

.carousel .backward {
    left: -25px;
}

.carousel .backward:after {
    content: '\f060';
}

@media screen and (max-width: 1280px) {
    .carousel .forward {
        right: 10px;
    }

    .carousel .backward {
        left: 10px;
    }
}

.carousel .forward:hover,
.carousel .backward:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

#carousel-wrapper header {
    margin-bottom: 0rem !important;
}

.carousel article {
    min-height: 420px;
    /* Uniform minimum height */
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.carousel article:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.carousel article .image.featured {
    margin: 0;
    overflow: hidden;
    height: 200px;
    /* Fixed height for images */
}

.carousel article .image.featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.carousel article:hover .image.featured img {
    transform: scale(1.05);
}

.carousel article header {
    margin-bottom: 0;
}

.carousel article header h3 {
    margin-bottom: 0;
}

.carousel article header h3 a {
    color: var(--primary);
    font-size: 1.2rem;
    padding: 1.25rem 1.5rem 0.25rem;
    display: block;
    border: none !important;
}

.carousel article p {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-muted);
}

/* Main / Special Articles */
.wrapper.style2 {
    background: var(--accent-soft);
    padding: 6rem 0;
    margin: 0;
}

#main.special {
    background: var(--bg-white);
    padding: 4rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Features */
.wrapper.style1 {
    padding: 6rem 0;
}

#features article {
    text-align: center;
    padding: 2rem;
}

#features article img {
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

#features article:hover img {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.image.featured {
    border-radius: var(--radius-md);
    overflow: hidden;
    display: block;
    box-shadow: var(--shadow-sm);
}

#footer {
    background: var(--primary);
    color: #fff;
    padding: 6rem 0 2rem;
}

#footer h2,
#footer h3 {
    color: var(--accent);
}

#footer .contact p {
    text-align: center;
    font-size: 1.1rem;
}

/* Carousel Section Wrapper */
#carousel-wrapper {
    background: var(--bg-white);
    padding: 0;
}

#carousel-wrapper header {
    margin-bottom: 4rem;
}

/* Sponsors Grid */
.sponsor-category {
    margin-bottom: 3rem;
}

.sponsor-category .row.gtr-25 {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin: 1rem 0;
    justify-content: center;
}

.sponsor-category h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 1.1rem;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
    padding-bottom: 0.3rem;
}

.contact .col-2,
.contact .col-3,
.contact .col-4,
.contact .col-5,
.contact .col-6 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

/* Sponsor Tier Hierarchy */
.tier-title img {
    max-height: 300px !important;
    padding: 10px !important;
}

.tier-co img {
    max-height: 250px !important;
    padding: 15px !important;
}

.tier-platinum img {
    max-height: 200px !important;
    padding: 15px !important;
}

.tier-standard img {
    max-height: 130px !important;
    padding: 10px !important;
}

.contact img {
    filter: none;
    opacity: 1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: #fff;
    padding: 15px;
    border-radius: var(--radius-md);
    max-height: 140px;
    /* Increased from 120px */
    width: auto;
    max-width: 90%;
    object-fit: contain;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
    box-shadow: var(--shadow-sm);
}

.contact img:hover {
    transform: scale(1.08);
    box-shadow: var(--shadow-lg);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 4rem;
    padding-top: 2rem;
}

/* Mobile Responsive */
@media screen and (max-width: 736px) {
    #header h1 a {
        font-size: 2.2rem;
    }

    #header p {
        font-size: 1rem;
    }

    #banner h2 {
        font-size: 1.8rem;
    }

    #main.special {
        padding: 2rem;
    }
}