/* Reset and Base Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* 
   1. Hard-lock the body to the height of the screen 
   and hide global window overflow to completely eliminate screen scrolling.
*/
body {
    background-image: url('ElafonisiBeach.jpg'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    height: 100vh; /* Locked exactly to screen height */
    max-height: 100vh;
    overflow: hidden; /* Disables outer browser scrollbars */
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0; 
}

/* Header Elements (Symmetrically Balanced Layout Rules) */
.global-site-header {
    width: 100%;
    margin-top: 0px; 
    margin-bottom: 5px; 
    border-bottom: 2px solid rgba(0, 119, 182, 0.15);
    padding-top: 0px;
    padding-bottom: 10px; 
    padding-left: 40px; 
    padding-right: 40px;
    flex-shrink: 0; 
    
    display: flex;
    justify-content: space-between; 
    align-items: center;
}

/* FORCES your layout logo asset to scale up large without collapsing */
.header-logo {
    width: 320px !important;       /* Scales your asset up noticeably large */
    height: 220px !important;
    min-width: 320px !important;   /* Prevents flexbox rows from shrinking it down */
    flex-shrink: 0 !important;
    object-fit: contain;
    /* Removed background-color, padding, border-radius, and borders */
}

/* Hidden container on the right matching the logo width exactly to force true centering */
.header-spacer {
    width: 320px !important;       /* MUST match your new 320px logo size exactly */
    height: 220px !important;
    flex-shrink: 0 !important;
}

/* Centers text across 100% of the remaining middle space */
.header-text-group {
    flex: 1;
    text-align: center;
}

.global-site-header h1 {
    color: #03045e; 
    font-size: 4.5rem; 
    font-weight: 800; 
    letter-spacing: 2px;
    text-transform: uppercase; 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1); 
    line-height: .9; 
    margin: 0;
}

.global-site-header .tagline {
    color: #03045e;
    font-size: 1.10rem; 
    margin-top: 6px;   
    font-weight: 700;   
    letter-spacing: 2px; 
    text-transform: uppercase; 
}

/* 
   2. Three-Column Content Layout Wrapper 
   Holds Left Sidebar (260px) | Main Content (1fr) | Right Sidebar (260px)
*/
.page-layout-wrapper {
    display: grid;
    grid-template-columns: 260px 1fr 260px; 
    gap: 40px; 
    width: 100%;
    max-width: 100%; 
    flex: 1; /* Automatically expands vertically to fill all middle space */
    min-height: 0; /* Allows child items to accurately calculate screen bounds */
    overflow: hidden; /* Keeps internal components safely contained */
}

/* The Left Navigation Sidebar */
.sidebar-nav {
    padding: 35px 20px;
    border-radius: 0 14px 14px 0; /* Rounded right corners, docked flush left */
    display: flex;
    flex-direction: column;
    gap: 16px; 
    height: 100%; /* Fill grid row container cleanly */
    
    /* Transparent gradient backdrop */
    background: linear-gradient(to right, rgba(0, 17, 204, 0.45), rgba(0, 8, 102, 0.55), rgba(0, 0, 0, 0.65));
    border: 1px solid rgba(255, 255, 255, 0.25); 
    border-left: 4px solid #0022ff; /* Signature blue border line */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
}

/* Navigation Links inside Sidebar */
.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 8px;
    transition: background-color 0.2s ease, padding-left 0.2s ease, box-shadow 0.2s ease;
}

.nav-link:hover {
    background-color: #0055ff; 
    padding-left: 20px; /* Slight push forward animation on hover */
    box-shadow: 0 0 10px rgba(0, 85, 255, 0.5); 
}

/* 
   The Right Offers Sidebar 
   Perfectly matches the gradient background direction of the left sidebar!
*/
.right-sidebar {
    width: 260px;
    padding: 35px 20px;
    border-radius: 14px 0 0 14px; /* Rounded left corners, docked flush right */
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%; 
    overflow-y: auto; /* Allows multiple offer boxes to scroll internally if they overflow */
    
    /* Gradient matches left sidebar direction exactly */
    background: linear-gradient(to left, rgba(0, 17, 204, 0.45), rgba(0, 8, 102, 0.55), rgba(0, 0, 0, 0.65));
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-right: 4px solid #0022ff; /* Symmetrical blue border line on the far right */
    box-shadow: -8px 8px 32px 0 rgba(0, 0, 0, 0.25);
    
    scrollbar-width: none; /* Hides internal scrollbar track for a clean visual look */
}

/* Header inside the Offers Sidebar */
.right-sidebar h3 {
    color: #ffffff;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
    margin-bottom: 5px;
}

/* Individual Offer Card Containers */
.offer-card {
    background: rgba(255, 255, 255, 0.12);
    padding: 15px; 
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.offer-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.18);
}

.offer-card h4 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 6px;
}

.offer-card p {
    color: #dddddd !important; /* Light text visibility over dark panels */
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 10px;
    font-weight: 700; /* Bold offer description text */
}

/* Hyperlinks inside Offer boxes */
.offer-link {
    color: #00ddff; /* Electric cyan color for clickable text */
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    transition: color 0.2s ease;
}

.offer-link:hover {
    color: #ffffff;
}

/* 
   3. Main Content Area (Middle Column)
   Allows text sections to scroll independently inside their own column area
*/
main { 
    width: 100%;
    height: 100%; 
    padding-left: 10px; 
    padding-right: 10px; 
    padding-top: 20px; /* Reduced top cushion padding so elements flow correctly */
    overflow-y: auto;  /* Creates an isolated internal scrollbar if paragraphs are long */
    
    scrollbar-width: thin;
    scrollbar-color: rgba(3, 4, 94, 0.3) transparent;
}

