﻿ /* CSS Reset and Basic Styles */
        :root {
            --primary-color: #0A121A; /* Brand colors used on the whole page */
            --dark-gray: #3F464C;
            --light-gray: #f9f9f9;
			--red-accent: #FF5E65;
			--light-sand: #FBF1E4;
            --white: #ffffff;
        }

        body {
			margin: 0;
            padding: 0;
        }

		h1 {
            font-family: Impact, Haettenschweiler, 'Franklin Gothic Bold', 'Arial Black', 'sans-serif';
        }

		h2, h3, p {
  			font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
		}

		ul {
			font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
			padding-left: 1.5em;
			margin-bottom: 1em;
			text-align: left;
}

		li {
  			font-size: 1.1rem;
            line-height: 1.5;
			margin-bottom: 0.5em;
  			line-height: 1.4;
}

        img {
            max-width: 100%;
            height: auto;
        }

		.icon {
			display: inline-block;
			margin: 10px;
		}
		
		a:link { color: var(--primary-color); text-decoration: none; font-weight: 700; }
		a:visited { text-decoration: underline; }
		a:hover { text-decoration: underline; }
		a:active { text-decoration: underline; }

        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 1em 0 2em 0;
        }

        /* Header Section */

  		.hero-header {
  		min-height: 30vh;
  		background: url('../Images/CSS/airplane-cabin.jpeg') no-repeat center center/cover;
  		display: flex;
  		align-items: center;
  		justify-content: center;
		}

		.hero-header h1 {
  		color: white;
  		font-weight: 500;
  		text-align: center;
		padding: 0 1rem;
		font-size: clamp(2.5rem, 5vw, 4.5rem);
  		text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
		}

        /* Welcome Section */

        .welcome-section {
            text-align: center;
        }

        .welcome-section h2 {
            font-size: 2.5rem;
            font-weight: 300;
            margin-bottom: 0.5em;
        }

        .welcome-section p {
            max-width: 800px;
            margin: 0 auto;
            font-size: 1.1rem;
            line-height: 1.5;
        }

		.noteWarning {
		display: block;
    	background-color: var(--light-gray);
		font-size: 1.1rem;
		text-align: left;
    	line-height: 1.5;
    	overflow: hidden;
    	border-left: solid 4px var(--red-accent);
    	padding: 15px 15px 15px 30px;
}

        /* Features Section - CSS Grid */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2.5rem;
            text-align: center;
        }

        .feature-item {
            background-color: #F7E4CB;
            padding: 2.5rem;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        }
   
        .feature-item h3 {
            font-size: 1.5rem;
            font-weight: 400;
            margin-bottom: 1rem;
        }

        .feature-item p {
            margin-bottom: 1.5rem;
        }
		
			/* sets the hover effect for sand boxes on home page */
		article.feature-item:hover {
			box-shadow: 0 12px 18px rgba(0,0,0,0.16), 0 12px 18px rgba(0,0,0,0.23);
			transform: scale(1.05);
		}
		
		/* Original version didn't have the a. but the link text defaulted to black. Added the a and it works */

        a.learn-more-btn {
            display: inline-block;
            background-color: var(--primary-color);
            color: var(--white);
            padding: 0.8rem 1.8rem;
            border-radius: 5px;
			font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
            text-decoration: none;
            font-weight: 600;
            transition: background-color 0.3s ease;
        }

        .learn-more-btn:hover {
            background-color: var(--dark-gray);
        }

        /* Responsive Design */
        @media (max-width: 1200px) {
            .hero-header h1 {
                font-size: 3rem;
            }
            .features-grid {
                grid-template-columns: 1fr 1fr;
            }
        }

        @media (max-width: 768px) {
            .hero-header h1 {
                font-size: 2.5rem;
            }
            .container {
                padding: 3em 0;
            }
            .welcome-section h2 {
                font-size: 2rem;
            }
            .features-grid {
                grid-template-columns: 1fr;
            }
        }