/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&display=swap');

:root {
    --bg-color: #ffffff;
    --text-color: #202020;
    --acc-color: #999;
}

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

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 500;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
}

.hero-logo {
    max-width: 300px;
    /* Increased size */
    width: 80%;
    /* Responsive fall back */
    height: auto;
}

.hero-text {
    font-size: 1.5rem;
    font-weight: 300;
    margin-top: 1rem;
    color: var(--text-color);
}

.hero-text span {
    font-weight: 600;
}

/* Right Side Navigation Dots */
.nav-dots {
    position: fixed;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
}

.nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid var(--text-color);
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.nav-dot.active {
    background-color: var(--text-color);
}

/* Portfolio Section */
.portfolio {
    min-height: 100vh;
    padding: 100px 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.portfolio-header {
    margin-bottom: 4rem;
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
}

.grid {
    display: grid;
    /* With only one item, centering it might be better than a Left-aligned grid depending on preference, 
       but keeping grid structure is safer for future expansion. 
       To center single item in grid: */
    grid-template-columns: repeat(1, 1fr);
    width: 100%;
    max-width: 400px;
    /* Constrain width since it's one item */
}

.product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.g-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    /* Make it black and white */
}

.product-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.link-icon {
    width: 13.67px;
    height: 14.45px;
    opacity: 0.5;
}

.product-desc {
    font-size: 1.1rem;
    color: var(--acc-color);
    font-weight: 400;
}

/* Contact Section */
.contact {
    min-height: 100vh;
    padding: 50px 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.contact-text {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.email-link {
    text-decoration: underline;
    font-weight: 400;
}

.email-link:hover {
    opacity: 0.7;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.social-icon {
    width: 24px;
    height: 24px;
    color: #000000;
    transition: transform 0.2s ease, opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover {
    transform: translateY(-2px);
    opacity: 0.7;
}

.social-icon svg {
    width: 100%;
    height: 100%;
}