:root {
    --primary-color: #0d7ff2;
    --primary-color-hover: #0a65c2;
    --text-main: #333333;
    --text-muted: #666666;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --font-stack: 'Inter', sans-serif;
    --transition-speed: 0.3s;
    --border-radius: 8px;
    --box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-stack);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed) ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Typography */
h1, h2, h3 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    color: var(--bg-white);
}

h2 {
    font-size: 2.5rem;
    color: var(--text-main);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
    cursor: pointer;
    border: none;
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(13, 127, 242, 0.3);
}

.primary-btn:hover {
    background-color: var(--primary-color-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 127, 242, 0.4);
    color: var(--bg-white);
}

.btn-sm {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-main);
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/surf-map_lanzarote.gif') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    z-index: 2;
}

.hero-content p {
    color: #f0f0f0;
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    margin-top: 1.5rem;
    color: var(--primary-color);
}

.rounded-img {
    border-radius: 20px;
    box-shadow: var(--box-shadow);
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Featured School */
.featured {
    border: 2px solid var(--primary-color);
    background: linear-gradient(to right, #ffffff, #f0f7ff);
}

.secondary {
    background-color: #6c5ce7;
}

/* Sections */
.section-padding {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Spots Grid */
.spots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.card-image {
    height: 240px;
    background-color: #eee;
    position: relative;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

/* Standardized images for spots */
.bg-famara { background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('../images/famara-surfing.jpg') center/cover no-repeat; }
.bg-orzola { background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('../images/orzola-surf.jpg') center/cover no-repeat; }
.bg-sanjuan { background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('../images/famara-surf.jpg') center/cover no-repeat; }
.bg-elquemao { background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('https://images.unsplash.com/photo-1502680390469-be75c86b636f?q=80&w=2070&auto=format&fit=crop') center/cover no-repeat; }
.bg-lasanta { background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('../images/lasanta-right.jpg') center/cover no-repeat; }
.bg-jameos { background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('../images/jameos-del-agua.jpg') center/cover no-repeat; }

.badge {
    padding: 0.4em 0.8em;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--bg-white);
}

.beginner { background-color: #00b894; }
.intermediate { background-color: #0984e3; }
.expert { background-color: #d63031; }

.card-content {
    padding: 1.5rem;
}

.spot-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.spot-meta span {
    color: var(--text-muted);
}

.link-btn {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
}

.link-btn:hover {
    color: var(--primary-color-hover);
    transform: translateX(5px);
}

/* Schools List */
.schools-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.school-item {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.2s ease;
}

.school-item:hover {
    transform: scale(1.02);
}

.school-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.school-header h3 {
    margin-bottom: 0;
}

.rating {
    color: #fdcb6e;
    font-weight: 600;
    font-size: 0.95rem;
}

.tags {
    display: flex;
    gap: 0.5rem;
}

.tags span {
    background-color: #edf2f7;
    color: #4a5568;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Footer */
.footer {
    background-color: #1a202c;
    color: #e2e8f0;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid #2d3748;
    padding-bottom: 2rem;
}

.footer-brand h2 {
    color: #fff;
}

.footer-brand p {
    color: #a0aec0;
    max-width: 300px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: #a0aec0;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    color: #718096;
    font-size: 0.9rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.appear {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right.appear {
    opacity: 1;
    transform: translateX(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Blog Section */
.blog-listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.blog-content {
    max-width: 850px;
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.8;
}

.blog-content h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.blog-content p {
    margin-bottom: 2rem;
}

.lead {
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 2.5rem;
}

/* Answer Capsule Technique */
.answer-capsule {
    background-color: #f0f7ff;
    border-left: 4px solid var(--primary-color);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 0 12px 12px 0;
    font-weight: 600;
    color: var(--text-main);
    box-shadow: 0 4px 15px rgba(13, 127, 242, 0.1);
}

.blog-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.active {
    color: var(--primary-color) !important;
}

.conclusion {
    background-color: var(--bg-light);
    padding: 3rem;
    border-radius: 20px;
    margin-top: 4rem;
    text-align: center;
}

.conclusion h2 {
    margin-top: 0;
}

.faqs {
    margin-top: 5rem;
}

.faq-item {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.faq-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .school-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .nav-links { display: none; } /* Could add hamburger menu for full implementation */
}
