/* ============================================
   YOUNG GLASS WEBSITE - MAIN STYLESHEET
   Color Scheme:
   - White: #FFFFFF
   - Dark Green: #2E8B57 (Sea Green)
   - Yellow: #FFFF00
   - Black: #000000
   - Dark Gray: #333333
   ============================================ */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333333;
    background-color: #FFFFFF;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Header Bar */
.top-header {
    background-color: #FFFFFF;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.top-header .container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.top-header .address {
    color: #333333;
}

.top-header .separator {
    color: #333333;
}

.top-header .phone {
    color: #2E8B57;
    font-weight: 600;
}

.top-header .phone a {
    color: #2E8B57;
    text-decoration: none;
}

.top-header .phone-icon {
    margin-right: 5px;
}

/* Navigation Menu */
.main-nav {
    background-color: #2E8B57;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 24px;
    font-weight: bold;
}

.nav-brand .logo-text {
    color: #FFFF00;
    font-weight: bold;
    padding: 8px 16px;
    background-color: #FFFFFF;
    border: 2px solid #2E8B57;
    border-radius: 4px;
    display: inline-block;
    text-shadow: 2px 2px 0px #2E8B57, 1px 1px 0px #2E8B57;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #FFFF00;
}

.nav-menu a.active {
    color: #FFFF00;
}

.social-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.social-link {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s, opacity 0.3s;
}

.facebook-icon {
    width: 32px;
    height: 32px;
    display: block;
}

.facebook-icon-footer {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}

.social-link:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.social-link:hover .facebook-icon,
.social-link:hover .facebook-icon-footer {
    opacity: 0.8;
}

/* Hero Section */
.hero-section {
    background-color: #FFFFFF;
    padding: 60px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.logo-container {
    margin-bottom: 15px;
    width: 100%;
}

.logo-image {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
    display: block;
}

.logo-large {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
    width: 100%;
}

.logo-text {
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
}

.hero-text h1 {
    font-size: 36px;
    font-weight: bold;
    color: #333333;
    line-height: 1.2;
}

.sub-text {
    font-size: 18px;
    color: #333333;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.btn {
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #000000;
}

.btn-primary:hover {
    background-color: #333333;
    border-color: #333333;
}

.btn-secondary {
    background-color: #FFFFFF;
    color: #000000;
    border: 2px solid #000000;
}

.btn-secondary:hover {
    background-color: #f5f5f5;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Services Footer Section */
.services-footer {
    background-color: #2E8B57;
    color: #FFFFFF;
    padding: 60px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.services-column h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.services-column ul {
    list-style: none;
}

.services-column ul li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.services-column ul li:last-child {
    border-bottom: none;
}

/* Gallery Preview Section */
.gallery-preview {
    background-color: #FFFFFF;
    padding: 60px 0;
    text-align: center;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.title-line {
    flex: 1;
    height: 1px;
    background-color: #e0e0e0;
    max-width: 100px;
}

.section-title h2 {
    font-size: 28px;
    color: #333333;
    font-weight: 600;
}

.gallery-preview-content {
    margin-top: 30px;
}

.gallery-preview-content p {
    font-size: 18px;
    color: #333333;
    margin-bottom: 20px;
}

/* Main Footer */
.main-footer {
    background-color: #333333;
    color: #FFFFFF;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 15px;
    color: #FFFFFF;
}

.footer-section p {
    margin-bottom: 10px;
    color: #CCCCCC;
}

.footer-section a {
    color: #CCCCCC;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #2E8B57;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.social-links-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #CCCCCC;
}

/* Page Headers (for other pages) */
.page-header {
    background-color: #FFFFFF;
    padding: 40px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    color: #333333;
    margin-bottom: 10px;
}

/* Content Sections */
.content-section {
    padding: 60px 0;
    background-color: #FFFFFF;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Forms */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #FFFFFF;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333333;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    background-color: #FFFFFF;
    color: #000000;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2E8B57;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

/* Map Container */
.map-container {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Gallery Styles */
.gallery-container {
    padding: 60px 0;
}

.gallery-main {
    position: relative;
    margin-bottom: 30px;
}

.gallery-main-image {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.gallery-side-images {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.gallery-side-images img {
    width: 30%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    border-radius: 8px;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery-thumbnail {
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
    border: 3px solid transparent;
}

.gallery-thumbnail:hover {
    transform: scale(1.05);
}

.gallery-thumbnail.active {
    border-color: #2E8B57;
}

.gallery-thumbnail img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

/* Hours Section */
.hours-section {
    margin-top: 30px;
}

.hours-section h3 {
    color: #2E8B57;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hours-section .hours-dropdown {
    color: #2E8B57;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hours-section .hours-dropdown:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 10px;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #FFFFFF;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .two-column {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .gallery-thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* Success/Error Messages */
.message {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

