/* ==========================================
   WYNE GAS WEBSITE - CSS STYLESHEET
   ========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0066cc;
    --dark-blue: #004499;
    --light-blue: #e6f0ff;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #ddd;
    --white: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */

header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-blue);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--primary-blue);
}

nav a.active {
    color: var(--primary-blue);
    border-bottom: 3px solid var(--primary-blue);
    padding-bottom: 5px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ==========================================
   RESPONSIVE MOBILE MENU
   ========================================== */

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    nav.active {
        max-height: 300px;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 20px;
    }

    nav a {
        padding: 10px 0;
        border-bottom: 1px solid var(--border-color);
    }

    nav a.active {
        border-bottom: 3px solid var(--primary-blue);
    }

    .header-container {
        padding: 15px 20px;
    }
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 80px 30px;
    text-align: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-image {
    max-width: 100%;
    height: auto;
    margin-top: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero {
        padding: 50px 20px;
    }
}

/* ==========================================
   MAIN CONTENT
   ========================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 30px;
}

.section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    color: var(--primary-blue);
    margin-bottom: 30px;
    border-bottom: 3px solid var(--primary-blue);
    padding-bottom: 15px;
}

.section-subtitle {
    font-size: 24px;
    color: var(--dark-blue);
    margin-top: 40px;
    margin-bottom: 20px;
}

.section-text {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ==========================================
   FEATURES / HIGHLIGHTS
   ========================================== */

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background-color: var(--light-blue);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.15);
}

.feature-card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 18px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* ==========================================
   IMAGE GALLERY
   ========================================== */

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ==========================================
   CONTACT FORM
   ========================================== */

.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-info {
    background-color: var(--light-blue);
    padding: 40px;
    border-radius: 8px;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h4 {
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: 16px;
}

.contact-item p {
    color: var(--text-light);
    font-size: 14px;
}

.contact-item a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--dark-blue);
    text-decoration: underline;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-status {
    display: none;
    padding: 12px 14px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
}

.form-status.success {
    display: block;
    background-color: #e9f9ef;
    color: #0d6a2f;
    border: 1px solid #8ad4a6;
}

.form-status.error {
    display: block;
    background-color: #fff1f1;
    color: #9f1d1d;
    border: 1px solid #f0aaaa;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 5px rgba(0, 102, 204, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--dark-blue);
}

@media (max-width: 768px) {
    .contact-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ==========================================
   MAP SECTION
   ========================================== */

.map-container {
    margin-top: 40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

@media (max-width: 768px) {
    .map-container iframe {
        height: 300px;
    }
}

/* ==========================================
   FOOTER
   ========================================== */

footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 40px 30px;
    text-align: center;
    margin-top: 60px;
}

footer p {
    margin-bottom: 10px;
    font-size: 14px;
}

footer a {
    color: var(--light-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--white);
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */

.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .container {
        padding: 40px 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 20px;
    }
}
