/*==============================================================================
    Matthew & Vicky's Wedding Website

ORGANIZATION FOR SANITY

    1. Variables
    2. Global Reset
    3. Fonts
    4. Page Layout
	5. Page Stuff
    6. Hero / Save the Date
    7. FF UI Fun Stuff
    8. Forms
    9. Utilities
    10. Animations
    11. Mobile Shit
	12. Fun testing shit
==============================================================================*/

/*==============================================================================
    CHANGE LOG

    2026-07-11
        - Created reusable FF Window component
        - Added FFVII font
        - Added FF cursor
        - Responsive desktop/mobile images
        - Initial menu component

==============================================================================*/



/*==============================================================================
    1. VARIABLES
==============================================================================*/

:root{

    /*--------------------------------------------------
        Colors with the HEX
    --------------------------------------------------*/

    --background: #000000;

	--ff-blue-light: #2D35C7;
	--ff-blue-mid:   #16208E;
	--ff-blue-dark:  #09105F;

	--text-white:    #FFFFFF;
	--text-gray:     #D7D7D7;

	--border-light:  #D8D8D8;
	--border-dark:   #666666;


	/*--------------------------------------------------
		Theme Colors
	--------------------------------------------------*/

	--color-background: var(--background);

	--color-window-top:    var(--ff-blue-light);
	--color-window-middle: var(--ff-blue-mid);
	--color-window-bottom: var(--ff-blue-dark);

	--color-text:          var(--text-white);
	--color-text-muted:    var(--text-gray);

	--color-border-light:  var(--border-light);
	--color-border-dark:   var(--border-dark);

    /*--------------------------------------------------
        Fonts
    --------------------------------------------------*/

    --font-main: Arial, sans-serif;
	--font-ff: "Final Fantasy VII", Arial, sans-serif;
	
	/*--------------------------------------------------
    Font Sizes
	--------------------------------------------------*/

	--font-small: 0.875rem;
	--font-normal: 1rem;
	--font-large: 1.5rem;
	--font-title: 2rem;

    /*--------------------------------------------------
        Animation
    --------------------------------------------------*/

    --transition-fast: .15s;
	
	/*--------------------------------------------------
    Spacing
	--------------------------------------------------*/

	--spacing-small: 8px;
	--spacing-medium: 18px;
	--spacing-large: 28px;
	--spacing-menu: 16px;



/*--------------------------------------------------
    Layers (For Those Who Fight)

    Higher number = more important.
    If you reach 999999, rethink your life choices.

--------------------------------------------------*/

	--z-background: 1;
	--z-content: 100;
	--z-window: 500;
	--z-dialog: 1000;
	--z-modal: 5000;
	
}	
	
	


/*==============================================================================
    2. GLOBAL RESET
==============================================================================*/

html,
body{

    margin:0;
    padding:0;

    width:100%;
    height:100%;

    overflow:hidden;

   background:var(--color-background);

}

*,
*::before,
*::after{
    box-sizing:border-box;
}


/*==============================================================================
   quest card stuffs
==============================================================================*/

.quest-ceremony-info {
    text-align: center;
    margin: 1rem 0;
    line-height: 1.15;
    color: #ffffff;
}

.quest-ceremony-info strong:first-child {
    margin-bottom: .1rem;
}

.quest-ceremony-info strong:nth-of-type(2) {
    margin-bottom: .3rem;
}

.quest-ceremony-info a {
    color: #7ebcff;
    font-weight: bold;
    text-decoration: none;
}

.quest-ceremony-info a:hover {
    color: #a8d6ff;
    text-decoration: underline;
}

.quest-title {
    text-align: center;

    font-family: "Palatino Linotype", Palatino, Georgia, serif;
    font-size: 2.6rem;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: .12em;

    background: linear-gradient(
        to bottom,
        #fff8d5 0%,
        #f7dfa0 18%,
        #d9b867 42%,
        #b68f3e 60%,
        #efd789 82%,
        #fff8d5 100%
    );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    text-shadow:
        0 1px 0 rgba(80,60,20,.55),
        0 0 2px rgba(255,230,150,.15);

    margin: 0 auto 1rem;
}

.sparkle {
    display: inline-block;
    color: #fff4c2;
    font-size: 0.6em;
    margin: 0 .4em;

    animation: twinkle 2.5s infinite ease-in-out;
}

.sparkle:last-child {
    animation-delay: 1.2s;
}

