/* --- Design System & Variables --- */
:root {
    --primary-color: #0d1b2a; /* Deep Dark Blue */
    --primary-light: #1b263b;
    --secondary-color: #ffffff;
    --accent-color: #d4af37; /* Metallic Gold */
    --accent-hover: #b8962d;
    --text-dark: #1b1b1b;
    --text-light: #f4f4f4;
    --text-grey: #666;
    --bg-light: #f8f9fa;
    --bg-dark: #0a1016;
    --transition: all 0.3s ease-in-out;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

/* --- Reset & Global Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--secondary-color);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 100px 0;
}

.text-center { text-align: center; }
.mb-50 { margin-bottom: 50px; }
.text-white { color: var(--secondary-color); }
.text-light { color: #ccc; }
.text-gold { color: var(--accent-color); }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* --- Layout Utils --- */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* --- Header & Nav --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.main-header.scrolled {
    background-color: var(--primary-color);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--secondary-color);
    line-height: 1;
}

.logo-subtext {
    font-size: 0.75rem;
    color: var(--accent-color);
    letter-spacing: 2px;
    font-weight: 600;
}

.nav-menu ul {
    display: flex;
    gap: 30px;
}

.nav-menu ul li a {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-menu ul li a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--secondary-color);
    font-size: 1.5rem;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    background: url('images/gas_station_hero.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--secondary-color);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.9) 0%, rgba(13, 27, 42, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--accent-color);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* --- Sections Styles --- */
.section-tag {
    text-transform: uppercase;
    color: var(--accent-color);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: block;
}

.about-text h2 { font-size: 2.5rem; }

.brand-callout {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: var(--bg-light);
    padding: 20px;
    border-left: 4px solid var(--accent-color);
    margin-top: 30px;
}

.brand-callout i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background-color: #ddd;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Structure Flow --- */
.structure-flow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 50px;
}

.structure-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    width: 350px;
    transition: var(--transition);
}

.structure-card:hover { transform: translateY(-10px); }

.card-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.structure-arrow {
    font-size: 2rem;
    color: var(--accent-color);
}

/* --- Service Cards --- */
.service-grid {
    margin-top: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    background-color: var(--primary-color);
    color: white;
}

.service-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.service-card:hover i { color: white; }

/* --- Brand Section --- */
.list-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.list-features i { color: var(--accent-color); }

.image-wrapper {
    width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* --- Contact Section --- */
.contact-wrapper {
    align-items: stretch;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    background: var(--bg-light);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.info-item h4 { margin-bottom: 5px; }

.map-container {
    margin-top: 30px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-status {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    display: none;
}

.form-status.success {
    background: #d4edda;
    color: #155724;
    display: block;
}

.form-status.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}

/* --- Footer --- */
.main-footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-about h3,
.footer-links h3,
.footer-contact h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--accent-color);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 20px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    line-height: 1.5;
}

.footer-contact i { 
    color: var(--accent-color);
    margin-top: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* --- Animations --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in { animation: fadeIn 1s ease-out forwards; }
.fade-in-delay { animation: fadeIn 1s ease-out 0.3s forwards; opacity: 0; }
.fade-in-delay-2 { animation: fadeIn 1s ease-out 0.6s forwards; opacity: 0; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Responsive Layout --- */
@media (max-width: 992px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero h1 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .grid-2 { grid-template-columns: 1fr; }
    .main-header { padding: 15px 0; background-color: var(--primary-color); }
    
    .mobile-menu-toggle { display: block; }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--primary-color);
        transition: var(--transition);
        padding: 40px 2rem;
    }
    
    .nav-menu.active { left: 0; }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .nav-menu ul li a { font-size: 1.2rem; }
    
    .hero h1 { font-size: 2.2rem; }
    .structure-flow { flex-direction: column; }
    .structure-arrow { transform: rotate(90deg); }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

