@import url('https://fonts.googleapis.com/css2?family=Ojuju:wght@200..800&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Ojuju", sans-serif;
    line-height: 1.6;
    color: #3a2a38;
    background-color: #edd286;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    font-family: "Ojuju", sans-serif;
    font-weight: 600;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #edd286;
    backdrop-filter: blur(10px);
    z-index: 799;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    font-family: "Ojuju", sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #3a2a38;
}

.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-link {
    color: #3a2a38;
    font-weight: 400;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #785d11;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: #3a2a38;
    transition: 0.3s;
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    padding-bottom: 40px;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-left img {
    border-radius: 8px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 600;
    color: #3a2a38;
    line-height: 1.1;
    margin-bottom: 0;
}

.hero-description {
    font-size: 20px;
    line-height: 1.7;
    color: #323232;
    max-width: 500px;
    font-weight: 600;
}

.highlight {
    color: #785d11;
}

/* Portfolio Grid */
.portfolio {
    padding-bottom: 80px;
}

.portfolio-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 40px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.portfolio-item {
    border-radius: 8px;
    aspect-ratio: 1;
    transition: transform 0.3s ease;
    overflow: hidden;
    max-width: 100%;
}

.portfolio-item img {
    border-radius: 8px;
}

.portfolio-item:hover {
    transform: scale(1.02);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    max-width: 100%;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.carousel-prev,
.carousel-next {
    background: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

.carousel-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
}

/* Social Media Section */
.social-media {
    padding: 80px 0;
}

.social-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 40px;
}

.social-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.social-username {
    font-size: 24px;
    font-weight: 600;
    color: #3a2a38;
}

.follow-btn {
    background: #b38d67;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.follow-btn:hover {
    background: #9b4954;
    transform: translateY(-2px);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.social-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.social-item:hover {
    transform: scale(1.05);
}

.social-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
.footer {
    background: #ffeaaf;
    color: white;
    padding: 60px 0 40px;
    position: relative;
    margin-top: 100px;
}

.footer-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-copyright {
    color: #695727;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: clamp(36px, 12vw, 64px);
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .social-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .footer-social {
        gap: 20px;
    }

    .nav-container,
    .hero-container,
    .portfolio-container,
    .social-container,
    .footer-container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .social-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .carousel-nav {
        flex-wrap: wrap;
        gap: 15px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.portfolio-item,
.social-item {
    animation: fadeInUp 0.6s ease forwards;
}

.portfolio-item:nth-child(2),
.social-item:nth-child(2) {
    animation-delay: 0.1s;
}

.portfolio-item:nth-child(3),
.social-item:nth-child(3) {
    animation-delay: 0.2s;
}

.portfolio-item:nth-child(4),
.social-item:nth-child(4) {
    animation-delay: 0.3s;
}

.social-item:nth-child(5) {
    animation-delay: 0.4s;
}

/* Image Modal */
.image-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 10000;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

.image-modal.active {
	opacity: 1;
	visibility: visible;
}

.image-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.9);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.image-modal-content {
	max-width: 90vw;
	max-height: 90vh;
	object-fit: contain;
	border-radius: 8px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	cursor: default;
	transform: scale(0.8);
	transition: transform 0.3s ease;
}

.image-modal.active .image-modal-content {
	transform: scale(1);
}

.image-modal-close {
	position: absolute;
	top: 20px;
	right: 20px;
	background: rgba(255, 255, 255, 0.9);
	border: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	font-size: 20px;
	font-weight: bold;
	cursor: pointer;
	color: #333;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	transition: all 0.3s ease;
	z-index: 10001;
}

.image-modal-close:hover {
	background: white;
	transform: scale(1.1);
}
