/*
  ======================================================
  General & Body Styles
  ======================================================
*/
body {
    height: 100%;
    margin: 0;
    font-family: 'EB Garamond', serif;
    background-color: #0c2051;
    color: #ffffff;
}

main {
    min-height: auto;
    display: block;
    padding: 40px 0;
}

#summary {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 20px;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #0c2051;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/*
  ======================================================
  Header Section Styles
  ======================================================
*/
#main-header {
    position: relative;
}

.header-image-section {
    background-image: url('header.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.top-left-title {
    position: absolute;
    top: 20px;
    left: 20px;
    color: #ffffff;
    font-size: 1em;
    font-weight: 700;
}

.main-title {
    color: #ffffff;
    font-size: 3em;
    font-weight: 700;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin: 0;
    padding: 0 20px;
}

.header-bottom-text {
    background-color: #0c2051;
    color: #ffffff;
    font-size: 1.2em;
    text-align: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/*
  ======================================================
  Tide Widget (iframe) Styles
  ======================================================
*/
#widget {
    text-align: center;
    overflow-x: auto;
    overflow-y: auto;
    width: 100%;
    margin: 0 auto;
}

.iframe-container {
    width: 1000px;
    height: 500px;
    margin: 0 auto;
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.responsive-iframe {
    display: block;
    width: 1000px;
    height: 500px;
}

@media screen and (max-width: 600px) {
    #widget {
        overflow-x: auto;
        overflow-y: auto;
    }

    .iframe-container {
        min-width: 100%;
        overflow: auto;
        white-space: nowrap;
    }

    .responsive-iframe {
        width: 1000px;
        height: 500px;
        display: inline-block;
    }
}

@media screen and (max-width: 600px) and (orientation: landscape) {
    main {
        display: block;
        height: auto;
        min-height: 0;
        padding: 16px 0;
        overflow: visible;
    }

    #widget {
        width: 100%;
        margin: 12px auto 16px;
    }

    .iframe-container {
        width: 100%;
        height: auto;
        overflow-x: auto;
        overflow-y: hidden;
        border: 1px solid rgba(255,255,255,0.1);
        margin: 0 auto 20px;
    }

    .responsive-iframe {
        display: block;
        width: 1000px;
        height: 500px;
        border: 0;
    }

    .contact-section {
        margin-top: 20px;
        clear: both;
    }
}

/*
  ======================================================
  Contact Section Styles
  ======================================================
*/
.contact-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 80px;
    background-color: #1f306d;
    color: #ffffff;
    font-family: 'EB Garamond', serif;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-text {
    flex: 1;
}

.contact-title {
    margin: 0;
    font-size: 2.5em;
    font-weight: 700;
}

.contact-subtitle {
    margin: 10px 0 0;
    font-size: 1.5em;
    font-weight: 400;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-button {
    display: block;
    padding: 12px 30px;
    border: 1px solid #ffffff;
    border-radius: 5px;
    color: #000000;
    background-color: #ffffff;
    text-align: center;
    text-decoration: none;
    font-size: 1.2em;
    font-family: 'EB Garamond', serif;
    transition: background-color 0.3s ease;
}

.contact-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/*
  ======================================================
  Mobile Responsiveness
  ======================================================
*/
@media screen and (max-width: 768px) {
    .contact-section {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .contact-buttons {
        margin-top: 30px;
    }

    .contact-title {
        font-size: 2em;
    }

    .contact-subtitle {
        font-size: 1.2em;
    }
}