/* Global Styles */
:root {
    --primary-color: #006994; /* Deep Ocean Blue */
    --secondary-color: #40E0D0; /* Turquoise */
    --accent-color: #FF7F50; /* Coral for highlights */
    --bg-color: #f0f8ff; /* Alice Blue */
    --text-color: #333;
    --card-bg: #ffffff;
    --sidebar-bg: #ffffff;
    --font-main: 'Noto Sans JP', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(64, 224, 208, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(0, 105, 148, 0.1) 0%, transparent 20%);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    height: 300px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 40px;
    border-bottom-left-radius: 50% 20px;
    border-bottom-right-radius: 50% 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Wave animation effect placeholder or overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('hero-pattern.png') repeat; /* Optional pattern */
    opacity: 0.1;
    pointer-events: none;
}

.hero-content {
    z-index: 2;
}

.main-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    letter-spacing: 0.1em;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

/* Main Layout */
.main-layout {
    display: grid;
    grid-template-columns: 1fr 300px; /* Content + Sidebar */
    gap: 40px;
    margin-bottom: 50px;
}

@media (max-width: 900px) {
    .main-layout {
        grid-template-columns: 1fr;
    }
}

/* Tricks Grid */
.tricks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* Trick Card */
.trick-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255,255,255,0.5);
    text-decoration: none; /* Reset for link wrapper */
    color: var(--text-color);
}

.trick-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--secondary-color);
}

.card-image {
    height: 180px;
    background-color: #e0f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.trick-card:hover .card-image img {
    transform: scale(1.05);
}

.card-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-info h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 5px;
    display: inline-block;
}

.card-info p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 5px;
}

.card-info hr {
    margin: 10px 0;
    border: 0;
    border-top: 1px dashed #ccc;
}

.sub-note {
    font-size: 0.85rem;
    color: #888;
}

/* Water Sports Links & Ads (Content Area) */
.water-sports-links {
    background: linear-gradient(to right, #006994, #0099cc);
    padding: 30px;
    border-radius: 12px;
    margin-top: 40px;
    text-align: center;
    color: white;
    box-shadow: 0 5px 15px rgba(0,105,148,0.3);
}

.water-sports-links h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.link-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-link {
    background: white;
    color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-link:hover {
    background: var(--accent-color);
    color: white;
    transform: scale(1.05);
}

.ad-container {
    margin-top: 40px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px dashed #ccc;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-menu {
    background: var(--sidebar-bg);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top: 5px solid var(--primary-color);
}

.sidebar-menu h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
}

.sidebar-menu ul li {
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.sidebar-menu ul li:last-child {
    border-bottom: none;
}

.sidebar-menu ul li a {
    display: block;
    padding: 5px 0;
    color: #444;
}

.sidebar-menu ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
    transition: padding-left 0.2s;
}

.secondary-menu {
    border-top-color: var(--accent-color);
}

.secondary-menu h3 {
    color: var(--accent-color);
}

.ad-container-sidebar {
    text-align: center;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 8px;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: auto;
}
