/*
 * Hornsian Micheal - Main Stylesheet
 * Modern, high-end design with full mobile responsiveness
 * SEO-optimized for Google
 */

/* ===== Base Styles & CSS Reset ===== */
:root {
    /* Main color scheme - orange/red gradient theme */
    --color-primary: #FF3366;        /* Primary Magenta */
    --color-primary-dark: #D81B60;   /* Darker Magenta */
    --color-secondary: #FF9500;      /* Orange Accent */
    --color-secondary-dark: #F57C00; /* Darker Orange */
    --color-bg: #0A0A0A;             /* Near Black Background */
    --color-bg-light: #111111;       /* Slightly Lighter Background */
    --color-bg-card: #171717;        /* Card Background */
    --color-text: #FFFFFF;           /* White Text */
    --color-text-muted: #9E9E9E;     /* Muted Text */
    --color-border: #2D2D2D;         /* Border Color */
    
    /* Fonts */
    --font-primary: 'Nunito', sans-serif;
    --font-heading: 'Playfair Display', serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%; /* 1rem = 10px */
    scroll-behavior: smooth;
    scroll-padding-top: 8rem;
}

body {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

h1 {
    font-size: 6rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 4.2rem;
    font-weight: 800;
}

h3 {
    font-size: 3rem;
}

h4 {
    font-size: 2.4rem;
}

p {
    margin-bottom: var(--space-md);
    font-size: 1.8rem;
}

a {
    color: var(--color-text);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary);
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-header h2 {
    display: inline-block;
    position: relative;
    margin-bottom: var(--space-sm);
}

.section-header h2::after {
    content: '';
    position: absolute;
    height: 4px;
    width: 8rem;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 2rem;
    max-width: 60rem;
    margin: 0 auto;
}

section {
    padding: var(--space-xl) 0;
    position: relative;
}

.btn {
    display: inline-block;
    padding: 1.5rem 3.5rem;
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0.3rem;
    background-color: var(--color-primary);
    color: var(--color-text);
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    border: none;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--color-secondary);
    transition: all var(--transition-medium);
    z-index: -1;
}

.btn:hover {
    color: var(--color-text);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn:hover::before {
    width: 100%;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-primary);
}

.btn-sm {
    padding: 0.8rem 2rem;
    font-size: 1.4rem;
}

.highlight {
    background: linear-gradient(120deg, var(--color-primary), var(--color-secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline;
}

/* ===== Header & Navigation ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 0;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all var(--transition-fast);
}

header.scrolled {
    padding: 1rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
}

.logo-svg {
    height: 4.8rem;
    width: auto;
    margin-right: var(--space-sm);
    transition: height var(--transition-fast);
}

header.scrolled .logo-svg {
    height: 4rem;
}

nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-menu li a {
    font-size: 1.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    bottom: 0;
    left: 0;
    transition: width var(--transition-medium);
}

.nav-menu li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    height: 2rem;
    cursor: pointer;
    background: none;
    border: none;
}

.menu-toggle span {
    display: block;
    width: 3rem;
    height: 2px;
    background-color: var(--color-text);
    transition: all var(--transition-fast);
}

/* ===== Hero Section ===== */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    padding: var(--space-xl) 0;
    overflow: hidden;
}

.hero-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(255, 51, 102, 0.2), transparent 60%),
                radial-gradient(circle at 30% 70%, rgba(255, 149, 0, 0.2), transparent 60%);
    z-index: -1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: var(--space-lg);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 60rem;
}

.hero-content h1 {
    margin-bottom: var(--space-md);
}

.hero-content p {
    font-size: 2.2rem;
    margin-bottom: var(--space-lg);
    color: var(--color-text-muted);
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
}

.hero-visual {
    position: relative;
    height: 40rem;
}

.visual-element {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40rem;
    height: 40rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 51, 102, 0.1), rgba(255, 149, 0, 0.1) 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 8s infinite alternate;
}

