/* 
* GraphicDesignerSanantonio.com Stylesheet
* Creative purple and orange color scheme
* Responsive design for all devices
*/

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=Bebas+Neue&display=swap');

/* Reset and Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Color Palette - Creative Design Theme */
  --primary: #6B3FA0;          /* Purple */
  --primary-light: #8B5FBF;    /* Light purple */
  --secondary: #FF8A00;        /* Orange */
  --secondary-light: #FFA940;  /* Light orange */
  --dark: #292929;             /* Almost black */
  --light: #FFFFFF;            /* White */
  --gray-light: #F5F5F5;       /* Light gray */
  --gray: #AAAAAA;             /* Medium gray */
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
}

h1, h2, h3, h4, h5 {
  font-family: 'Bebas Neue', sans-serif;
  line-height: 1.2;
  letter-spacing: 1px;
}

h1 {
  font-size: 4rem;
}

h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: var(--light);
  padding: 12px 30px;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid var(--primary);
}

.btn:hover {
  background: transparent;
  color: var(--primary);
}

.btn-secondary {
  background: var(--secondary);
  border-color: var(--secondary);
}

.btn-secondary:hover {
  background: transparent;
  color: var(--secondary);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 15px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

.logo span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  color: var(--primary);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 30px;
}

.nav-menu a {
  color: var(--dark);
  font-weight: 500;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  padding-top: 120px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-content {
  flex: 1;
}

.hero-subtitle {
  color: var(--secondary);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-title {
  margin-bottom: 20px;
  color: var(--primary);
}

.hero-title span {
  color: var(--secondary);
}

.hero-text {
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.hero-image {
  flex: 1;
  position: relative;
}

.abstract-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.1;
}

/* Services */
.services {
  padding: 80px 0;
  background-color: var(--gray-light);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-subtitle {
  color: var(--secondary);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.section-title {
  color: var(--primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.service-card h3 {
  margin-bottom: 15px;
  color: var(--primary);
}

/* Portfolio */
.portfolio {
  padding: 80px 0;
}

.portfolio-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.filter-btn {
  background: none;
  border: none;
  padding: 8px 20px;
  margin: 5px;
  cursor: pointer;
  font-weight: 500;
  color: var(--dark);
  transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
  color: var(--primary);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  height: 250px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-item svg {
  width: 50%;
  height: 50%;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(107, 63, 160, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h4 {
  color: var(--light);
  margin-bottom: 10px;
}

.portfolio-overlay p {
  color: var(--light);
  opacity: 0.8;
}

/* News Section */
.news {
  padding: 80px 0;
  background-color: var(--gray-light);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.news-card {
  background: var(--light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.news-image {
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-image svg {
  width: 40%;
  height: 40%;
  opacity: 0.7;
}

.news-content {
  padding: 25px;
}

.news-date {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.news-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.news-text {
  margin-bottom: 20px;
}

/* Contact */
.contact {
  padding: 80px 0;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
}

.contact-info h3 {
  margin-bottom: 20px;
  color: var(--primary);
}

.contact-list {
  list-style: none;
}

.contact-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.contact-icon {
  margin-right: 15px;
  color: var(--secondary);
  font-style: normal;
}

.contact-form h3 {
  margin-bottom: 20px;
  color: var(--primary);
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--gray);
  border-radius: 5px;
  font-family: 'Poppins', sans-serif;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
}

textarea.form-control {
  height: 150px;
  resize: vertical;
}

/* Footer */
.footer {
  background: var(--dark);
  color: var(--light);
  padding: 50px 0 20px;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 40px;
  margin-right: 10px;
}

.footer-logo span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  color: var(--light);
}

.footer-about p {
  opacity: 0.8;
}

.footer-heading {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--light);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--light);
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--secondary);
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: var(--light);
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--secondary);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--light);
    flex-direction: column;
    padding: 20px 0;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav-menu.active {
    transform: scaleY(1);
    opacity: 1;
  }

  .nav-menu li {
    margin: 0;
  }

  .nav-menu a {
    display: block;
    padding: 10px 20px;
  }
}

@media (max-width: 576px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}