@keyframes twinkle {
    0%, 100% {
        opacity: .2;
        transform: scale(.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}


/*==============================================================================
    3. FONTS
==============================================================================*/

@font-face{

    font-family: "Final Fantasy VII";

    src: url("fonts/Final_Fantasy_VII.ttf") format("truetype");

    font-display: swap;

}


body{

    font-family: var(--font-main);
    color:var(--color-text);

}

.ff-heading {
    font-family: "Final Fantasy VII", serif;
    font-weight: normal;
    line-height: 1.1;
    letter-spacing: 0.08em;
}

h1.ff-heading {
    font-size: 3.5rem;
    margin: 0 0 1rem 0;
}

h2.ff-heading {
    font-size: 3rem;
    margin: 0 0 1rem 0;
}

h3.ff-heading {
    font-size: 2.5rem;
    margin: 1rem 0 0rem 0
}

.heading-icon {
    width: 45px;
    height: 45px;
    margin-left: 0.5rem;
    object-fit: contain;
    flex-shrink: 0;
}

.heading-with-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/*==============================================================================
    4. PAGE LAYOUT
==============================================================================*/

body{

    display:flex;

    justify-content:center;
    align-items:center;

}



.page{

    display:flex;
    flex-direction:column;
    align-items:center;

    gap:var(--spacing-menu);

}



/*==============================================================================
    5. PAGE COMPONENTS
==============================================================================*/

/*------------------------------------------------------------------
    Page Logo
------------------------------------------------------------------*/

.page-logo{

    display:block;

    max-height: 260px;

    margin:20px auto 20px auto;
    
    filter:
        drop-shadow(0 0 10px rgba(160, 210, 255, 0.18))
        drop-shadow(0 0 24px rgba(160, 210, 255, 0.08));

}

.page-content{

    width:min(900px, 90vw);

    margin:30px auto 50px auto;

}


/*------------------------------------------------------------------
    Page Header
------------------------------------------------------------------*/

.page-header{

    display:flex;

    align-items:center;

    gap:48px;


}

.page-header-text{

    flex:1;

}


/*==============================================================================
    6. HERO / SAVE THE DATE
==============================================================================*/

picture{

    display:block;

}



img{

    display:block;

    max-width:100vw;
    max-height:80vh;

    width:auto;
    height:auto;

}





/*==============================================================================
    7. FINAL FANTASY UI BITS
==============================================================================*/

/*------------------------------------------------------------------
    FF Window
------------------------------------------------------------------*/

/* it's a rectangle and it is blue */

.ff-window{

    padding:2px;

	 display:inline-block;
		
    background:linear-gradient(
        to bottom,
        #d8d8d8,
        #7d7d7d
    );

}

.ff-window-inner{

    padding:2px;

    background:linear-gradient(
        to bottom,
        #ffffff,
        #555555
    );

}

.ff-window-content{

    padding:10px 16px;

    background:linear-gradient(
        to bottom,
        var(--color-window-top),
        var(--color-window-middle) 45%,
        var(--color-window-bottom)
    );

}

.ff-window:hover{

    filter:brightness(1.15);

    transition:.15s;

}

/*------------------------------------------------------------------
    FF Menu
------------------------------------------------------------------*/

.ff-menu{

    display:flex;

    justify-content:center;

    width:100%;

}

.ff-command-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.ff-status-command.ff-menu-command {
    background: none;
    padding-left: 52px;
}

.ff-status-command.ff-menu-command:hover {
    background: url("cursor.png") no-repeat 16px calc(50% + 5px);
    background-size: 24px;
}

/*------------------------------------------------------------------
    FF Menu Item
------------------------------------------------------------------*/

.ff-command{

    display:flex;

    align-items:center;

    gap:var(--spacing-small);

    color:white;

    text-decoration:none;
	
	font-family: var(--font-ff);

    font-size:30px;
	
	line-height:0.50;

}

/*span is needed because the font is stupid and lines up at the top and needs to be bumped down in order to play nice */

.ff-command span{

      transform: translateY(-5px);

}


/*------------------------------------------------------------------
    Selected Menu Item
------------------------------------------------------------------*/

.ff-selected{

}



/*------------------------------------------------------------------
    Cursor
------------------------------------------------------------------*/

.ff-pointer {

     width:24px;
    height:auto;

    position:relative;
    top:-1px;

    flex-shrink:0;


}





/*==============================================================================
    8. FORMS
==============================================================================*/

form{

}

.page-form{
    display:block;
    overflow-y:auto;

}

.form-group{

    display:flex;

    flex-direction:column;

    margin-bottom:24px;

}

/*------------------------------------------------------------------
    Form Container
------------------------------------------------------------------*/

/*------------------------------------------------------------------
    Form Row
------------------------------------------------------------------*/

.form-row{

    display:flex;

    align-items:flex-start;
    
    gap:16px;


}

.form-row label{

    white-space:nowrap;

    

}

.form-row .ff-input{

    flex:1;

}

.form-row .ff-textarea{

    flex:1;

}



.form-row .ff-label{

    width:90px;

    flex-shrink:0;

}


/*------------------------------------------------------------------
    Labels
------------------------------------------------------------------*/

.ff-label{

    font-family:var(--font-ff);

    color:var(--color-text);

    font-size:35px;

    line-height:0.9;

    position:relative;

    top:-4px;
    
        margin:0;

}


/*------------------------------------------------------------------
    Text Input
------------------------------------------------------------------*/

.ff-input{

    padding:10px 12px;

    background:#1b2270;

    border:1px solid #bfc5ff;

    color:var(--color-text);

    font-family:var(--font-main);

    font-size:var(--font-normal);

    outline:none;

    caret-color:white;

}

/*------------------------------------------------------------------
    Text Area
------------------------------------------------------------------*/

.ff-textarea{

    width:100%;

    min-height:140px;

    padding:10px 12px;

    background:#1b2270;

    border:1px solid #bfc5ff;

    color:var(--color-text);

    font-family:var(--font-main);

    font-size:var(--font-normal);

    resize:vertical;

    outline:none;

    caret-color:white;

}

.ff-textarea::placeholder{


    font-size:16px;

    color:rgba(255,255,255,.45);

}

.message-row .ff-label{

    position:relative;
    top:6px;

}

/*------------------------------------------------------------------
    Checkbox
------------------------------------------------------------------*/

.ff-status input{

    display:none;

}

.ff-status{

    display:flex;

    align-items:center;

    gap:12px;

    cursor:pointer;

    user-select:none;

    position:relative;
    top:4px;   /* Try 3px or 4px */
}

.ff-cursor{

    width:24px;
    height:24px;

    display:inline-block;

    background:url("cursor.png") no-repeat center;
    background-size:contain;

    opacity:.15;

    transition:opacity .15s ease;
    position:relative;

    top:1px;


}

.ff-status input:checked + .ff-cursor{

    border:none;

    background:url("cursor.png") no-repeat center;

    background-size:contain;
        opacity:1;

}

.ff-status:hover .ff-cursor{

    opacity:.5;

}

.ff-status span:last-child{

        font-family: var(--font-ff);

    font-size: 32px;   /* tweak until it matches */

    color: var(--color-text);

    line-height: .9;

    opacity: .7;

    transition: opacity .15s ease;


}

.ff-status input:checked ~ span:last-child{

    opacity:1;

}

.ff-status-container{

    flex:1;

}


.ff-status-command{

    background:
        url("cursor.png") no-repeat 16px calc(50% + 5px);

    background-size:24px;

    border:none;

    padding:0 24px 0 52px;

    height:40px;

    cursor:pointer;

    font-family:var(--font-ff);
    font-size:35px;
    line-height:.9;

    color:var(--color-text);

    opacity:.7;

    transition:opacity .15s ease;
    
        text-decoration: none;

}

.ff-status-command:hover{

    opacity:1;

}

.form-submit-command{

    display:flex;

    justify-content:center;

    margin-top:28px;

}


/*==============================================================================
    9. Utilities
==============================================================================*/

.hidden{

    display:none;

}

.flex{
    display:flex;
}

.flex-column{
    display:flex;
    flex-direction:column;
}

.flex-center{
    display:flex;
    justify-content:center;
    align-items:center;
}


.center{

    text-align:center;

}



.text-center{
    text-align:center;
}


/*==============================================================================
    10. ANIMATIONS
==============================================================================*/

@keyframes fadeIn{

    from{

        opacity:0;

    }

    to{

        opacity:1;

    }

}





/*==============================================================================
    11. MOBILE SHIT FOR PHONES AND STUFF
==============================================================================*/

/* Hero */

@media (max-width:768px){

}

/* FF Menu */

@media (max-width:768px){

    .ff-command{

        font-size:26px;

        line-height:0.65;

    }

    .ff-command span{

        top:8px;

    }
    
    .page-logo {
        margin: 20px auto -39px auto;
    }
    
    .quest-title {
        font-size: 1.5rem;
    }
    
    .sparkle {  margin: 0 0.2em;}

}

/* Forms */

@media (max-width:768px){
    
    .heading-icon {
    width: 28px;
    height: 28px;
}

h1.ff-heading,
h2.ff-heading,
h3.ff-heading {
    font-family: var(--font-main);
    font-weight: bold;
    letter-spacing: normal;
    line-height: 1.2;
}

h1.ff-heading {
    font-size: 2rem;
}

h2.ff-heading {
    font-size: 1.75rem;
}

h3.ff-heading {
    font-size: 1.25rem;
}

}

/*Page Header*/

@media (max-width:768px){

    .page-header{

        flex-direction:column;

        text-align:center;

    }

}

/*==============================================================================
    DEV / TESTING

    Random crap goes here while experimenting.
    If it works, move it to the right category above. If it don't work, burn it.

==============================================================================*/