* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

body {
   font-family: "myriad-pro", Arial, sans-serif;
   background-color: #1F2530;
   color: #ffffff;
   line-height: 1.6;
   overflow-x: hidden;
}

.container {
   max-width: 1200px;
   margin: 0 auto;
   padding: 0 20px;
}

/* Header Section */
.hero {
   min-height: 100vh;
   display: flex;
   align-items: center;
   justify-content: center;
   background: linear-gradient(135deg, #1F2530 0%, #2a3444 100%);
   position: relative;
   overflow: hidden;
}

.hero {
   will-change: transform;
}

.hero::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: radial-gradient(circle at 70% 30%, rgba(216, 176, 79, 0.1) 0%, transparent 50%);
}

.hero .pdf {
   margin-top: 30px;
   display: inline-block;
   padding: 10px 25px;
   font-size: 18px;
   color: #1F2530;
   background: #D8B04F;
   border-radius: 10px;
   cursor: pointer;
   transition: all 0.3s ease;
   border: none;
   text-decoration: none;
}

.hero .pdf:hover {
   background: #D8B04F;
   transform: scale(1.05);
}

.hero-content {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 60px;
   align-items: center;
   z-index: 2;
   opacity: 0;
   transform: translateY(30px);
   animation: fadeInUp 1s ease-out 0.5s forwards;
}

.hero-text h1 {
   font-size: clamp(2.5rem, 5vw, 4rem);
   font-weight: 300;
   margin-bottom: 20px;
   color: #D8B04F;
}

.hero-text h2 {
   font-size: clamp(1.2rem, 2.5vw, 1.8rem);
   font-weight: 400;
   margin-bottom: 30px;
   color: #ffffff;
   opacity: 0.9;
}

.hero-text p {
   font-size: 1.1rem;
   line-height: 1.8;
   opacity: 0.8;
   max-width: 500px;
}

.hero-image {
   position: relative;
}

.profile-image {
   width: 100%;
   max-width: 400px;
   height: 500px;
   object-fit: cover;
   border-radius: 8px;
   box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
   transition: transform 0.3s ease;
}

.profile-image:hover {
   transform: translateY(-10px);
}

/* Navigation */
.nav {
   position: fixed;
   top: 30px;
   right: 30px;
   z-index: 1000;
   opacity: 0;
   animation: fadeIn 1s ease-out 1s forwards;
}

.nav-toggle {
   background: rgba(216, 176, 79, 0.9);
   border: none;
   color: #1F2530;
   width: 50px;
   height: 50px;
   border-radius: 50%;
   cursor: pointer;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 1.2rem;
   transition: all 0.3s ease;
}

.nav-toggle:hover {
   background: #D8B04F;
   transform: scale(1.1);
}

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

.section-title {
   text-align: center;
   font-size: clamp(2rem, 4vw, 3rem);
   font-weight: 300;
   color: #D8B04F;
   margin-bottom: 80px;
   opacity: 0;
   transform: translateY(30px);
}

.project-section {
   margin-bottom: 120px;
   opacity: 0;
   transform: translateY(50px);
   transition: all 0.8s ease;
}

.project-section.visible {
   opacity: 1;
   transform: translateY(0);
}

.project-header {
   display: grid;
   grid-template-columns: 2fr 1fr;
   gap: 60px;
   margin-bottom: 60px;
   align-items: center;
}

.project-info h3 {
   font-size: clamp(1.8rem, 3vw, 2.5rem);
   font-weight: 400;
   color: #D8B04F;
   margin-bottom: 15px;
}

.project-info .project-type {
   font-size: 1.1rem;
   color: #D8B04F;
   opacity: 0.8;
   margin-bottom: 20px;
   text-transform: uppercase;
   letter-spacing: 1px;
}

.project-info p {
   font-size: 1rem;
   line-height: 1.8;
   opacity: 0.9;
}

.project-details {
   background: rgba(216, 176, 79, 0.1);
   padding: 30px;
   border-radius: 8px;
   border-left: 4px solid #D8B04F;
}

.project-details h4 {
   color: #D8B04F;
   margin-bottom: 15px;
   font-size: 1.1rem;
}

.project-details ul {
   list-style: none;
}

.project-details li {
   margin-bottom: 8px;
   padding-left: 20px;
   position: relative;
}

.project-details li::before {
   content: '→';
   position: absolute;
   left: 0;
   color: #D8B04F;
}

.project-gallery {
   display: grid;
   gap: 20px;
}

.main-image {
   width: 100%;
   height: 60vh;
   object-fit: cover;
   border-radius: 8px;
   cursor: pointer;
   transition: all 0.3s ease;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.main-image:hover {
   transform: scale(1.02);
   box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.sub-images {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
   gap: 20px;
   margin-top: 20px;
}

.sub-image {
   width: 100%;
   height: 250px;
   object-fit: cover;
   border-radius: 8px;
   cursor: pointer;
   transition: all 0.3s ease;
   box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.sub-image:hover {
   transform: translateY(-5px);
   box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Modal */
.modal {
   display: none;
   position: fixed;
   z-index: 2000;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
   background-color: rgba(0, 0, 0, 0.9);
   opacity: 0;
   transition: opacity 0.3s ease;
}

.modal.show {
   opacity: 1;
}

.modal-content {
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%) scale(0.8);
   max-width: 90vw;
   max-height: 90vh;
   transition: transform 0.3s ease;
}

.modal.show .modal-content {
   transform: translate(-50%, -50%) scale(1);
}

.modal-image {
   width: 100%;
   height: auto;
   border-radius: 8px;
}

.close {
   position: absolute;
   top: -40px;
   right: 0;
   color: #D8B04F;
   font-size: 2rem;
   cursor: pointer;
   background: none;
   border: none;
}

/* Footer */
.footer {
   background: #151a24;
   padding: 60px 0;
   text-align: center;
   border-top: 1px solid rgba(216, 176, 79, 0.2);
}

.footer a {
   color: white;
}

.contact-info {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
   gap: 40px;
   margin-bottom: 40px;
}

.contact-item h4 {
   color: #D8B04F;
   margin-bottom: 10px;
}

.contact-item p {
   opacity: 0.8;
}

/* Animations */
@keyframes fadeInUp {
   to {
      opacity: 1;
      transform: translateY(0);
   }
}

@keyframes fadeIn {
   to {
      opacity: 1;
   }
}

/* Responsive Design */
@media (max-width: 768px) {
   .hero-content {
      grid-template-columns: 1fr;
      gap: 40px;
      text-align: center;
   }

   .project-header {
      grid-template-columns: 1fr;
      gap: 30px;
   }

   .main-image {
      height: 40vh;
   }

   .sub-images {
      grid-template-columns: 1fr;
   }

   .nav {
      top: 20px;
      right: 20px;
   }

   .container {
      padding: 0 15px;
   }
}

@media (max-width: 480px) {
   .hero {
      padding: 20px 0;
   }

   .portfolio {
      padding: 60px 0;
   }

   .project-section {
      margin-bottom: 80px;
   }

   .main-image {
      height: 30vh;
   }

   .sub-image {
      height: 200px;
   }
}