/* Omega Harbor Marine Contact Page Styles */

/* Import original website fonts */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800|Roboto:100,300,400,500,700,900');

/* Reset and base styles */
* { margin: 0; padding: 0; box-sizing: border-box; }

body { font-family: 'Open Sans', sans-serif; line-height: 1.6; color: #333; background-color: #f8f9fa; }

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

/* Hero Section with full background images */
.hero-section {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: #fff;
    padding: 150px 0 80px;
    display: flex;
    align-items: center;
    min-height: 60vh;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('vhf_radio_with_waves.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.2;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 { font-size: 3.5rem; font-weight: 700; margin-bottom: 20px; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); }
.hero-content p { font-size: 1.2rem; margin-bottom: 30px; opacity: 0.9; }

.hero-badges { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.badge { background: rgba(255,255,255,0.2); padding: 8px 16px; border-radius: 20px; font-size: 0.9rem; font-weight: 500; backdrop-filter: blur(10px); }

/* Contact Info Section */
.contact-info-section { padding: 80px 0; background: #fff; }
.contact-info-section h2 { text-align: center; font-size: 2.5rem; color: #2c3e50; margin-bottom: 15px; }
.section-subtitle { text-align: center; color: #7f8c8d; font-size: 1.1rem; margin-bottom: 50px; }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 50px; }
.contact-card { background: #fff; padding: 30px; border-radius: 15px; text-align: center; box-shadow: 0 5px 20px rgba(0,0,0,0.1); transition: all 0.3s ease; border: 2px solid transparent; }
.contact-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(52, 152, 219, 0.2); border-color: #3498db; }

.contact-icon { font-size: 2.5rem; margin-bottom: 20px; }
.contact-card h3 { color: #2c3e50; font-size: 1.3rem; margin-bottom: 15px; }
.contact-value { color: #3498db; font-weight: 600; font-size: 1.1rem; margin-bottom: 10px; }
.contact-description { color: #7f8c8d; font-size: 0.9rem; }

/* Contact Form Section */
.contact-form-section { padding: 80px 0; background: #f8f9fa; }
/* In omega_contact_styles_complete.css */

.main-form-container {
    background-image: url('../images/contact-bg.jpg'); /* Corrected path relative to CSS file */
    background-size: cover;          /* Ensures the image covers the entire container */
    background-position: center;     /* Centers the image within the container */
    background-repeat: no-repeat;    /* Prevents the image from repeating */
    min-height: 600px;               /* Ensures enough height for the background to show. Adjust as needed. */
    padding: 30px;                   /* Adds some padding inside the container */
    border-radius: 8px;              /* Softens the corners of the container */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adds a subtle shadow for depth */
    position: relative;              /* Needed if you want to add an overlay */
    overflow: hidden;                /* Ensures background doesn't overflow rounded corners */
}

/* Optional: Add a subtle overlay to make text more readable */
.main-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3); /* Semi-transparent dark overlay */
    z-index: 1; /* Place above background image but below form content */
}

/* Ensure form elements are above the overlay */
.main-form-container form {
    position: relative;
    z-index: 2;
}

/* You might need to adjust text color for readability against the background */
.main-form-container label,
.main-form-container h2 { /* Assuming you have an h2 or similar inside */
    color: #ffffff; /* White text for better contrast */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5); /* Optional: add text shadow for readability */
}

/* Adjust input field backgrounds if they are too dark/light */
.main-form-container .form-control {
    background-color: rgba(255, 255, 255, 0.8); /* Slightly transparent white for inputs */
    border-color: rgba(255, 255, 255, 0.5); /* Lighter border */
    color: #333; /* Darker text inside inputs */
}

.form-container {
    background-image: url('images/contact-bg.jpg'); /* Set the background image */
    background-size: cover; /* Make the background image cover the entire div */
    background-position: center; /* Center the background image */
    background-repeat: no-repeat; /* Prevent the image from repeating */
    /* Add any other styling for .form-container here if needed */

    /* You might want to adjust padding or min-height
       to ensure the background is visible and content has space */
    padding: 20px; /* Example padding for content inside the form container */
    min-height: 500px; /* Example min-height to give the background space */
    color: white; /* Example: if your background is dark, you might need light text */
}
.form-container h2 { text-align: center; color: #2c3e50; font-size: 2.2rem; margin-bottom: 15px; }
.form-container p { text-align: center; color: #7f8c8d; margin-bottom: 40px; }

.contact-form { display: flex; flex-direction: column; gap: 25px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; }
.form-group label { color: #2c3e50; font-weight: 600; margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea { padding: 12px 15px; border: 2px solid #e9ecef; border-radius: 8px; font-size: 1rem; transition: all 0.3s ease; font-family: inherit; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: #3498db; box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1); }

.submit-btn { background: linear-gradient(135deg, #3498db, #2980b9); color: #fff; padding: 15px 30px; border: none; border-radius: 8px; font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; align-self: center; min-width: 200px; }
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3); }

/* AI Assistant Section with handheld radio */
.ai-assistant-section { background: #f8f9fa; padding: 80px 0; position: relative; overflow: hidden; }
.ai-assistant-section::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 20px; /* bring it closer to iframe */
    transform: translateY(-50%);
    width: 350px;
    height: 450px;
    background-image: url('handheld_vhf_radio.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center right;
    opacity: 0.25;
    z-index: 1; /* just behind iframe */
}

.ai-assistant-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; text-align: center; }
.ai-assistant-content h2 { color: #2c3e50; font-size: 2.5rem; margin-bottom: 15px; }
.ai-assistant-content p { color: #7f8c8d; font-size: 1.1rem; margin-bottom: 40px; }

.chatbot-container { background: #fff; padding: 40px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); position: relative; z-index: 2; display: inline-block; }
.chatbot-container h3 { color: #2c3e50; margin-bottom: 20px; }
.chatbot-features { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; margin: 30px 0; }
.chatbot-features li { background: #f8f9fa; padding: 15px; border-radius: 8px; color: #2c3e50; font-weight: 500; }
.chatbot-container iframe { margin-top: 30px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); position: relative; z-index: 2; }

/* Emergency Section */
.emergency-section {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.emergency-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('epirb_beacon.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.35;
    z-index: 1;
}

.emergency-section h2 { text-align: center; font-size: 2.5rem; margin-bottom: 15px; }
.emergency-subtitle { text-align: center; font-size: 1.1rem; opacity: 0.9; margin-bottom: 50px; }
.emergency-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.emergency-info { position: relative; z-index: 2; }

/* Client Portal Section */
.client-portal-section { background: #fff; padding: 80px 0; }
.client-portal-section h2 { text-align: center; color: #2c3e50; font-size: 2.5rem; margin-bottom: 15px; }
.portal-subtitle { text-align: center; color: #7f8c8d; font-size: 1.1rem; margin-bottom: 50px; }
.portal-content { max-width: 800px; margin: 0 auto; text-align: center; }
.portal-content p { color: #7f8c8d; font-size: 1.1rem; margin-bottom: 40px; }
.portal-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin: 40px 0; }
.portal-feature { background: #f8f9fa; padding: 30px 20px; border-radius: 10px; border: 2px solid #e9ecef; }
.portal-feature h4 { color: #2c3e50; font-size: 1.1rem; }
.coming-soon { font-size: 1.5rem; color: #3498db; font-weight: 600; margin-top: 30px; }

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .form-row { grid-template-columns: 1fr; }
    .form-container { padding: 30px 20px; }
    .ai-assistant-section::before { width: 200px; height: 250px; right: 0; }
    .hero-section::before { opacity: 0.15; }
    .emergency-section::before { opacity: 0.2; background-size: cover; }
}