.visual-element::before, 
.visual-element::after {
    content: '';
    position: absolute;
    border-radius: 50%;
}

.visual-element::before {
    width: 30rem;
    height: 30rem;
    border: 2px solid rgba(255, 51, 102, 0.3);
    animation: rotate 20s linear infinite;
}

.visual-element::after {
    width: 20rem;
    height: 20rem;
    border: 2px solid rgba(255, 149, 0, 0.3);
    animation: rotate 15s linear infinite reverse;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(0.9); }
    100% { transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== About Section ===== */
.about {
    background-color: var(--color-bg-light);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(255, 51, 102, 0.05));
    z-index: 0;
}

.about-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.stat {
    padding: var(--space-md);
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    text-align: center;
    transition: all var(--transition-fast);
    border-radius: 0.5rem;
}

.stat:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.stat h3 {
    font-size: 4rem;
    margin-bottom: var(--space-xs);
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat p {
    margin-bottom: 0;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-muted);
}

/* ===== Portfolio Section ===== */
.portfolio {
    background-color: var(--color-bg);
    position: relative;
}

.portfolio::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(0deg, rgba(255, 149, 0, 0.05), transparent);
    z-index: 0;
}

.portfolio-items {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
    gap: var(--space-lg);
}

.portfolio-item {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    transition: all var(--transition-fast);
    border-radius: 0.5rem;
    overflow: hidden;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.item-visual {
    height: 20rem;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-secondary-dark));
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}

