/* --- 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;
  	}


	/*Gallery Styling Section */
	 .gallery-container {
            width: 100%;
            min-height: 100vh;
            background: #f9f9f9;
            color: #333;
            font-family: 'Arial', sans-serif;
            overflow: hidden;
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            padding: 40px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .gallery-item {
            background: #fff;
            border-radius: 10px;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        .gallery-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
        }

        .gallery-item img {
            width: 100%;
            height: 300px;
            object-fit: cover;
            border-radius: 10px 10px 0 0;
        }

        .gallery-item h3 {
            font-size: 1.5rem;
            margin: 20px 0 10px;
            color: #673de6;
            text-align: center;
        }

        .gallery-item p {
            font-size: 1rem;
            margin: 0 20px 20px;
            color: #555;
            text-align: center;
        }

        @media (max-width: 768px) {
            .gallery-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 480px) {
            .gallery-grid {
                grid-template-columns: 1fr;
            }
        }





	/* 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-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 Device Specifics */
@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 {
		padding: 60px 15px;
		max-width: 100%;
	}
	
    .header h1 {
        font-size: 32px;
		max-bottom: 12px;
    }
            
    .header p {
        font-size: 16px;
    }
         
  .gallery-section h2 {
		font-size: 32px;
		margin-bottom: 40px;
		text-align: center;
	}

	.gallery-grid {
		display: grid; 
		grid-template-columns: repeat(2,1fr);
		gap: 24px;
		justify-items: center;
	}

	.gallery-item {
		width: 100%;
		transition: transform 0.3s ease;
	}

	.gallery-item: hover {
		transform: translateY(-5px);
	}
}



