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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

header {
    padding: 40px 0 60px;
}

.logo {
    font-size: clamp(60px, 12vw, 140px);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 0.9;
    margin-bottom: 20px;
}

nav {
    display: flex;
    gap: 40px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 30px;
}

nav a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.6;
}

.hero {
    margin: 80px 0;
}

.hero h1 {
    font-size: clamp(24px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.3;
    max-width: 900px;
    margin-bottom: 60px;
}

.hero-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    font-size: 15px;
    line-height: 1.8;
}

.hero-content p {
    margin-bottom: 20px;
}

footer {
    padding: 60px 0 40px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-column h4 {
    margin-bottom: 15px;
    opacity: 0.5;
}

.footer-column p {
    margin-bottom: 5px;
    font-size: 10px;
}

.copyright {
    opacity: 0.3;
    font-size: 10px;
    margin-top: 20px;
}

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

    nav {
        flex-wrap: wrap;
        gap: 20px;
    }
}


/* Js.p5 WORK PAGE STYLES */

.page-title {
    margin: 80px 0 40px;
}

.page-title h1 {
    font-size: clamp(26px, 4vw, 50px);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.work-item {
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.work-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.work-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;   
  overflow: hidden;     
}

.work-image iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}


.work-info {
    padding: 24px;
}

.work-info h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 600;
}

.work-info p {
    font-size: 14px;
    line-height: 1.6;
    color: #aaa;
    margin-bottom: 16px;
}

.work-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 12px;
    background: #333;
    border-radius: 4px;

}
.project-link {
    color: #fff;               
    text-decoration: none;    
}

.project-link:hover,
.project-link:focus {
    text-decoration: underline; 
}

/* for otherworks page! */
.work-grid.gallery-view {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 4rem;
  row-gap: 4rem;
  justify-items: center;
}

.work-grid.gallery-view .work-item {
  text-align: center;
}

.work-grid.gallery-view .work-image {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 3 / 4;
  background: #f5f5f5;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-grid.gallery-view .work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}


/*contact page*/

.contact-page-title {
    margin: 80px 0 40px; 
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr);
    column-gap: 80px;
    row-gap: 40px;
    margin-bottom: 80px;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
    row-gap: 32px;
}

.contact-heading {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 8px;
    opacity: 0.8;
}
.contact-details a,
.contact-links a {
    color: #fff;
    text-decoration: none;
}

.contact-details a:visited,
.contact-links a:visited {
    color: #fff;
}

.contact-details a:hover,
.contact-links a:hover {
    text-decoration: underline;
}


.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 60px;
}