.portfolio-item:nth-child(1) .item-visual {
    background: linear-gradient(135deg, #FF3366, #FF9500);
}

.portfolio-item:nth-child(2) .item-visual {
    background: linear-gradient(135deg, #D81B60, #F57C00);
}

.portfolio-item:nth-child(3) .item-visual {
    background: linear-gradient(135deg, #C2185B, #FB8C00);
}

.portfolio-item:nth-child(4) .item-visual {
    background: linear-gradient(135deg, #AD1457, #FF9100);
}

.item-category {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    background-color: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
}

.item-visual h3 {
    color: var(--color-text);
    margin-bottom: 0;
    font-size: 2.4rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.item-content {
    padding: var(--space-md);
}

.item-content p {
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

/* ===== Entertainment Section ===== */
.entertainment {
    background-color: var(--color-bg-light);
    position: relative;
}

.entertainment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

.entertainment-links {
    position: relative;
    z-index: 1;
}

.link-category {
    margin-bottom: var(--space-lg);
}

.link-category h3 {
    margin-bottom: var(--space-md);
    color: var(--color-secondary);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-border);
    font-size: 2.4rem;
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
    gap: var(--space-sm);
}

.link-grid li a {
    display: block;
    padding: var(--space-sm) var(--space-md);
    background-color: var(--color-bg-card);
    border-left: 3px solid var(--color-primary);
    border-radius: 0 0.3rem 0.3rem 0;
    transition: all var(--transition-fast);
    font-size: 1.5rem;
    font-weight: 600;
}

.link-grid li a:hover {
    background-color: rgba(255, 51, 102, 0.1);
    transform: translateX(5px);
    color: var(--color-secondary);
}

/* ===== Events Section ===== */
.events {
    background-color: var(--color-bg);
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.event {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    transition: all var(--transition-fast);
}

.event:hover {
    transform: translateY(-3px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 0.5rem;
    min-width: 8rem;
    aspect-ratio: 1;
}

.event-date .month {
    font-size: 1.4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-date .day {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: var(--color-text);
}

.event-details {
    flex: 1;
}

.event-details h3 {
    margin-bottom: 0.5rem;
    font-size: 2.2rem;
}

.event-location {
    color: var(--color-secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.event-desc {
    color: var(--color-text-muted);
    margin-bottom: 0;
}

.event-action {
    align-self: center;
}

/* ===== Contact Section ===== */
.contact {
    background-color: var(--color-bg-light);
    position: relative;
}

.contact::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30%;
    height: 50%;
    background: radial-gradient(circle, rgba(255, 51, 102, 0.1), transparent 70%);
    z-index: 0;
}

.contact-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem var(--space-md);
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 0.3rem;
    color: var(--color-text);
    font-size: 1.6rem;
    font-family: var(--font-primary);
    transition: all var(--transition-fast);
}

.form-group label {
    position: absolute;
    top: 50%;
    left: var(--space-md);
    transform: translateY(-50%);
    font-size: 1.6rem;
    color: var(--color-text-muted);
    pointer-events: none;
    transition: all var(--transition-fast);
}

.form-group textarea ~ label {
    top: 1.2rem;
    transform: translateY(0);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group input:not(:placeholder-shown),
.form-group textarea:not(:placeholder-shown) {
    border-color: var(--color-primary);
    outline: none;
    padding-top: 2rem;
    padding-bottom: 0.4rem;
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: 0.8rem;
    left: var(--space-md);
    font-size: 1.2rem;
    color: var(--color-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 15rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.info-item h3 {
    margin-bottom: var(--space-sm);
    color: var(--color-secondary);
}

.info-item p {
    margin-bottom: var(--space-xs);
    color: var(--color-text-muted);
}

.info-item a {
    color: var(--color-text);
    font-weight: 600;
}

.info-item a:hover {
    color: var(--color-primary);
}

.social-links {
    display: flex;
    gap: var(--space-sm);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-text);
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* ===== Footer ===== */
footer {
    background-color: var(--color-bg);
    padding: var(--space-lg) 0 var(--space-md);
    border-top: 1px solid var(--color-border);
}

.footer-top {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo svg {
    height: 6rem;
    width: auto;
    margin-bottom: var(--space-sm);
}

.footer-logo p {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.footer-links h4 {
    margin-bottom: var(--space-md);
    color: var(--color-secondary);
    font-size: 1.8rem;
}

.footer-links ul li {
    margin-bottom: var(--space-sm);
}

.footer-links ul li a {
    color: var(--color-text-muted);
    transition: all var(--transition-fast);
    position: relative;
}

.footer-links ul li a::before {
    content: '>';
    opacity: 0;
    margin-right: 0;
    transition: all var(--transition-fast);
}

.footer-links ul li a:hover {
    color: var(--color-text);
    padding-left: 1.5rem;
}

.footer-links ul li a:hover::before {
    opacity: 1;
    margin-right: 0.5rem;
}

.footer-bottom {
    padding-top: var(--space-md);
    text-align: center;
    color: var(--color-text-muted);
    border-top: 1px solid var(--color-border);
}

/* ===== Mobile Responsive Styles ===== */
@media screen and (max-width: 1024px) {
    html {
        font-size: 58%;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        text-align: center;
        max-width: 80rem;
        margin: 0 auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        text-align: center;
    }
    
    .footer-logo {
        align-items: center;
    }
    
    .footer-nav {
        grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 56%;
    }
    
    h1 {
        font-size: 4.8rem;
    }
    
    h2 {
        font-size: 3.6rem;
    }
    
    section {
        padding: var(--space-lg) 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 40rem;
        height: 100vh;
        background-color: var(--color-bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all var(--transition-medium);
        z-index: 1000;
        padding: var(--space-lg) var(--space-md);
        gap: var(--space-lg);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .event {
        grid-template-columns: auto 1fr;
    }
    
    .event-action {
        grid-row: 2;
        grid-column: 1 / -1;
        display: flex;
        justify-content: flex-end;
    }
}

@media screen and (max-width: 576px) {
    html {
        font-size: 52%;
    }
    
    .stat {
        padding: var(--space-sm);
    }
    
    .portfolio-items,
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .event {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .event-date {
        justify-self: center;
        margin-bottom: var(--space-sm);
    }
    
    .event-action {
        justify-content: center;
    }
}
