html{
scroll-behavior:smooth;
}


:root{

--primary:#f1f5f9;
--secondary:#e2e8f0;
--accent:#2563eb;

--text:#0f172a;
--muted:#475569;

}

*{
box-sizing:border-box;
}

body{

margin:0;
font-family:Segoe UI, Arial, sans-serif;

background:var(--primary);
color:var(--text);

}

header{

background:white;

padding:20px 8%;

display:flex;

justify-content:space-between;

align-items:center;

border-bottom:1px solid #e2e8f0;

position:sticky;
top:0;

}

nav{
display:flex;
align-items:center;
gap:25px;
}


nav a{
text-decoration:none;
color:var(--text);
font-size:14px;
margin:0;
padding:6px 0;
line-height:1.2;
}

nav a:hover{

color:var(--accent);

}


.logo{
display:flex;
align-items:center;
gap:8px;
font-weight:600;
font-size:18px;
}

.logo a{
display:flex;
align-items:center;
gap:8px;
text-decoration:none;
color:var(--text);
}


.logo-icon{
height:24px;
width:auto;
}


.hero{
display:flex;
align-items:center;
justify-content:space-between;
padding:120px 8%;
max-width:1200px;
margin:auto;
gap:40px;
}

.hero-text{

max-width:500px;

}

.hero h1{
font-size:48px;
line-height:1.2;
margin-bottom:20px;
}

.hero p{
font-size:18px;
color:var(--muted);
max-width:520px;
}

.hero-image{

width:450px;

border-radius:12px;

}

.article-intro {
    margin-bottom: 20px;
}

.article-intro img {
    float: left;
    width: 35%;
    max-width: 250px;
    margin: 5px 20px 10px 0;
}

.article-intro p {
    margin: 0;
    text-align: justify;
}

.article-intro::after {
    content: "";
    display: block;
    clear: both;
}

.article-content {
    line-height: 1.6;
    font-size: 16px;
}

.article-content p {
    text-align: justify;
    hyphens: auto;
    margin-bottom: 15px;
}

.article-content h2 {
    margin-top: 25px;
    margin-bottom: 10px;
}

.live-cam-section {
    max-width: 900px;
    margin: auto;
    padding: 60px 8%;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
}

.video-wrapper iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.button{

display:inline-block;

margin-top:20px;

background:var(--accent);

color:white;

padding:14px 24px;

border-radius:8px;

text-decoration:none;

}

.button:hover{

background:#1d4ed8;

}

.button.secondary{
background:transparent;
color:var(--accent);
border:2px solid var(--accent);
margin-left:10px;
}

.button.secondary:hover{
background:var(--accent);
color:white;
}

section{

padding:80px 8%;

max-width:1200px;

margin:auto;

}

.section-title{

font-size:32px;

margin-bottom:40px;

}

.services{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(240px,1fr));

gap:30px;

}

.card{

background:white;

padding:25px;

border-radius:10px;

box-shadow:0 5px 20px rgba(0,0,0,0.05);

}

.card img{

width:100%;

border-radius:8px;

margin-bottom:15px;

}

.card:hover{

transform:translateY(-5px);

box-shadow:0 10px 25px rgba(0,0,0,0.08);

}

.card h3 a{

text-decoration:none;
color:var(--text);

}

.card h3 a:hover{

color:var(--accent);

}



.blog-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

gap:30px;

}



.blog-post {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);

    display: flex;
    flex-direction: column; /* stack content vertically */
    justify-content: space-between; /* push button to bottom */
    height: 100%; /* optional: if used in a grid, ensures cards are same height */
    box-sizing: border-box;
}

.blog-post img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 12px;
}

.blog-post h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.blog-post p {
    margin-bottom: 15px;
    flex-grow: 1; /* optional: lets paragraph expand to fill space */
}

.blog-post a.button {
    margin-top: auto; /* pushes button to the bottom */
    display: inline-block;
    font-size: 14px;
    background: var(--accent);
    color: white;
    padding: 14px 24px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
}

.blog-post a.button:hover {
    background: #1d4ed8;
}



.blog-article {
    max-width: 1000px;     /* wider content */
    margin: auto;
    padding: 40px 20px;    /* less aggressive side padding */
    line-height: 1.5;      /* tighter text */
    font-size: 18px;
}

.blog-article h1{

margin-bottom:20px;

}

.blog-article h2{

margin-top:40px;

}



.article-meta{

color:var(--muted);
margin-bottom:30px;

}

.article-image{

width:100%;
border-radius:10px;
margin-bottom:30px;

}

.blog-article ul{

margin-top:10px;

}

.blog-article li{

margin-bottom:6px;

}


.shop-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

gap:30px;

}

.shop-layout{
display:flex;
align-items:center;
gap:40px;
}

.shop-image{
width:420px;
border-radius:12px;
}


.product{

background:white;

padding:25px;

border-radius:10px;

text-align:center;

box-shadow:0 5px 20px rgba(0,0,0,0.05);

}

.product button{

margin-top:10px;

padding:10px 18px;

border:none;

background:var(--accent);

color:white;

border-radius:6px;

cursor:pointer;

}

.contact-layout{
display:flex;
align-items:center;
justify-content:space-between;
gap:40px;
}

.contact-image{
width:420px;
border-radius:12px;
}


.contact-form{

max-width:500px;

}

input, textarea{

width:100%;

padding:12px;

margin-bottom:16px;

border-radius:6px;

border:1px solid #cbd5f5;

}

footer{

background:white;

padding:40px 8%;

margin-top:60px;

border-top:1px solid #e2e8f0;

text-align:center;

color:var(--muted);

}

.menu-toggle{

display:none;
font-size:22px;
background:none;
border:none;
cursor:pointer;

}

.back-link{

display:inline-block;
margin-top:40px;
color:var(--accent);
text-decoration:none;
font-weight:500;

}

.back-link:hover{

text-decoration:underline;

}


@media (max-width:900px){

.article-intro img {
float: none;
width: 100%;
margin: 0 0 15px 0;
}

.article-content p {
    text-align: justify;
    hyphens: auto;
    word-spacing: 0.05em;
}


.logo-icon{
height:20px;
width:auto;
}

header{
flex-direction:row;
justify-content:space-between;
align-items:center;
flex-wrap:wrap;
}

.hero{
flex-direction:column;
text-align:center;
}

.hero-image{
width:100%;
max-width:350px;
}

.services,
.blog-grid,
.shop-grid{
grid-template-columns:1fr;
}

.blog-article {
 max-width: 900px;
 }

.contact-layout,
.shop-layout{
flex-direction:column;
text-align:center;
}

.contact-image,
.shop-image{
width:100%;
max-width:350px;
}


.menu-toggle {
    display: block;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001; /* ensures the button is always on top */
}

nav {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background: white;
    border-top: 1px solid #e2e8f0;
    margin-top: 8px;
    padding: 4px 0;
    gap: 0;
}

nav a {
    margin: 0;
    padding: 6px 0;
    font-size: 16px;
    line-height: 1;
    display: block;
    width: 100%;
    text-align: center;
}

nav a:hover {
    background: #f1f5f9;
    border-radius: 6px;
}

#nav-menu {
    display: none;       /* hide menu by default */
    flex-direction: column;
    gap: 15px;
}

#nav-menu.active {
    display: flex;       /* show menu when active */
}

}
