general {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #000000;
    background-color: #d6d2d9;
}

.navbar {
    background-color: #a1a93d;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 10px; color:#3d2624;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: #711E50;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color:#3d2624 ;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #d6d2d9;
}

main {
    min-height: calc(100vh - 200px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    color: #3d2624;
}

.about-content {
max-width: 1500px;
    margin: 0 auto;
    padding: 2px 2px;
    color: #711E50;
}

.hero {
    background: url('DigitalArt_OrangeGrove.jpeg') center center / cover no-repeat;
    color: #d6d2d9;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
    text-align: center;
    position: relative;
    border-top: 15px solid #711E50; 
    border-bottom: 15px solid #711E50;
    border-left: 15px solid #711E50;
    border-right: 15px solid #711E50;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.hero-content {
    position: relative;
    max-width: 900px;
    z-index: 1;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background-color: #711E50;
    color: #a1a93d;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px #3d2624;
}

.intro-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #3d2624;
}

.intro-section p {
    font-size: 1rem;
    color: #a1a93d;
    margin-bottom: 2rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: #711E50;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.card h3 {
    color: #d6d2d9;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.card p {
    color: #a1a93d;
    margin-bottom: 1.5rem;
}

.card a {
    color: #d6d2d9;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.card a:hover {
    color: #a1a93d;
}


.form-section {
    background: #711E50;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.form-section h3 {
    color: #d6d2d9;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #000000;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: #8434d5;
    box-shadow: 0 0 5px rgba(102, 126, 234, 0.2);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

button {
    background-color: #711E50;
    color: #d6d2d9;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #8434d5;
}

.form-note {
    font-size: 0.9rem;
    color: #a1a93d;
    font-style: italic;
}

.comments-section {
    margin-top: 3rem;
}

.comments-section h3 {
    color: #3d2624;
    margin-bottom: 1.5rem;
}

.comment {
    background: #a1a93d;
    padding: 1.5rem;
    border-left: 4px solid #711E50;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.comment-author {
    font-weight: bold;
    color: #3d2624;
    margin-bottom: 0.5rem;
}

.comment-text {
    color: #711E50;
    margin-bottom: 0.5rem;
}

.comment-date {
    font-size: 0.85rem;
    color: #000000;
}

.about-layout {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    margin-left: 2px;
    margin-right: 2px;
}

.about-image {
    width: 400px;
    height: 620px;
    flex-shrink: 0;
    border-radius: 1px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-top: 50px;
    margin-right: 20px;
}

.about-text-column {
    flex: 1;
}

.footer {
    background-color: #a1a93d;
    color: #3d2624;
    text-align: center;
    padding: 1rem 20px;
    margin-top: 2rem;
}


.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.portfolio-item {
    background: #711E50;
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px #3d2624;
}

.portfolio-item-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
    background: #a1a93d;
    position: relative;
}

.portfolio-item:nth-child(3) .portfolio-item-image {
    background: url('FromTheOutside.png') center center / cover no-repeat;
}

.portfolio-item:nth-child(5) .portfolio-item-image {
    background: url('KineticFlowerpic.png') center center / cover no-repeat;
}

.portfolio-item-image img,
.portfolio-item-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portfolio-item-image video {
    cursor: pointer;
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 1;
}

.portfolio-item:hover .play-button-overlay {
    opacity: 0;
}

.portfolio-item-content {
    padding: 0 0.5rem 0.75rem;
}

.portfolio-item-content h3 {
    color: #d6d2d9;
    margin-bottom: 0.5rem;
}

.portfolio-item-content p {
    color: #a1a93d;
}

/* Portfolio hero gallery */
.clean-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-top: 0.5rem;
    padding: 0;
}

.clean-portfolio-grid .portfolio-item {
    background: linear-gradient(135deg, #711E50 0%, #3d2624 100%) !important;
    padding: 0 !important;
    border-radius: 24px !important;
    box-shadow: 0 16px 40px rgba(61, 38, 36, 0.22) !important;
    transform: none !important;
    display: block !important;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    min-height: 320px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.clean-portfolio-grid .portfolio-item:hover,
.clean-portfolio-grid .portfolio-item:focus-visible {
    transform: translateY(-5px) scale(1.01) !important;
    box-shadow: 0 20px 44px rgba(61, 38, 36, 0.32) !important;
}

.clean-portfolio-grid .portfolio-item-image {
    width: 100%;
    height: 100%;
    min-height: 320px;
    overflow: hidden;
    border-radius: 24px !important;
    background: #3d2624 !important;
    padding: 0 !important;
    position: relative;
    display: block;
}

.clean-portfolio-grid .portfolio-item-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.55) 100%);
    pointer-events: none;
}

.clean-portfolio-grid .portfolio-item-image img,
.clean-portfolio-grid .portfolio-item-image video {
    width: 100% !important;
    height: 100% !important;
    min-height: 320px;
    object-fit: cover !important;
    display: block !important;
    border: none !important;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.clean-portfolio-grid .portfolio-item:hover .portfolio-item-image img,
.clean-portfolio-grid .portfolio-item:hover .portfolio-item-image video,
.clean-portfolio-grid .portfolio-item:focus-visible .portfolio-item-image img,
.clean-portfolio-grid .portfolio-item:focus-visible .portfolio-item-image video {
    transform: scale(1.05);
    filter: brightness(0.9) saturate(1.05);
}

.portfolio-card-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.25rem;
    z-index: 2;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.88));
    color: #f8f6f8;
    pointer-events: none;
}

.portfolio-card-caption span {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.portfolio-card-caption small {
    display: block;
    margin-top: 0.35rem;
    color: #d6d2d9;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.clean-portfolio-grid .portfolio-item-content {
    display: none !important;
}

.clean-portfolio-grid .play-button-overlay { display: none !important; }


.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
}

.contact-info-box {
    background: #711E50;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-info-box h3 {
    color: #3d2624;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}

.contact-info-box h3:first-child {
    margin-top: 0;
}

.contact-info-box p {
    color: #a1a93d;
    margin-bottom: 1.5rem;
}

.contact-info-box a {
    color: #d6d2d9;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-box a:hover {
    color: #a1a93d;
}

.services-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}
.services-table th, .services-table td {
    border: 3px solid #711E50;
    padding: 0.75rem 1rem;
    text-align: left;
}
.services-table th {
    background: #3d2624;
    color: #a1a93d;
}
.services-table tr:nth-child(even) {
    background: #d6d2d9;
}

/* Modal Styles */
.portfolio-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
}

.modal-content {
    background-color: #d6d2d9;
    margin: 5% auto;
    padding: 1.5rem;
    border: 3px solid #711E50;
    border-radius: 20px;
    width: min(90%, 760px);
    max-height: 85vh;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    position: relative;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.28);
}

.close-modal {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    color: #711E50;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #a1a93d;
}

.modal-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 500px;
    overflow: hidden;
    border-radius: 4px;
}

.modal-image-container img,
.modal-image-container video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.modal-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-right: 2rem;
}

.modal-info h2 {
    color: #711E50;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.modal-info h3 {
    color: #a1a93d;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.modal-info p {
    color: #3d2624;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.modal-info p:last-child {
    color: #711E50;
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: auto;
}

/* Responsive modal */
@media (max-width: 768px) {
    .modal-content {
        grid-template-columns: 1fr;
        width: 95%;
        margin: 20% auto;
        padding: 1.5rem;
    }

    .modal-info {
        padding-right: 0;
    }

    .close-modal {
        right: 1rem;
        top: 0.5rem;
    }
}
