34801-vm/assets/css/style.css
2025-10-08 12:22:33 +00:00

253 lines
4.7 KiB
CSS

:root {
--navy-blue: #0A2342;
--dark-orange: #FF8C00;
--white: #FFFFFF;
--light-gray: #f4f4f4;
--text-color: #333;
}
html {
scroll-behavior: smooth;
}
body {
margin: 0;
font-family: 'Inter', sans-serif;
background-color: var(--light-gray);
color: var(--text-color);
position: relative; /* For watermark positioning */
}
body::before {
content: "FuelCo";
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) rotate(-45deg);
font-size: 12rem;
font-weight: 900;
color: rgba(10, 35, 66, 0.07); /* Navy blue with low opacity */
pointer-events: none;
z-index: 0;
white-space: nowrap;
}
.container {
max-width: 1200px;
margin: 2rem auto; /* Added top/bottom margin */
background-color: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border-radius: 10px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
overflow: hidden;
position: relative; /* Ensure container is above watermark */
z-index: 1;
}
header {
background-color: var(--navy-blue);
color: var(--white);
position: sticky;
top: 0;
z-index: 1000;
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.header-container {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1200px;
margin: 0 auto;
padding: 1rem 2rem;
}
.logo h1 {
margin: 0;
font-size: 1.8rem;
}
.logo a {
color: var(--white);
text-decoration: none;
}
nav ul {
margin: 0;
padding: 0;
list-style: none;
}
nav li {
display: inline-block;
margin-left: 1.5rem;
}
nav a {
color: var(--white);
text-decoration: none;
font-weight: 700;
transition: color 0.3s;
padding-bottom: 5px;
}
nav a:hover, nav a.active {
color: var(--dark-orange);
border-bottom: 2px solid var(--dark-orange);
}
section {
padding: 4rem 2rem;
border-bottom: 1px solid #eee;
}
section:nth-of-type(even) {
background-color: rgba(248, 249, 250, 0.8);
}
section:last-of-type {
border-bottom: none;
}
#hero {
text-align: center;
padding: 8rem 2rem;
background-image: url('https://images.pexels.com/photos/38280/pexels-photo-38280.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2');
background-size: cover;
background-position: center;
color: var(--white);
text-shadow: 0 2px 4px rgba(0,0,0,0.5);
border-radius: 10px 10px 0 0; /* Rounded top corners */
}
#hero h1 {
font-size: 3.5rem;
color: var(--white);
}
#about .about-content {
display: flex;
gap: 2rem;
align-items: flex-start;
}
.about-text {
flex-grow: 1;
}
.sidebar {
flex-basis: 300px;
flex-shrink: 0;
background-color: rgba(255, 255, 255, 0.7);
padding: 1.5rem;
border-radius: 8px;
border: 1px solid #ddd;
}
.sidebar h3 {
color: var(--navy-blue);
border-bottom: 2px solid var(--dark-orange);
padding-bottom: 0.5rem;
margin-top: 0;
}
.did-you-know-item {
margin-bottom: 1.5rem;
}
.did-you-know-item p {
margin: 0.5rem 0 0;
font-size: 0.9rem;
}
h1, h2 {
color: var(--navy-blue);
}
#gallery .gallery-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 1rem;
}
.gallery-item img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 8px;
transition: transform 0.3s, box-shadow 0.3s;
}
.gallery-item img:hover {
transform: scale(1.05);
box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}
#contact ul {
list-style: none;
padding: 0;
}
#contact li {
margin-bottom: 1rem;
font-size: 1.1rem;
}
#contact a {
color: var(--dark-orange);
text-decoration: none;
}
.account-form .form-group {
margin-bottom: 1.5rem;
}
.account-form label {
display: block;
margin-bottom: 0.5rem;
font-weight: 700;
color: var(--navy-blue);
}
.account-form input[type="text"],
.account-form input[type="email"],
.account-form input[type="tel"],
.account-form input[type="file"] {
width: 100%;
padding: 0.8rem;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
.account-form small {
display: block;
margin-top: 0.5rem;
font-size: 0.8rem;
color: #666;
}
.btn {
background-color: var(--dark-orange);
color: var(--white);
padding: 0.8rem 1.5rem;
border: none;
border-radius: 4px;
font-weight: 700;
cursor: pointer;
transition: background-color 0.3s;
}
.btn:hover {
background-color: #E57C00; /* A slightly darker orange */
}
footer {
text-align: center;
padding: 2rem 1rem;
background-color: var(--navy-blue);
color: var(--white);
border-radius: 0 0 10px 10px; /* Rounded bottom corners */
}