/*
Theme Name: Rhodes Sea Lines
Theme URI: https://rhodessealines.com
Author: Rhodes Sea Lines Team
Author URI: https://rhodessealines.com
Description: A professional, fast-loading, SEO-friendly and secure WordPress theme built for Rhodes Sea Lines. Optimized for performance and fully compatible with Elementor page builder.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rhodes-sea-lines
Tags: custom-header, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, blog, e-commerce, flexible-header, accessibility-ready

Rhodes Sea Lines WordPress Theme, Copyright 2025
Rhodes Sea Lines is distributed under the terms of the GNU GPL
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 Reset & Normalize
2.0 Typography
3.0 Elements
4.0 Layout
5.0 Navigation
6.0 Content
7.0 Widgets
8.0 Footer
9.0 Media Queries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 Reset & Normalize
--------------------------------------------------------------*/
* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
    display: block;
}

/*--------------------------------------------------------------
2.0 Typography
--------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
    clear: both;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin: 0 0 1.5rem;
}

a {
    color: #0073aa;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover,
a:focus {
    color: #005177;
}

a:focus {
    outline: thin dotted;
}

/*--------------------------------------------------------------
3.0 Elements
--------------------------------------------------------------*/
ul, ol {
    margin: 0 0 1.5rem 1.5rem;
    padding: 0;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li > ul,
li > ol {
    margin-bottom: 0;
    margin-left: 1.5rem;
}

img {
    height: auto;
    max-width: 100%;
    vertical-align: middle;
}

figure {
    margin: 1rem 0;
}

table {
    margin: 0 0 1.5rem;
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

th,
td {
    padding: 0.5rem;
    border: 1px solid #ddd;
}

/*--------------------------------------------------------------
4.0 Layout
--------------------------------------------------------------*/
.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-content {
    flex: 1;
    padding: 2rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-area {
    width: 100%;
}

.site-main {
    margin: 0;
}

.sidebar {
    margin-top: 2rem;
}

/*--------------------------------------------------------------
5.0 Navigation
--------------------------------------------------------------*/
.site-header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

.site-branding {
    padding: 1rem 0;
}

.site-title {
    margin: 0;
    font-size: 1.5rem;
}

.site-title a {
    color: #333;
}

.main-navigation {
    clear: both;
    display: block;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation ul li {
    display: inline-block;
    position: relative;
}

.main-navigation a {
    display: block;
    padding: 1rem 1.5rem;
    color: #333;
    font-weight: 500;
}

.main-navigation ul ul {
    background: #fff;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
    opacity: 1;
    visibility: visible;
}

.main-navigation ul ul li {
    display: block;
    min-width: 200px;
}

/*--------------------------------------------------------------
6.0 Content
--------------------------------------------------------------*/
.entry-header {
    margin-bottom: 2rem;
}

.entry-title {
    margin-bottom: 0.5rem;
}

.entry-meta {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 1rem;
}

.entry-content {
    margin-bottom: 2rem;
}

.entry-footer {
    padding-top: 1rem;
    border-top: 1px solid #eee;
    font-size: 0.875rem;
}

.post {
    margin-bottom: 3rem;
}

.sticky {
    background: #f9f9f9;
    padding: 2rem;
    border-left: 3px solid #0073aa;
}

/*--------------------------------------------------------------
7.0 Widgets
--------------------------------------------------------------*/
.widget {
    margin: 0 0 2rem;
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

/*--------------------------------------------------------------
8.0 Footer
--------------------------------------------------------------*/
.site-footer {
    background: #333;
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}

.site-footer a {
    color: #fff;
}

/*--------------------------------------------------------------
9.0 Media Queries
--------------------------------------------------------------*/
@media screen and (min-width: 768px) {
    .content-area {
        float: left;
        width: 70%;
    }

    .sidebar {
        float: right;
        width: 28%;
        margin-top: 0;
    }

    .site-content::after {
        content: "";
        display: table;
        clear: both;
    }
}

@media screen and (max-width: 767px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }

    .main-navigation ul li {
        display: block;
    }

    .main-navigation ul ul {
        position: relative;
    }
}

/*--------------------------------------------------------------
Accessibility
--------------------------------------------------------------*/
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

