/* Global Styles */
body {
  font-family: Arial, sans-serif;
  background-color: #EDE0D4;
  margin: 0;
  padding: 0;
  color: #333;
}

/* Header */
header {
  background-color: #7f5539;
  color: white;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8em;
  font-weight: bold;
}

.hamburger {
  font-size: 2em;
  cursor: pointer;
  display: none;
}

/* Navigation Menu */
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: white;
  text-decoration: none;
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background-color: #7f5539;
    position: absolute;
    top: 60px;
    right: 20px;
    width: 150px;
    padding: 10px;
    border-radius: 8px;
  }
  
  nav ul.show {
    display: flex;
  }
  
  .hamburger {
    display: block;
  }
}

/* Main Image */
.main-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Categories */
.categories {
  display: flex;
  flex-direction: column;  
  align-items: center;      
}

.categories h2 {
  width: 100%;              
  text-align: center;
  margin-bottom: 20px;
}

.category-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0 60px 0;   /* space after Graphics/Web buttons */
}

.btn {
  background: #b08968;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn:hover {
  background: #9c6644;
}

/* Contact & Message Section */
/* Contact & Message Section - centered properly */
.contact-form {
  padding: 40px 20px;
  background-color: #f8f8f8;
  text-align: center;
}

.contact-form h2 {
  margin-bottom: 30px;
}

.contact-box {
  display: flex;
  justify-content: center;
  gap: 60px;
  align-items: flex-start;
  margin-top: 20px;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  margin: 8px 0;
}

.contact-info a {
  color: #0077cc;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Message Form: arranged in one column */
.contact-form form {
  display: flex;
  flex-direction: column;
  width: 300px;
  gap: 10px;
  align-items: stretch;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.contact-form button {
  background-color: #7f5539;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #5c4033;
}

/* Bottom Cover Image */
.cover-image-bottom img {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 30px;
}

/* Footer */
footer {
  background: #7f5539;
  color: white;
  text-align: center;
  padding: 10px;
}

/* Responsive adjustment for the contact-box on smaller screens */
@media (max-width: 768px) {
  .contact-box {
    flex-direction: column;
    align-items: center;
  }
}

.graphics-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.video-motion {
  display: flex;
  justify-content: center;
  padding: 40px 0;
}

.video-motion video {
  width: 900px;
  max-width: 100%;
  height: auto;
}

/*video pages */
.video-edit {
  display: flex;
  justify-content: center;
  padding: 40px 0;
}

.video-edit video {
  width: 900px;     
  max-width: 95%;
  height: auto;
}

/* Photoshop page image */
.photoshop {
  display: flex;
  justify-content: center;
  padding: 40px 0;
}

.photoshop img {
  width: 60%;      
  height: auto;
  display: block;
}

.resume-card {
  width: 220px;
  text-align: center;
}

.resume-card img {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  border: 3px solid #7f5539;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.resume-card img:hover {
  transform: scale(1.05);
}

/* PDF popup modal */
.pdf-viewer {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 5000;
}

.pdf-viewer iframe {
  width: 80%;
  height: 85%;
  background: white;
  border-radius: 10px;
  border: none;
}

.close-btn {
  position: absolute;
  top: 40px;
  right: 80px;
  background: #7f5539;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
}

/* Resume cards layout */
.resume-container{
  display:flex;
  justify-content:center;
  gap:60px;
  margin-top:60px;
}

.resume-card{
  width:340px;              
  text-align:center;
}

.resume-card img{
  width:100%;
  height:auto;              
  border:3px solid #7f5539;
  border-radius:10px;
  display:block;
  margin-bottom:20px;
}

.resume-card .btn{
  display:inline-block;
  margin-top:10px;
}