/* --- GLOBAL RESET & VARIABLES --- */
.mobile-toggle {
    display: none; /* HIDDEN BY DEFAULT ON ALL SCREENS */
}

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

:root {
    --color-primary: #e6b91d;
    --color-primary-dark: #d1a005;
    --color-primary-light: #fff9e4;
    --color-meteorite: #ffdb85;
    --color-dark: #1d1e20;
    --color-gray: #727586;
    --color-gray-light: #f2f3f6;
    --color-light: #fff;
    --color-success: #00b090;
    --color-warning: #ffcd35;
}

/* --- NAVIGATION STYLES (DESKTOP & MOBILE BASE) --- */
nav {
    background: var(--color-gray-light);
    opacity: 0.87;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-family: Georgia, "Times New Roman", "Times", serif;    width: 100%;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

nav a {
    display: block;
    color: var(--color-dark);
    text-decoration: none;
    padding: 15px 25px;
    transition: background-color 0.3s ease;
    font-weight: 500;
}

nav a:hover {
    background-color: var(--color-primary);
}

/* main body edits for visual */
body {
	font-family: "College", "Georgia", "Times New Roman", serif;
    color: var(--color-dark);
    background-color: var(--color-light);
    line-height: 1.6;
	    
}

/* Header Section */
.header {
    background-color: var(--color-gray-light);
    color: var(--color-dark);
    padding: 60px 20px;
    text-align: center;
}

/* The size seting for the h1 within the header above the navigation */
.header h1 {
    font-size: 48px;
	margin-bottom: 10px;
    font-weight: 700;
	color: var(--color-primary-dark);
}

/* The size setting for the p within the header above the navigation */
.header p {
    font-size: 18px;
    color: var(--color-dark);
}

/* Collection Images */
.gallery-section {
    max-width: 1170px;
    margin: 0 auto;
    padding: 70px 20px;
}

.gallery-section h2 {
    font-size: 28px;
    color: var(--color-primary-dark);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gallery-description {
    text-align: center;
    font-size: 15px;
    color: var(--color-gray);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}


/* Section Below Gallery */
.gallery-footer-section {
    width: 100%;
 	background: #D3D3D3;
    padding: 60px 20px;
    text-align: center;
    margin-top: 0;
}

.gallery-footer-container {
    max-width: 1170px;
    margin: 0 auto;
    background: var(--color-light);
    padding: 50px 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.gallery-footer-container h3 {
    font-size: 24px;
    color: var(--color-primary-dark);
    margin-bottom: 15px;
}

.gallery-footer-container p {
    font-size: 14px;
    color: var(--color-gray);
    margin-bottom: 30px;
    line-height: 1.6;
}

.gallery-footer-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--color-primary-dark);
    color: var(--color-light);
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.gallery-footer-button:hover {
    background: var(--color-primary-dark);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}
	
.gallery-footer-icon {
    font-size: 48px;
    margin-bottom: 20px;
}
        
footer {
    background: var(--color-gray-light);
    color: var(--color-dark);
    padding: 40px 20px;
    text-align: center;
    margin-top: 5px;
}

footer p {
    margin-bottom: 10px;
    opacity: 0.9;
}

footer a {
    color: var(--color-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--color-primary-light);
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    margin: 0 10px;
    padding: 8px;
    background-color: var(--color-primary);
    border-radius: 5px;
    transition: background-color 0.3 ease, transform 0.3s ease;
}

.social-links a img {
    width: 24px;
    height: 24px;
    display: block;
    filter: brightness(1);
    transition: filter 0.3 ease;
}

.social-links a:hover {
    background-color: var(--color-light);
    transform: scale(1.1);
}

.social-links a:hover img {
    filter: brightness(1.2);
}

/* --- MOBILE STYLES (768px AND BELOW) --- */
@media (max-width: 768px) {
    
    /* --- CRITICAL FIX FOR BACKGROUND ZOOMING --- */
    header {
        background-attachment: scroll !important; /* Stops the zoom/jump glitch */
        background-position: center top !important; /* Locks image to top */
        background-size: cover !important;
        padding: 180px 20px; /* Adjusted padding for mobile view */
    }

    /* 1. The Custom Hamburger Button */
    .mobile-toggle {
        display: block !important;
        position: absolute;
        top: 18px;
        right: 25px;
        width: 30px;
        height: 22px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 101;
        padding: 0;
        -webkit-appearance: none;
        appearance: none;
    }

    /* The 3 Lines (Bars) */
    .mobile-toggle .bar {
        display: block;
        width: 100%;
        height: 3px;
        background-color: var(--color-light);
        margin: 5px 0;
        border-radius: 2px;
        transition: all 0.3s ease-in-out;
    }

    /* Transform to 'X' */
    .mobile-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--color-primary);
    }
    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: var(--color-primary);
    }

    /* 2. The Menu List */
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #121212;
        padding: 0;
        margin: 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
        z-index: 100;
        border-top: 1px solid rgba(255,255,255,0.1);
        justify-content: center;
        align-items: center;
        opacity: 0;
        transform: translateY(-20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        max-height: 80vh;
        overflow-y: auto;
    }

    nav ul.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }

    nav ul li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        display: flex;
        justify-content: center;
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    nav a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 18px 0;
        font-size: 18px;
        color: var(--color-light);
        text-decoration: none;
        transition: background-color 0.3s ease, color 0.3s ease;
        font-weight: 500;
    }

    nav a:hover {
        background-color: rgba(230, 185, 29, 0.1);
        color: var(--color-primary);
    }  
/* --- Header Section --- */
    .header {
		padding: 60px 15px;
		max-width: 100%;
	}
	
    .header h1 {
     		font-size: 32px;
		max-bottom: 12px;
    }
            
   .header p {
        		font-size: 16px;
    }
         
  /* --- About Section (Our Story) --- */
  .about-section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 20px;
  }

  .about-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .about-text {
    order: 1; /* Text on top */
  }

  .about-image {
    order: 2; /* Image on bottom */
    text-align: center;
  }

  .about-image img {
    max-width: 100%;
    height: 300px;
    border-radius: 8px;
  }

  .about-text h2 {
    font-size: 1.6rem;
    margin-top: 0;
  }

  .about-text p {
    line-height: 1.6;
    font-size: 1rem;
  }

  /* --- Mission Section --- */
  .mission-section {
    padding: 40px 0;
  }

  .mission-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .mission-card {
    text-align: center;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  }

  .mission-icon {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  /* --- Team Section --- */
  .team-section {
    padding: 40px 0;
  }

  .team-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .team-image {
    width: 100%;
    max-width: 250px; /* Limit image size on mobile */
    margin-bottom: 15px;
  }

  .team-image img {
    width: 100%;
    height: auto;
    border-radius: 50%; /* Keep circular if desired, or remove */
  }

  .team-info h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
  }

  /* --- Contact Section --- */
  .contact-section {
    padding: 40px 0;
  }

  .contact-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .contact-info {
    text-align: center;
  }

  .social-links img {
    width: 30px; /* Smaller icons for mobile */
    height: 30px;
    margin: 5px;
  }

@media (min-width: 769px) {
    .mobile-toggle {
        display: none !important;
    }
}

