@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --bg-dark: #0b1624;
    --bg-light: #f5f7fa;
    --primary: #3b82f6;
    --text-dark: #ffffff;
    --text-light: #0b1624;
    --card-dark: #122235;
    --card-light: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-dark);
    color: var(--text-dark);
    transition: 0.3s ease;
}

body.light {
    background: var(--bg-light);
    color: var(--text-light);
}

.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(11,22,36,0.8);
    backdrop-filter: blur(10px);
    transition: 0.3s ease;
    z-index: 1000;
}

body.light .navbar {
    background: rgba(255,255,255,0.8);
}

.navbar a {
    color: inherit;
    text-decoration: none;
    margin-left: 30px;
    font-weight: 500;
    position: relative;
}

.navbar a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary);
    left: 0;
    bottom: -4px;
    transition: 0.3s;
}

.navbar a:hover::after {
    width: 100%;
}

.mode-btn {
    background: var(--primary);
    border: none;
    padding: 8px 18px;
    border-radius: 30px;
    color: white;
    cursor: pointer;
}

.hero {
    height: 100vh;
    background: url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 60px;
    font-weight: 700;
}

.hero-content p {
    margin: 20px 0;
    font-size: 18px;
}

.btn {
    background: var(--primary);
    padding: 14px 30px;
    border-radius: 40px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
}

.section {
    padding: 120px 8% 80px;
}

.section h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 36px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: 40px;
}

.card {
    background: var(--card-dark);
    border-radius: 20px;
    overflow: hidden;
    transition: 0.3s ease;
}

body.light .card {
    background: var(--card-light);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card:hover {
    transform: translateY(-8px);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    transition: 0.3s;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

footer {
    text-align: center;
    padding: 30px;
    margin-top: 60px;
}
