/* CSS Variables for easy theming */
:root {
    --bg-color: #0d0d0d;
    --text-color: #f5f5f5;
    --accent-color: #c19b5e;
    --accent-hover: #e0a800;
}

/* Global styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Roboto', sans-serif;
    scroll-behavior: smooth; /* smooth scrolling */
    overflow-x: hidden;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Fixed header/navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(13, 13, 13, 0.95);
    padding: 1rem 2rem;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* Hamburger styles */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
  z-index: 1001;
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
}
.hamburger-line {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 4px 0;
  transition: 0.4s;
}

/* Responsive nav toggle */
@media (max-width: 768px) {
  nav ul.menu {
    display: none;
    flex-direction: column;
    background-color: rgba(13, 13, 13, 0.95);
    position: absolute;
    top: 70px;
    right: 1rem;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
  }
  nav ul.menu.active {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
}


/* Hero image responsive handling */
.hero .hero-image {
  position: absolute;
  bottom: 0;
  width: 45%;
  opacity: 0.7;
}
.hero .hero-image.left {
  left: -5%;
  transform: rotate(-15deg);
  background-image: url('https://images.pexels.com/photos/1671325/pexels-photo-1671325.jpeg');
  background-size: cover;
  background-position: center;
  height: 100%;
}
.hero .hero-image.right {
  right: -5%;
  transform: rotate(15deg);
  background-image: url('https://images.pexels.com/photos/3290613/pexels-photo-3290613.jpeg');
  background-size: cover;
  background-position: center;
  height: 100%;
}
@media (max-width: 768px) {
  .hero .hero-image.right {
    display: none;
  }
  .hero .hero-image.left {
    transform: none;
    left: 0;
    width: 100%;
    height: 100%;
  }
}


/* Navigation links */
nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

nav ul li a {
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--accent-color);
}

/* Hero section */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
    padding: 0 2rem;
    z-index: 1;
}


/* Add background overlay for hero text */
.hero-content {
    position: relative;
    z-index: 2;
    background: rgba(13, 13, 13, 0.7); /* Semi-dark background */
    padding: 2rem;
    border-radius: 8px;
}

.hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    z-index: 1;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

/* Decorative angled images in hero */
.hero .hero-image {
    position: absolute;
    bottom: 0;
    width: 45%;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.hero .hero-image.left {
    left: -5%;
    transform: rotate(-15deg);
}

.hero .hero-image.right {
    right: -5%;
    transform: rotate(15deg);
}

.hero .hero-image img {
    border-radius: 8px;
}

.hero .hero-image:hover {
    opacity: 0.9;
}

/* About section */
#about {
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
    gap: 2rem;
    position: relative;
    z-index: 2;
    background: var(--bg-color);
}

#about .about-image,
#about .about-text {
    flex: 1;
}

#about .about-image img {
    border-radius: 8px;
}

#about h2, h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

#about p, li {
    line-height: 1.6;
}

/* Demo section */
#demo {
    padding: 4rem 2rem;
    text-align: center;
}

#demo button {
    background-color: var(--accent-color);
    color: var(--bg-color);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#demo button:hover {
    background-color: var(--accent-hover);
}

/* Team section */
#team {
    padding: 4rem 2rem;
}

#team h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.team-card {
    background-color: rgba(30, 30, 30, 0.8);
    text-align: center;
    padding: 1.5rem;
    border-radius: 8px;
    transition: transform 0.3s, background-color 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
    background-color: rgba(30, 30, 30, 1);
}

.team-card img {
    border-radius: 50%;
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 2px solid var(--accent-color);
}

.team-card h3 {
    margin: 0.5rem 0 0.2rem 0;
    font-size: 1.1rem;
}

.team-card p {
    font-size: 0.9rem;
    color: #ccc;
}

.team-card a {
    color: inherit;
}

.team-card a:hover h3 {
    color: var(--accent-color);
}

/* Contact (Footer) section */
footer {
    padding: 2rem;
    background: rgba(13, 13, 13, 0.9);
    text-align: center;
}

.social-icons a {
    margin: 0 0.5rem;
    font-size: 1.5rem;
    color: #888;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--accent-color);
}

footer p {
    color: #666;
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    /* Stack about section columns */
    #about {
        flex-direction: column;
    }
    /* Hero images smaller */
    .hero .hero-image {
        width: 60%;
    }
    /* Reduce hero title size */
    .hero h1 {
        font-size: 2rem;
    }
    /* Team grid 2 columns */
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
    header {
        padding: 0.8rem 1rem;
    }
    nav ul li a {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    /* Hero stack text */
    .hero h1 {
        font-size: 1.5rem;
    }
    /* Stack team 1 column */
    .team-grid {
        grid-template-columns: 1fr;
    }
    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }
}