@import url("Images/Background.png.css");
/* =========================================
   SCOTT STUDIO - MAIN STYLESHEET
   ========================================= */

/* Basic Reset for cross-browser consistency */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
}

/* Header & Navigation */
header {
    background: #456679;
    color: #fff;
    padding: 1.5rem 0;
    text-align: center;
}

.logo-container img {
    max-width: 140px;
    margin-bottom: 10px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s;
}

nav a:hover {
    color: #00bcd4;
}

/* Layout Containers & Centered Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center; /* Centers copy away from the top edge */
}

/* Hero Section - Centered layout */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    background-image: url('images/hero-banner.jpg');
    background-size: cover;
    background-position: center;
    background-color: rgba(255, 255, 255, 0.9);
    background-blend-mode: overlay;
    text-align: center;
    padding: 2rem;
}

.hero img {
    max-width: 190px;
    border-radius: 50%;
    border: 5px solid #456679;
    margin: 20px 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.hero h1 {
    font-size: 2.5rem;
    color: #456679;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-top: 10px;
}

/* Services / Icons */
.services-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.service-item img {
    width: 64px;
    height: 64px;
}

/* Portfolio Grid */
.category-title {
    margin: 40px 0 20px;
    font-size: 1.8rem;
    border-bottom: 2px solid #ddd;
    display: inline-block;
    padding-bottom: 5px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.card {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

.card h3 {
    margin-top: 15px;
    font-size: 1.1rem;
}

/* Educational Video Section */
.video-wrapper {
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
}


/* Contact Form Center Align */
.contact-section {
    background-size: cover;
    background-position: center;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

.contact-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 8px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}

.contact-form button {
    background: #456679;
    color: #fff;
    border: none;
    padding: 15px 30px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 4px;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #f0c224;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: #456679;
    color: #fff;
    margin-top: auto;
}