@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #D68910;      
    --primary-dark: #A0522D;  
    --cream: #FFF8E1;        
    --white: #ffffff;
    --text: #333333;
    --red: #c0392b;        
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--cream);
    color: var(--text);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    line-height: 1.6;
}


.navbar {
    background: linear-gradient(135deg, var(--primary), #F4D03F);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.brand-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}


.hamburger {
    display: none;
    font-size: 1.8rem;
    color: var(--white);
    cursor: pointer;
}


.btn-donate-nav {
    background: var(--red) !important;
    font-weight: bold !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.btn-donate-nav:hover {
    background: #a93226 !important;
}

.btn-login {
    background: var(--white) !important;
    color: var(--primary) !important;
    font-weight: bold !important;
    border: 2px solid var(--white);
}

.btn-admin {
    background: transparent !important;
    color: var(--white) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    padding: 8px 12px !important;
}
.btn-admin:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: var(--white) !important;
}


.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    width: 100%;
    flex: 1; 
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    border-top: 4px solid var(--primary);
}

h2 {
    color: var(--primary-dark);
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-top: 0;
    font-weight: 600;
}

h3 {
    color: var(--primary);
    margin-bottom: 15px;
}


.banner-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.feature-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
}
.feature-img:hover {
    transform: scale(1.02);
}


.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}


.video-container{
  position:relative;
  width:100%;
  padding-bottom:56.25%;
  height:0;
}
.video-container iframe{
  position:absolute;
  top:0; left:0;
  width:100%; height:100%;
}


form label {
    font-weight: 500;
    color: var(--primary-dark);
    display: block;
    margin-top: 10px;
}

input, textarea, select {
    width: 100%;
    padding: 12px;
    margin: 8px 0 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 5px rgba(214, 137, 16, 0.3);
}

.btn {
    display: inline-block;
    background: var(--primary-dark);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    transition: background 0.3s;
    width: 100%;
}
.btn:hover {
    background: #8B4513;
}


.gallery-item {
    background: var(--white);
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}
.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
}


footer {
    background: #333;
    color: #ccc;
    text-align: center;
    padding: 40px 20px;
    margin-top: auto;
}

.social-icons {
    margin: 15px 0;
}

.social-icons a {
    color: var(--white);
    font-size: 1.5rem;
    margin: 0 12px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--primary);
}


@media (max-width: 900px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary);
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    }

    .nav-links.active {
        display: flex; 
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 15px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        border-radius: 0;
    }

    .brand-name {
        font-size: 1.2rem;
    }

    .banner-img {
        height: 250px;
    }

    .btn-login, .btn-admin {
        width: 80%;
        margin: 5px auto;
        display: inline-block;
    }
}