/* Section Formatting */
.info-section {
    margin-bottom: 50px;
}

.info-section h2 {
    color: #03045e; 
    font-size: 2.0rem;
    margin-bottom: 5px;
}

/* Custom sizing for the specific photo location subtitles */
.info-section h3 {
    color: #03045e;
    font-size: 1.2rem; 
    font-weight: 700;
    margin-top: 5px;
    margin-bottom: 5px;
}

.info-section p {
    color: #800020; /* Rich Burgundy Hex Code */
    font-size: 1.05rem;
    font-weight: 700; /* Bold paragraph text */
    line-height: 1.6; /* Readable line separation spacing */
}

/* 
   Image Container Wrapper
   Shrink-wraps the blurred frame border directly to the left/right size of the photo
*/
.image-wrapper {
    display: inline-block; /* Forces box edges to compress and match the photo width */
    margin-top: 10px;
    margin-bottom: 15px;
    border-radius: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    
    /* The Balanced Blur Frame */
    border: 5px solid rgba(55, 55, 255, 0.4); 
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
}

/* Hovering over the photo container box updates the blurred frame glow style smoothly */
.image-wrapper:hover {
    border: 5px solid rgba(255, 255, 255, 0.8); 
    box-shadow: 0 0 20px 8px rgba(0, 0, 0, 0.25), 
                0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Gallery Image Inner Settings */
.gallery-image {
    display: block; /* Strips empty layout padding offsets beneath images */
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 300px; 
    object-fit: contain; /* Shows your entire, un-cropped photograph perfectly */
    border-radius: 8px; /* Slightly tighter corner curves to rest cleanly within frame wrapper */
}

/* Button & Links Layout */
.button-group {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.web-link {
    display: inline-block;
    background-color: #0077b6;
    color: #ffffff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.web-link:hover {
    background-color: #03045e;
    transform: translateY(-2px);
}

/* Contact Footer Styling (Brought perfectly onto the layout screen view) */
footer {
    border-top: 2px solid rgba(0, 119, 182, 0.15); 
    width: 100%;
    flex-shrink: 0; /* Restricts window metrics from flattening footer block */
    background: rgba(255, 255, 255, 0.1); 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 15px 20px; 
}

footer h2 {
    color: #03045e;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

footer p {
    color: #03045e;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

footer a {
    color: #0077b6;
    text-decoration: none;
    font-weight: 700;
}

footer a:hover {
    text-decoration: underline;
}

footer .copyright {
    font-size: 0.85rem;
    color: #555555;
    margin-top: 2px;
}

/* 1. The Translucent Full-Screen Backdrop Layer */
.zoom-backdrop-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(3, 4, 94, 0.75) !important; /* Translucent Cretan Blue (75% opacity) */
    z-index: 999998 !important; /* Sits right underneath the big picture */
    cursor: zoom-out !important;
}

/* 2. The Maximized, Centered Big Picture */
.simple-zoom-active {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important; /* Perfect screen centering locking */
    
    width: auto !important;
    height: auto !important;
    max-width: 85vw !important;  
    max-height: 85vh !important; 
    
    z-index: 999999 !important; /* Sits completely on top of everything */
    object-fit: contain !important; 
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6); /* Dramatic drop shadow depth */
    border: 5px solid #ffffff !important;    /* Crisp white photo border frame */
    border-radius: 12px !important;
    cursor: zoom-out !important;
}
/* ==========================================================================
   MOBILE & TABLET RESPONSIVE FIXES
   ========================================================================== */

/* Fixes for Tablets and Smaller Screens (Max width: 1024px) */
@media (max-width: 1024px) {
    body {
        height: auto !important;
        max-height: none !important;
        overflow: auto !important; /* Restores natural mobile touch scrolling */
    }

    .global-site-header {
        flex-direction: column; /* Stack logo and text vertically */
        padding-left: 20px;
        padding-right: 20px;
    }

    .header-logo, .header-spacer {
        width: 200px !important; /* Scale logo down to look reasonable on mobile */
        height: auto !important;
        min-width: 0 !important;
    }

    .header-spacer {
        display: none !important; /* Destroy the spacer; no longer needed for alignment */
    }

    .global-site-header h1 {
        font-size: 2.5rem; /* Prevents gigantic text from splitting across lines */
        margin-top: 10px;
    }

    .page-layout-wrapper {
        grid-template-columns: 1fr; /* Convert the 3-column layout into a single vertical stack */
        gap: 20px;
        height: auto !important;
        overflow: visible !important;
    }

    .sidebar-nav, .right-sidebar {
        width: 100%;
        height: auto !important;
        border-radius: 12px;
        border-left: 4px solid #0022ff;
        border-right: 1px solid rgba(255, 255, 255, 0.25);
    }
    
    main {
        height: auto !important;
        overflow: visible !important; /* Lets main content scroll along with the body */
    }
}

/* Specific Extra Fixes for Phones (Max width: 480px) */
@media (max-width: 480px) {
    .global-site-header h1 {
        font-size: 1.8rem;
    }

    .global-site-header .tagline {
        font-size: 0.9rem;
    }

    .info-section h2 {
        font-size: 1.5rem;
    }
    
    .image-wrapper {
        display: block; /* Forces full width compatibility */
        width: 100%;
    }
}
h1 {
  font-size: 2.5rem;
  font-weight: bold;
  display: flex;
  flex-direction: column; /* This forces the span to drop underneath */
  align-items: center;    /* Centers the text if your header is centered */
}

.tagline {
  font-size: 1.2rem;       /* Makes the tagline smaller than the main title */
  font-weight: normal;     /* Softens the text appearance */
  margin-top: 0.5rem;      /* Adds a little breathing room below the title */
  color: #555555;          /* Optional: dims the color slightly for hierarchy */
}


