/* Variables for Ocean Shore Theme */
:root {
    --color-deep-ocean: #1a5276; /* Dark blue, like deep water */
    --color-sea-blue: #2a88a0;   /* A vibrant, mid-range blue */
    --color-light-sky: #87ceeb;  /* Light blue, like the sky */
    --color-sand: #f8f5e7;       /* Light, warm sandy color */
    --color-coral: #ff7f50;      /* A pop of orange/red for accents */
    --color-foam: #e0f2f7;       /* Very light blue for subtle highlights */

    --text-dark: #2c3e50;        /* Still good for readability */
    --text-light: #f8f8f8;       /* For dark backgrounds */

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Lato', sans-serif; /* Calmer, more readable body font */
}

/* Basic Reset & Typography */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    margin: 0;
    padding: 0;
    background-color: var(--color-foam); /* Lightest background */
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Subtle sand texture background */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.6" numOctaves="3" stitchTiles="stitch" /><feComponentTransfer><feFuncR type="linear" slope="0.5" intercept="0.5"/><feFuncG type="linear" slope="0.5" intercept="0.5"/><feFuncB type="linear" slope="0.5" intercept="0.5"/></feComponentTransfer></filter><rect width="100%" height="100%" filter="url(#noiseFilter)" opacity="0.03"/></svg>');
    background-repeat: repeat;
}

.container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 25px;
}

a {
    color: var(--color-sea-blue);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
}

a:hover {
    color: var(--color-coral); /* Pop of coral on hover */
    transform: translateY(-2px);
}

/* Header Styling (Ocean/Sky) */
.site-header {
    background: linear-gradient(135deg, var(--color-deep-ocean) 0%, var(--color-sea-blue) 100%);
    color: var(--text-light);
    padding: 80px 0; /* More padding for a grander sky feel */
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2); /* Deeper shadow */
    position: relative;
    overflow: hidden;
}

.site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Subtle wave pattern in background */
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M0 50 C 25 20, 75 80, 100 50 L 100 100 L 0 100 Z" fill="rgba(255,255,255,0.08)" /><path d="M0 60 C 20 90, 80 10, 100 70 L 100 100 L 0 100 Z" fill="rgba(255,255,255,0.05)" /></svg>') no-repeat bottom center / cover;
    opacity: 0.8;
    z-index: 0;
}

.site-header .container {
    position: relative;
    z-index: 1;
}

.site-header h1 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 4em; /* Even larger heading */
    font-weight: 700;
    letter-spacing: -2px;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.3); /* Deeper text shadow */
}

.site-header h1 a {
    color: var(--color-light-sky); /* Light blue for name */
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-header h1 a:hover {
    color: var(--color-foam); /* White-ish on hover */
}

.site-header .tagline {
    font-size: 1.4em;
    opacity: 0.9;
    margin-top: 20px;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-style: italic; /* A bit more poetic */
}

/* Main Content Styling (Shore/Sand) */
.site-main {
    padding: 60px 0; /* More vertical spacing */
}

.section-block {
    background-color: var(--color-sand); /* Sand-like background */
    border-radius: 15px; /* Even more rounded corners */
    box-shadow: 0 8px 25px rgba(0,0,0,0.15); /* Softer, larger shadow */
    margin-bottom: 50px; /* More space between sections */
    padding: 40px 45px; /* More internal padding */
    border: 1px solid var(--color-foam); /* Subtle foam-like border */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-block:hover {
    transform: translateY(-7px); /* More pronounced lift effect */
    box-shadow: 0 15px 40px rgba(0,0,0,0.2); /* Enhanced shadow on hover */
}

.section-title {
    color: var(--color-deep-ocean); /* Dark blue title */
    font-family: var(--font-heading);
    font-size: 2.5em;
    margin-top: 0;
    margin-bottom: 30px;
    padding-bottom: 15px;
    position: relative;
    font-weight: 600;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70px; /* Wider underline */
    height: 5px;
    background-color: var(--color-sea-blue); /* Sea blue underline */
    border-radius: 3px;
}

/* List Styling (Ocean Elements) */
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul li {
    margin-bottom: 20px; /* More space */
    padding-left: 35px; /* Space for custom icon */
    position: relative;
}

ul li::before {
    content: '🌊'; /* Wave emoji as bullet */
    font-size: 1.3em;
    position: absolute;
    left: 0;
    top: 0px;
    line-height: 1; /* Adjust line-height for emoji */
}

ul li a {
    font-weight: 500;
    font-size: 1.15em;
    line-height: 1.4; /* Improve readability for longer links */
}

ul li small {
    display: block;
    margin-top: 5px;
    font-size: 0.9em;
    color: var(--text-dark);
    font-family: var(--font-body);
}

ul li small a {
    color: var(--color-coral); /* Coral for secondary links */
}

/* Footer Styling (Shoreline) */
.site-footer {
    background-color: var(--color-deep-ocean);
    color: var(--text-light);
    text-align: center;
    padding: 35px 0;
    margin-top: 60px;
    font-size: 1em;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.2);
}

.site-footer p {
    margin: 10px 0;
}

.site-footer a {
    color: var(--color-light-sky); /* Light sky blue in footer */
    font-weight: 500;
}

.site-footer a:hover {
    color: var(--color-coral);
    transform: none;
}

.copyright {
    opacity: 0.7;
    font-size: 0.9em;
}

/* Animations (retained, but adjusted timing) */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px); /* Slightly larger movement */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards; /* Longer animation */
}

.section-block:nth-child(1) { animation-delay: 0.2s; }
.section-block:nth-child(2) { animation-delay: 0.4s; }
.section-block:nth-child(3) { animation-delay: 0.6s; }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .site-header {
        padding: 60px 0;
    }

    .site-header h1 {
        font-size: 3em;
    }

    .site-header .tagline {
        font-size: 1.2em;
    }

    .site-main {
        padding: 40px 0;
    }

    .container {
        padding: 0 15px;
    }

    .section-block {
        padding: 30px;
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 2em;
        margin-bottom: 25px;
    }

    ul li {
        margin-bottom: 18px;
        padding-left: 30px;
    }

    ul li a {
        font-size: 1.05em;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 50px 0;
    }
    .site-header h1 {
        font-size: 2.2em;
        letter-spacing: -1px;
    }
    .site-header .tagline {
        font-size: 1em;
    }
    .section-block {
        padding: 25px;
    }
    .section-title {
        font-size: 1.8em;
    }
    ul li::before {
        font-size: 1.1em;
    }
}