/* Reset & Base Styles */

body,
header,
footer,
section,
.hero-text,
.package,
nav a,
.theme-toggle {
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  background: #fafafa;
  color: #2a2a2a;
}

/* Header & Nav */
header {
  background: #000;
  color: #fff;
  padding: 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  font-size: 1.1rem;
  color: #fff;
}
.logo img {
  height: 40px;
}
nav a {
  display: inline-block;
  margin-left: 15px;
  padding: 10px 16px;
  background-color: #fff;
  color: #111;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25); /* dark shadow */
}

nav a:hover {
  background-color: #f0f0f0;
  color: #000;
}

/* Hero Section */
.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 300px;
  padding: 60px 20px;
  text-align: center;
  background-color: #fff;
  color: #111;
  width: 100%;
}

.hero-text h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #111;
}

.hero-text p {
  font-size: 1.05rem;
  color: #444;
  max-width: 600px;
  margin: 0 auto;
}
.button,
.project-brief-btn {
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Sections */
section {
  max-width: 900px;
  margin: auto;
  padding: 60px 20px;
  text-align: center;
}
section:nth-of-type(even) {
  background: #fff;
}
section:nth-of-type(odd) {
  background: #f2f2f2;
}

/* Headings */
h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  border-bottom: 2px solid #eee;
  display: inline-block;
  padding-bottom: 8px;
}
h3 {
  font-size: 1.2rem;
  margin: 10px 0;
}

/* Button */
.button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #111;
  color: #fff;
  font-weight: 600;
  border-radius: 6px;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

.button:hover {
  background-color: #333;
}


/* Video */
#portfolio video {
  max-width: 720px;
  width: 100%;
  border-radius: 8px;
  margin: 20px auto;
  display: block;
}

/* Packages */
.package {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 25px;
  margin: 20px auto;
  max-width: 500px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}
.package p {
  color: #333;
}
.package .button,
.project-brief-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 24px;
  background-color: #111;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 6px;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: background 0.3s ease;
  text-decoration: none; 
}
.package .button:hover,
.project-brief-btn:hover {
  background-color: #333;
}
.package-image {
  width: 100%;
  max-width: 500px;       /* Smaller than before */
  height: auto;           /* Maintains original aspect ratio */
  display: block;
  margin: 0 auto 20px;
  border-radius: 12px;    /* Keeps smooth corners */
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}



/* Footer */
footer {
  background: #111;
  color: #eee;
  text-align: center;
  padding: 40px 20px;
  font-size: 0.9rem;
}

.footer-link {
  color: #888;
  font-size: 0.85rem;
  text-decoration: none;
  margin: 0 6px;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #555;
}

.dark .footer-link {
  color: #bbb;
}

.dark .footer-link:hover {
  color: #fff;
}
.upgrade-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

@media (min-width: 600px) {
  .upgrade-options {
    flex-direction: row;
    justify-content: center;
  }
}


/* Responsive */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: center;
  }
  nav {
    display: flex;
    
    margin-top: 10px;
    gap: 10px;
  }
  nav a {
    margin: 0;
    padding: 10px 14px;
  }
}

/* Dark Mode Support */

.theme-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: #fff;
  color: #111;
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2000;
}

.dark .theme-toggle {
  background-color: #333;
  color: #fff;
}
.dark body {
  background-color: #111;
  color: #eee;
}

.dark header,
.dark footer {
  background-color: #000;
  color: #eee;
}

.dark section,
.dark .package {
  background-color: #1a1a1a;
  color: #eee;
}

.dark .package p,
.dark .hero-text p {
  color: #ccc;
}

.dark .navbar a,
.dark .logo span {
  color: #fff;
}
.dark nav a {
  background-color: #eee;
  color: #111;
}

.dark nav a:hover {
  background-color: #ccc;
  color: #000;
}

.dark .package .button,
.dark .project-brief-btn {
  background-color: #eee;
  color: #111;
  text-decoration: none;
}

.dark .package .button:hover,
.dark .project-brief-btn:hover {
  background-color: #ccc;
  color: #000;
}
.dark .package-image {
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.1);
}


.dark .theme-toggle {
  background-color: #333;
  color: #fff;
}

.dark .hero-text {
  background-color: #000;
  color: #fff;
}
.dark .hero-text p {
  color: #ccc;
}
.dark .hero-text h1 {
  color: #fff;
}
.dark section {
  background-color: #1a1a1a;
  color: #eee;
}
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #fff;
  color: #111;
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  z-index: 1001;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.dark .theme-toggle {
  background-color: #333;
  color: #fff;
}
.dark .hero-text {
  background-color: #000;
  color: #fff;
}

.dark nav a {
  background-color: #000;
  color: #fff;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2); /* light glow */
}

.dark nav a:hover {
  background-color: #222;
  color: #fff;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.3); /* slightly brighter on hover */
}

.dark .button {
  background-color: #eee;
  color: #111;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
}

.dark .button:hover {
  background-color: #ccc;
  color: #000;
}


.package-details {
  max-width: 700px;
  margin: 0 auto;
  text-align: center; /* now centered */
  font-size: 1rem;
  line-height: 1.8;
  color: inherit;
}

.package-details p {
  margin-bottom: 12px;
}

.package-details li {
  margin-bottom: 10px;
}
