* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2c3e50;
    --secondary: #628e9c;
    --accent: #e67e22;
    --light: #f8f9fa;
    --dark: #2c3e50;
    --gray: #7f8c8d;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--light);
    overflow-x: hidden;
    padding: none;
}






























h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

.container {
    max-width: 1200px;
    margin:  0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: rgb(255, 255, 255);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: background-color 1.5s, box-shadow 0.3s;
    gap: 15px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}

.logo  {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.logo-button {
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
    color: var(--primary);
}

.logo span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: color 0.3s;
    font-size: 16px;
}

.nav-links a:hover {
    color: var(--secondary);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}



/* Hide Subtext (-Architecture Studio) */
@media screen and (max-width: 930px) {
  .logo .subtext {
    display: none;
  }
}

@media screen and (max-width: 930px) {
  .logo-button {
   color:#628e9c;
  }
}



/* ...Projects-container-responsive... */
    
            /*...Destop...*/
            @media (max-width: 900px) {
            .projects-container {
                grid-template-areas: 
                 "container"
                 "project-menu-bar-card"
                 "projects-container" ;
            }
            .projects-container {
                display: flex;
                flex-direction: column;
            }
            }

                /*...Mobile...*/
                @media (max-width: 925px) {
                .project-menu-bar-card {
                    margin-top: 250px;          /* header height on mobile */
                }
                }


    /*...1.Project Header Options...*/
    .project-menu-bar-card {
        width: 100%;
        margin: calc(60px + 20px) auto 0 auto;
        padding-bottom: 25px;
        
        display: grid;
        grid-template-columns: repeat(auto-fit, 150px);

        justify-content: center;
        
        gap: 20px;
        background-color: rgba(0,0,0,0);                      /*1. background color */

        position: relative;      /* (chatgpt) to make the dropdown option visible */
        z-index: 1;           /* (chatgpt) higher than project cards */
        overflow: visible;       /* (chatgpt) make the option bar not overlap */

        /* Add this to ensure proper spacing below fixed header */
        top: 0px; /* Adjust this value based on your header height */
    }

    /* Alternative more reliable approach - add this instead of the above top property */
    .project-menu-bar-card {
        margin-top: 80px; /* Header height + some spacing */
    }

    .project-selection {
        text-align: center;
        font-family:Verdana, Geneva, Tahoma, sans-serif;
        font-size: medium;
        padding-top: 20px;
    }

    .project-button-1,
    .project-button-2,
    .project-button-3 {
        color: #2c3e50;
        border: 1px solid rgba(196, 196, 196, 0.459);
        border-radius: 10px;
        box-shadow: 0 10px 15px rgba(131, 131, 131, 0.2);
        cursor: pointer;
        transition: transform 0.3s;
    }

    .project-button-2 {
        position: relative; /* Ensure dropdown is positioned relative to this */
    }

    .project-1-option,
    .project-2-option,
    .project-3-option {
        text-decoration: none;
        color: #2c3e50;
    }
    .project-button-1 :hover,
    .project-button-2 :hover,
    .project-button-3 :hover {
        color: #628e9c;
    }

    .dropdown-options {
        list-style-type: none;
        text-align: left;
        font-size: 15px;
    }


    /* Show on toggle */
    .dropdown-options.show {
    display: block;
    }


    /*--Project Option Hover--*/
    .project-button-1:hover,
    .project-button-2:hover,
    .project-button-3:hover {
        color: rgba(55, 99, 115, 0.80);
        transition: 0.3s ease;
        transform: scale(1.02);
    }

    .project-button-2 ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: white;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        border-radius: 8px;
        padding: 10px 0;
        z-index: 1001;
    }   

    .project-button-2:hover ul {
        display: block;
    }

    .project-button-2 ul li {
        padding: 8px 20px;
        white-space: nowrap;
    }

    .project-button-2 ul li a {
        color: var(--dark);
        text-decoration: none;
    }

    .project-button-2 ul li a:hover {
        color: var(--secondary);
    }


    /*...2.CONTAINER START HERE...*/
    .projects-container {
        width: 100%;
        margin: 0 auto 0 auto;

        max-height: fit-content;    /*...Fit project-card (below )...*/

        border-radius: 10px;
        border-width: 5px;
        border: 1px solid none;
        background-color: rgba(0);                          /*2. background color */
        border: 1px solid rgba(0);
        margin-top: -30px;
    }

        /*... First-Container...*/
        .project-card {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));  
            row-gap: 21px;
            
            gap: 10px;
            justify-content: center;
            padding: 21px 100px;
            background-color: none;
            
        }

        .project-background {
            width: 250px;               /*...Project background width and height...*/  /*...If change, need to change in " image-viewer img "too...*/
            height: auto;
            
            margin: 5px auto 5px;
            place-items: center;
            background-color: rgba(255, 255, 255);

            border-radius: 10px;
            position: relative;

            box-shadow: 0 5px 15px  rgba(0, 0, 0, 0.1) ;
            transition: transform 0.5s;
        }

         .project-background:hover {
            transform: scale(1.08);
            z-index: 1;
            cursor: pointer;
        }






            /*... images...*/

            .image-viewer {
                text-align: center;
                font-size: 21px;
                
            }
            .image-viewer h1 {
                color: #628e9c;
                
                text-transform: uppercase;
                font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
                font-size: 18px;
            }

            
            
            .image-viewer img {
                width: 250px;       /*...Image width and height...*/ /*...If change, need to change in " project-background "too...*/
                height: auto;
                height: 250px;
                
                
                
                object-fit: cover;
                border-radius: 10px 10px 0 0;
                
            }

            image-viewer p {
                text-align: none;
            }

            .project-link {
                color: none;
                background: none;
                text-decoration: none;
            }

            /*... texts...*/
            .text-viewer {
                width: 100%;
                margin: 0 auto;

                font-family: 'Montserrat';
                font-size: 15px;

                overflow: hidden;
                text-overflow: ellipsis;
                display: -webkit-box;
                -webkit-line-clamp: 3;
                line-clamp: 3;
                -webkit-box-orient: vertical;

                padding: 0 3px 5px;
                color: #3d3d3d;
                text-transform: capitalize;
            }

            .inner-text-viewer-adjust-color {
                color: #628e9c;
            }
           




        /*... Second-Container...*/



        
























/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 10px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }
    
    .stats {
        flex-direction: column;
    }
    
    .stat-item {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
    
    .project-card {
        height: 300px;
    }
    
}


/* Mobile */
@media screen and (max-width: 768px) {
  .main-content {
    padding-bottom: 60px; /* even bigger gap for mobile */
  }
}



