/*BASE*/

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

html {
    font-size: 16px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #fafafa;
}

nav {
    background-color: #f4f4f4;
    padding: 15px;
    font-size: large;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    width: 100%;
    margin: auto;
}

.nav-left,
.nav-center,
.nav-right {
    flex: 1;
}

.logo {
    font-weight: bold;
    font-size: 1.25rem;
    padding-left: 20px;
}

.logo a{
    font-weight: bold;
}
.logo a:hover{
    text-decoration: none;
}

.nav-center {
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

.nav-links li {
    list-style: none;
}

a {
    color: black;
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    text-decoration: underline;
}

nav a.active {
    font-weight: bold;
}

.hero {
    width: 100%;
    padding: 120px 20px;
    background: linear-gradient(135deg, #0d0d0d, #757575);
    color: white;
    text-align: center;
}

.hero-inner {
    max-width: 900px;
    margin: auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.hero p {
    font-size: 1.125rem;
    color: #cccccc;
    margin-bottom: 30px;
}

.hero-btn {
    display: inline-block;
    padding: 12px 26px;
    font-size: 1.125rem;
    background-color: #3ea6ff;
    color: black;
    border-radius: 6px;
    transition: 0.2s;
}

.hero-btn:hover {
    transform: scale(1.04);
    background-color: #67baff;
}

.features {
    padding: 70px 20px;
    max-width: 1100px;
    margin: auto;
    text-align: center;
}

.features h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.feature-card h3 {
    margin-top: 0;
    font-size: 1.375rem;
}

.feature-card p {
    margin: 15px 0;
    color: #555;
}

.feature-card a {
    font-weight: bold;
    color: #0077dd;
}

.about-modern {
    padding: 80px 20px;
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.about-modern h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-modern p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #444;
}

footer {
    background-color: #121212;
    color: #bbbbbb;
    text-align: center;
    padding: 30px 10px;
    margin-top: 60px;
}








/*PROJECTS HTML*/

.projects-main {
    padding-top: 40px;
    max-width: 1200px;
    margin: auto;
}

.projects-header {
    text-align: center;
    max-width: 700px;
    margin: auto;
}

.projects-header h1 {
    font-size: 2.625rem;
    margin-bottom: 10px;
}

.projects-header p {
    font-size: 1.125rem;
    color: #555;
    margin-bottom: 40px;
}

.project-carousel {
    position: relative;
    width: 95%;
    margin: 0 auto 80px auto;
}

.carousel-track {
    display: flex;
    gap: 25px;
    overflow: hidden;
    height: auto;
    padding-bottom: 40px;
}

.project-card {
    min-width: 320px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    padding: 15px 15px 25px 15px;
    height: auto;
    display: flex;
    flex-direction: column;
}

.project-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.project-card h3 {
    margin: 0 0 6px 0;
}

.project-card p {
    color: #444;
    font-size: 0.9375rem;
    margin: 0;
}

.project-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 16px;
    background-color: #3ea6ff;
    color: black;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.2s;
}

.project-btn:hover {
    transform: scale(1.04);
    background-color: #67baff;
}

.extra-project-info {
    text-align: center;
    margin-top: 60px;
}

.extra-project-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.design-pillars {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.pillar {
    background: white;
    padding: 25px;
    border-radius: 10px;
    width: 260px;
    box-shadow: 0 5px 14px rgba(0,0,0,0.1);
    transition: 0.25s ease;
}

.pillar h3 {
    margin-top: 0;
}

.pillar:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}








/*TIPS HTML*/

.tips-main {
    max-width: 900px;
    margin: auto;
    padding-top: 40px;
}

.tips-header {
    text-align: center;
    margin-bottom: 50px;
}

.tips-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.tips-header p {
    color: #555;
    font-size: 1.125rem;
}

.tips-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tip {
    background: white;
    border-radius: 10px;
    padding: 20px 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.tip-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.tip-title h3 {
    margin: 0;
}

.tip-arrow {
    font-size: 1.75rem;
    transition: 0.2s;
}

.tip-content {
    height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 0;
}

.tip.open .tip-content {
    height: auto;
    opacity: 1;
    margin-top: 15px;
}








/*CONTACT HTML*/

.contact-main {
    max-width: 800px;
    margin: auto;
    padding-top: 40px;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.contact-header p {
    color: #555;
    font-size: 1.125rem;
}

.contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-form {
    width: 100%;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.input-group label {
    font-weight: bold;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
    transition: 0.2s;
}

.contact-btn {
    padding: 14px 20px;
    font-size: 1.125rem;
    background-color: #3ea6ff;
    color: black;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.contact-btn:hover {
    transform: scale(1.03);
    background-color: #67baff;
}









/*LEGAL HTML*/

.legal-main {
    max-width: 800px;
    margin: auto;
    padding-top: 40px;
}

.legal-header {
    text-align: center;
    margin-bottom: 40px;
}

.legal-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.legal-section {
    background: white;
    padding: 25px 30px;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.legal-section h2 {
    margin-top: 0;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.legal-section p,
.legal-section ul {
    color: #444;
    font-size: 1.0625rem;
    line-height: 1.6;
}

.legal-section ul {
    margin: 0;
    padding-left: 20px;
}








/*RESPONSIVE*/

@media (max-width: 900px) {

    .hero h1 {
        font-size: 2.375rem;
    }

    .hero {
        padding: 90px 20px;
    }

    .nav-links {
        gap: 12px;
    }

    .projects-header h1,
    .tips-header h1 {
        font-size: 2.125rem;
    }

    .project-card {
        min-width: 260px;
    }

    .pillar {
        width: 45%;
    }

}

@media (max-width: 600px) {

    .nav-container {
        flex-direction: column;
        gap: 10px;
    }

    .nav-left, .nav-center, .nav-right {
        flex: unset;
    }

    .logo {
        padding-left: 0;
        font-size: 1.125rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero {
        padding: 70px 20px;
    }

    .feature-card {
        padding: 20px;
    }

    .projects-header h1 {
        font-size: 1.875rem;
    }

    .project-card {
        min-width: 75%;
    }

    .pillar {
        width: 100%;
    }

    .contact-form {
        padding: 20px;
    }

}

@media (max-width: 400px) {

    .hero h1 {
        font-size: 1.625rem;
    }

    .nav-links {
        font-size: 0.875rem;
    }

    .project-card {
        min-width: 90%;
    }

}
