@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #CCCCFF;
    --accent: #FF7F50;
    --background: #FFFFF0;
    --highlight: #9400D3;
    --text: #2F4F4F;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    background-color: var(--background);
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--text);
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 1.5rem);
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
}

a {
    color: var(--highlight);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

header {
    background: linear-gradient(135deg, var(--primary) 0%, rgba(204, 204, 255, 0.95) 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(47, 79, 79, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--highlight);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu li a {
    color: var(--text);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-menu li a:hover {
    background-color: var(--accent);
    color: white;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text);
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    padding: 4rem 2rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-bg.jpg') center/cover;
    opacity: 0.3;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.hero p {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.3s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.6s forwards;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--highlight);
    color: white;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background-color: var(--accent);
    letter-spacing: 1px;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(148, 0, 211, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--highlight);
    border: 2px solid var(--highlight);
    letter-spacing: 0.5px;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--highlight);
    letter-spacing: 1px;
    transform: translateY(-2px);
}

section {
    padding: 4rem 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--highlight));
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(47, 79, 79, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(148, 0, 211, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.1) saturate(1.2);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(148, 0, 211, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    color: white;
    margin: 0;
}

.testimonials {
    background: linear-gradient(135deg, var(--primary) 0%, rgba(204, 204, 255, 0.5) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(47, 79, 79, 0.1);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 5rem;
    color: var(--accent);
    font-family: 'Playfair Display', serif;
    opacity: 0.3;
}

.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(47, 79, 79, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--primary);
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--highlight);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.3rem;
}

.footer {
    background: var(--text);
    color: white;
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    display: block;
}

.footer-section a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.privacy-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(47, 79, 79, 0.3);
    z-index: 10000;
    max-width: 600px;
    margin: 0 auto;
    display: none;
}

.privacy-popup.show {
    display: block;
    animation: slideUp 0.5s ease;
}

.privacy-popup-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    margin-bottom: 1rem;
    color: var(--highlight);
}

.content-section h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.about-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: center;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.about-preview-image {
    width: 100%;
    max-width: 100%;
}

.about-preview-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 1100px) {
    .nav-menu{
        gap: 0rem !important;
    }
    .logo{
        font-size: 1.2rem !important;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .logo{
        font-size: 1.2rem;
    }
    body{
        hyphens: auto;
    }
   


    .nav-menu {
        position: fixed;
        top: 63px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(204, 204, 255, 0.98);
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(47, 79, 79, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-menu li a {
        display: block;
        width: 100%;
        padding: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    section{
        padding: 1rem 0 ;
    }

    .services-grid,
    .portfolio-grid,
    .testimonials-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .about-preview-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-preview-image {
        order: -1;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .privacy-popup {
        bottom: 10px;
        left: 10px;
        right: 10px;
        padding: 1.5rem;
        max-width: 100%;
    }

    .privacy-popup h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .privacy-popup p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .privacy-popup-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .privacy-popup-buttons .btn {
        width: 100%;
        padding: 0.875rem 1.5rem;
    }
}

@media (max-width: 320px) {
    .container {
        padding: 0 10px;
    }

    section{
        padding: 1rem 0 ;
    }


    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    p {
        font-size: 0.875rem;
    }

    .logo {
        font-size: 1rem;
    }

    .hero {
        padding: 1.5rem 0.75rem;
    }

    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .hero p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        gap: 0.75rem;
    }

    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }

    .section-title {
        margin-bottom: 2rem;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .about-preview-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-preview-image {
        order: -1;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-card p {
        font-size: 0.85rem;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .services-grid,
    .portfolio-grid,
    .testimonials-grid {
        gap: 1rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-card p {
        font-size: 0.85rem;
    }

    .contact-form {
        padding: 1rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.625rem;
        font-size: 0.875rem;
    }

    .footer {
        padding: 2rem 1rem 1rem;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .footer-section h3 {
        font-size: 1.1rem;
    }

    .footer-section p,
    .footer-section a {
        font-size: 0.85rem;
    }

    #cta {
        padding: 2rem 1rem !important;
    }

    #cta h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    #cta p {
        font-size: 1rem !important;
        margin-bottom: 1.5rem;
    }

    .process-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        margin-top: 1.5rem !important;
    }

    #design-philosophy > .container > div[style] {
        max-width: 100% !important;
        padding: 0 0.5rem;
    }

    #design-philosophy > .container > div[style] p {
        font-size: 0.875rem;
    }

    .privacy-popup {
        bottom: 5px;
        left: 5px;
        right: 5px;
        padding: 0.875rem;
    }

    .privacy-popup h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .privacy-popup p {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }

    .privacy-popup-buttons {
        gap: 0.5rem;
    }

    .privacy-popup-buttons .btn {
        padding: 0.625rem 1rem;
        font-size: 0.85rem;
    }
}

