/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #fff;
  background: #000;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
header {
  background: rgba(0, 0, 0, 0.8);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffd700;
}
nav ul {
  list-style: none;
  display: flex;
}
nav ul li {
  margin-left: 2rem;
}
nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
nav ul li a:hover,
nav ul li a.active {
  color: #ffd700;
}

/* Landing Section */
#landing-page {
  background: url('images/landing.jpg') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1rem;
  position: relative;
  margin-top: 70px; /* offset for fixed header */
}
#landing-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
}
.landing-page-content {
  position: relative;
  z-index: 1;
}
.landing-page-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.landing-page-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}
.btn {
  background: #ffd700;
  color: #000;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
  transition: background 0.3s ease;
}
.btn:hover {
  background: #e6c200;
}
.profile-pic {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin-top: 1rem;
}
/* Sections */
section {
  padding: 4rem 0;
  background: #000;
  color: #fff;
  text-align: center;
}
section h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}
section p {
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

/* Projects Section */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.project-card {
  background: #111;
  padding: 1rem;
  border-radius: 4px;
  transition: transform 0.3s ease;
}
.project-card img {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.project-card h3 {
  margin-bottom: 0.5rem;
}
.project-card p {
  font-size: 0.9rem;
  color: #ccc;
}
.project-card:hover {
  transform: translateY(-5px);
}
#project-icons{
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  width: 20%;
  height: 20%;
  margin-left: 40%;
  margin-bottom: 2rem;
}

/* Resume Section Styles */
#resume {
  padding: 4rem 0;
  background: #111;  
  color: #fff;
  text-align: center;
}

#resume .container {
  max-width: 800px;
  margin: 0 auto;
}

#resume h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

#resume p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #ccc;
}

#resume a.btn {
  background: #ffd700;
  color: #000;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
  transition: background 0.3s ease;
}

#resume a.btn:hover {
  background: #e6c200;
}

/* Contact Form */
#contact form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
#contact input,
#contact textarea {
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
}
#contact input {
  background: #222;
  color: #fff;
}
#contact textarea {
  background: #222;
  color: #fff;
  min-height: 150px;
  resize: vertical;
}
#contact button {
  background: #ffd700;
  color: #000;
  border: none;
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}
#contact button:hover {
  background: #e6c200;
}
/* Cookie policy */
.cookie-banner,
.cookie-preferences {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #1a1a1a;
  color: #f0f0f0;
  border: 1px solid #333;
  padding: 20px;
  border-radius: 12px;
  max-width: 340px;
  font-size: 14px;
  z-index: 9999;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
  font-family: 'Inter', sans-serif;
}

.cookie-banner a {
  color: #4fc3f7;
  text-decoration: underline;
}

.cookie-buttons button,
.cookie-preferences button {
  background-color: #4fc3f7;
  color: #1a1a1a;
  border: none;
  padding: 8px 16px;
  margin: 8px 8px 0 0;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cookie-buttons button:hover,
.cookie-preferences button:hover {
  background-color: #29b6f6;
}

.cookie-preferences {
  margin-top: 10px;
}

.cookie-preferences.hidden {
  display: none;
}

.cookie-preferences h4 {
  margin-bottom: 10px;
  color: #ffffff;
}

.cookie-preferences label {
  display: block;
  margin: 6px 0;
  color: #cccccc;
}

/* Footer */
footer {
  background: #111;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: #ccc;
}
